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
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
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/
/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
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
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
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.
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
The command is as follows:Df-h Directory NameUse the following example: see which partition the/home/sxd/document is in--------------------------------------------------------------------------------------------------------------- -------------------
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
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
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,
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
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.
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
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.
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 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
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