Self-study Linux instruction analysis-vi1 · command formatVI file-listVI "file name"2. Command functionThe VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors.3. How to
The first two days of learning about 30 commands, most of the commands are basically familiar.Last weekend's homework a bit of a problem, first into the workplace new, do things or not careful.Wang always gave a lot of advice, but also taught me a
Linux often uses a command, such as make && do install, which can also be used here; Make install, then execute the command in Linux; What's the difference between &&?Multiple commands are executed at the same time, and we deal with them by multiple
Because the customer is a state-owned enterprise, and a one-time purchase of 14 servers (16 cores), 14 in the first 8 units, of which LVS use 5, NFS one mainly for the sharing of the web system (multiple computers 1.5T of hard disk capacity wasted).
Restart the NICService Network restartShutting down the firewallPermanently shut down the firewall (it will work the next time the machine starts):Chkconfig iptables offPermanently shut down the firewall (effective immediately):Service Iptables
The frequently used operation in Linux system2017-04-08 12:48:091. Mount the hard disk:#: Fdisk-l percent Use this operation to check how many and what disk it found in the computer.#: mkdir yidongyingpan percent mkdir a new file as the location to
In Linux input device keyboard, touch screen, mouse, etc. can be used in the input subsystem to achieve the drive. The input subsystem is divided into three layers, the core layer and the device driver layer. The event layer. The core layer and the
8. Control of System Services1.systemdSystem Initialization program, the first process that the system starts,the PID is 12.systemctl commandSystemctl list-units # #列出当前系统服务的状态650) this.width=650; "src="
The total meaning of the command in 1.ls-lThe file system determines the size of the block when it is formatted, each block can hold only one file, for example, only 3 K, which will occupy a 4K block, other files can not occupy the remaining 1K
NFS is a network file system that enables management of remote file systems with the help of RPC (remote procedure Call). The client that provides the RPC service in centos6.5 is Rpcbind. 1. Install start NFSInstall NFS service via Yum-y
1 Date command, display system date, display in format, date +%y-%m-%d 2 Cal command, display calendar, Cal month Year Cal 2 2017 3 BC Simple and useful calculator 4 Common Hotkey tab, CTRL + C, ctrl+dThe TAB key has the function of command
LVM is a logical mechanism for the management of disk partitions in Linux system, which is built on the hard disk and partition, a logical layer under the file system, to block the partition layout of the lower layer when the file system is set up,
Today login Zabbix Monitoring Web page when found very card, log in to the system after, through top, CPU has 100%, there is a process called Httpds occupy, the first reflection is the system was invaded, the following records the process, only for
Knowledge point 1: Positional parameters position parameter :#/tmp/tesh.sh 3 89 $: script itself $: The first parameter of a script $: second argument to script .... Example : Any given two integers, sum, difference,
One: Temporary configuration network (IP, gateway, DNS) + permanent configurationPersistent settingsSecond: Set the host name for the machine in the cluster, use the/etc/hosts file to parse all the host names in the cluster, and the configuration of
The door to O & M1. teaching environment 2. Cloud computing concept 3. Jobs and content 4. Introduction to linux Systems 5. shell concept 6. linux basic command man/help/info/pwd/cd/ls/ mkdir/stat/touch/rm/copy/mv/echo/cat/less/more/tty/pipe 7.
[Original] PM2 enables nodejs applications to start with the system, pm2nodejs
1. Installation
Npm install pm2-gd
2. Start
Pm2 start./bin/www
3. pm2 save
4. pm2 startup
5. pm2 save
Note: There are several pitfalls in the above steps:
1.
Use sudo to prompt that the user is not in the sudoers file. sudosudoers
Switch to the root user[Linux @ localhost ~] $ Su rootPassword:[Root @ localhost ~] #
2View/etc/sudoers file permissions. If you have read-only permissions, change to
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