In the virtual machine to do experiments, need to swap large, below to share a simple Add method, it should be noted that the specific file directory is located whereRun: free-m, can query physical memory size and swap space size, swap space should
First, tail command syntaxtail [-f] [-c number |-N number |-M number |-B number |-K number] [File]Parameter explanation:-F This parameter is used to monitor file growth.-c number reads the specified file from the number byte location-N number reads
1. Download Sphinx Source Packagehttp://sphinxsearch.com/downloads/current/Copy link address in Xshell terminal use: wget http://sphinxsearch.com/files/sphinx-2.3.1-beta.tar.gz Note: It is generally downloaded to the/USR/LOCAL/SRC directory (I
PWD Display work pathls to view the files in the directorycd/home Enter '/home ' directory 'CD: Return to the top level directoryCD.. /.. Return to the top level two directorymkdir dir1 Create a directory called ' Dir1 'rm-f file1 Delete a file
1. View files that occupy more than 1000M of space[[email protected] soft]# find / -type f -size +1000M -exec du -h {} \;0 /proc/kcorefind: ‘/proc/30739’: No such file or directoryfind: ‘/proc/35518/task/35518/fdinfo/5’: No such file or
1. Management Server Common commands
1. View online users: Who | Grep–v Root
2. Partition usage: df–h
3. View memory Information: free–m
4. View current time: Date
5. Write all events to the message:/bin/date >> Mail.cron
1. Download Xampp https://www.apachefriends.org/zh_cn/download.html or http://sourceforge.net/projects/xampp/files/XAMPP% 20linux/1.8.3/2.chmod-r 755 Xampp-linux-x64-7.2.8-0-installer.run3./opt/lampp/lampp start4. Not every time you start with the
First, installationSince many times are installed without the network, so download RPM package to install, I here environment is as follows:System: Redhat Enterprise 6.5VSFTPD installation package: vsftpd-3.0.2-21.el7.x86_64.rpm1. Installationrpm
Recently, the newly built Amazon EC2 Server, which deploys a static web, initiates an nginx proxy. Recently found a problem:Nginx process interval time on the inexplicable hang off, and then there is the site can not open the dilemma.To prevent this
1. Two ways to turn off SELinuxSetenforce 0Modify the/etc/selinux/config file to set selinux=disabled, and then restart the server.-----------------------------------------------------------------------------------------------------2. The user is
1:top command to view CPU usage. (because top is a real-time refresh, memory consumption is larger)P: In descending order of CPU usageM: In descending order of memory utilization2:free command to view memory usageFree-m in units of MFree-h in G3:
1.bios: A program on the motherboard that determines which piece of boot media the computer reads the operating system from.2. HDD minimum unit is sector, a sector 512byte, the computer starts the first read sector called "Master Boot Record" (MBR),
System startup processBOIS (Basic input/output System) basic input/output system: The interface between hardware and software, and is a very basic interface.Grub (Grand Unified BootLoader) Multi-os launcher:/etc/grub.conf Here's a grub.conf more
Packaging compressionWindows:. rar. zipWinRAR zip 7zip good pressurelinux:.tar.gz. tar.bz2. zip. xzGzip bzip2 and tar (packaged)Packaged:#tar CVF File.tar Packaged files ...#tar CVF Abc.tar a b c d EC CreateV VerboseF fileUnpack#tar xvf packaging
Requirements background:1, create 2 accounts to the system used by the user to read the file information provided by our server. Only allowed to see the qualified directory, the file under the directory only read-only permissions, prohibit shell
Ext.: http://www.wowotech.net/linux_kenrel/233.htmlLinux kernel Memory recovery mechanismItrocker Released: 2015-11-12 20:37 Category: Memory managementNo matter how much memory is available on the computer, Linux kernel needs to recycle some of the
Most of the machines are made of RAID5 and RAID10, respectively made VD1:100G,VD2: the remaining capacity (greater than 2T). For the mounting of disks larger than 2T, you can refer to the following methods: 1, parted partitionparted/dev/Sdbgnu
PM2 list: List All programs launched in PM2 modePM2 Monit: Shows CPU and memory usage per applicationSCP: Remote replication and local upload for local SSH login to remote serverSCP [Email
First, write the scriptWrite a script file that enables the script to execute the backup command.For example, the file directory/home/backups/balalala is backed up to the/home directory and compressed.1. Create a scriptCommand format: Touch
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