Linux Add swap partition file

Create a file to be a swap partitionTo increase the 1GB size of the swap partition file, the command is as follows, where count equals the number of blocks you want (bs*count= file size).if=/dev/zero of=/root/swapfile bs=1m count=1024x768format to

Modify the. bash_profile file under Linux to change the value of the PATH variable

Linux contains two important files/etc/profile and $home/.bash_profile each time the system logs on to read these two files, used to initialize the system to use variables, where/etc/profile is used by the superuser, $HOME/. Bash_profile are

Linux Mail tool sendemail aging Super good

Download: http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gzInstallation method:1 ) Extract The package decompression Pack -zxvf sendemail-v1. XX.tar.gz2) Copy the SendEmail script to/usr/local/bin copying command scripts

Linux Common commands

aop

CD: Enter a directoryTAB key: Auto-complete codeCopy: Just select the content you want to copyPaste: Right mouse buttonProject Package Backup: TAR-ZCVF ggpt (project name). tar.gz20170914 (date ID) ggpt (project name)Decompression: Unzip-o/home/webs/

Linux User Management

/etc/skel User Environment variables, when a user is added, copies the files of that directory to the user's home directory. If you write a file in this directory, the new user's home directory will be synchronized past. /etc/login.defs User Login

Linux installation JDK

First, import the JDK into LinuxI created a JDK folder that was placed in the/user/local/src/terrified path display is/USER/LOCAL/SRC/JDK(View the path of the file using PWD)Two installation softwareTAR-ZXVF jdk-7u75-linux-x64.tar.gzThree

Introduction to Linux interprocess communication

I only do the profile. Transferred from: http://www.linuxidc.com/Linux/2013-06/85904p2.htmpiping (pipe):(Linux interprocess communication) A pipeline is a half-duplex method of communication in which data can only flow in one direction and

Introduction to the Linux cluster architecture

The ▎ is divided into two main categories according to function: Highly Available Load Balancing 650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/06/35/wKiom1mz3Abjjq9cAAB_mTVjX1A413.jpg-wh_500x0-wm_ 3-wmp_4-s_3014690292.

The use of crontab under Linux

Before the use of Linux crontab, today changed to Ubuntu on a lot of small pits, summed up today.Crontab is installed by default in Ubuntu, and we use the crontab to edit the command directly:The result appeared this page, then the first reaction is

View directory partition under "Linux" Linux

The command is as follows:Df-h Directory NameUse the following example: see which partition the/home/sxd/document is in--------------------------------------------------------------------------------------------------------------- -------------------

Linux adds line numbers to VI files

Method One:1, display the current line number, in the VI command mode input: Nu2, display all line numbers, in the VI command mode input: Set NuMethod Two:Using VI to edit the ~/.VIMRC file, add a line "set Nu" to the file, adding the contents

Linux Ngix Installation

Because I completely follow the first reference article from the top to the next step installation caused some installation failure last reload, the process a bit messy, did not own summary please read the follow articlesLinux installation Nginx

VMware link Linux virtual machines

Recently started to learn Linux, I feel that every time you switch from the desktop to the virtual machine also need to press "Alt+ctrl". Very troublesome, so I want to use SSH to connect the virtual machine so that you can not switch frequently,

JDK Installation for Linux

Mkdir/usr/javaCd/usr/javaDownload the latest JDK from our websiteHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlAnd then upload it to the/usr/java.Cd/usr/javaRZ Find your path to download jdk from windowAnd then

---------of the kernel compilation and LFS production of Linux

Kernel composition, kernel optimization, kernel compilation steps: Development environment, hardware information, expand to source tree, memory feature set, compileScreen : On one terminal, multiple use interfaces are opened for multiple processes.

How to optimize Linux systems

1. Compact installation When installing the system (minimized installation)2. Configure the domestic high-speed Yum source.3. Disable boot-up services that are not required.4. Optimize system kernel parameter/etc/sysctl.conf.5. Add configuration

Multithreaded programming under Linux

ret = Pthread_create (&id,null, (void*) readthread,null);if (ret!=0){printf ("Creat pthread id1 Error:%s (errno:%d) \ n", Strerror (errno), errno);}Create a threadHeader file:#include int Pthread_create (pthread_t *thread, const pthread_attr_t *attr,

Automatic Installation of Linux system based on network and automation of linux System

Automatic Installation of Linux system based on network and automation of linux System Installing an operating system is very troublesome for ordinary people. For a professional, it should be very easy. However, this situation is limited to a

Use a supervisor to manage processes.

Use a supervisor to manage processes. Supervisor (http://supervisord.org) is a process management tool written in Python that can be easily used to start, restart, and close processes (not just Python processes ). In addition to controlling a single

Linux memory descriptor mm_struct, linux character mm_struct

Linux memory descriptor mm_struct, linux character mm_struct Linux involves many aspects of memory management. This article begins with the management of virtual address spaces of processes. (The code is 2.6.32.60)Whether it is a kernel thread or a

Total Pages: 5467 1 .... 5318 5319 5320 5321 5322 .... 5467 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.