1. Add Users[Email protected] testdir]# Useradd–helpUsage:useradd [Options] LOGINOptions:-b,–base-dir Base_dir Set the base path as the user's logon directory-c,–comment comment comments to the user-d,–home-dir Home_dir Setting the user's login
A process is an entity that a program runs, and a child process (thread) under a process.Process StatisticsTo start the process statistics, you must first prepare the Accton recorded files
touch /var/log/pacct #创建记录所用的文件
accton /var/log/pacct #
The structure of the directory begins with/starts, called the root directory, and the Linux directory structure is like an inverted tree structure.(image from "Linux is this stylish" Zhao Xinlei, Zhang Jie)
Folder Description Binbinary files for
1. View total space usage: DF-HL2. Check the contents of the Linux system, folder size and usage, first switch to the directory you need to view, if you need to see all the Linux directory usage, switch directly to the system and directory, and then
Port:Number of ports: 0-2^16-1 (0-65535) → restricted by TCP, UDP protocol headerftp:20 21Ssh:22Telnet:23dns:53http:80→https:443Smtp:25pop3:110Netstat-an #列出当前的所有网络连接状态-A: Lists all connection statuses, including Tcp/udp/unix sockets-N: Displays the
Recently in the study of Linux, Daoteng a half-day. Finally, the JDK is installed, write a blog record, the key is the JDK environment variable configuration and save theI used the SECURECRT to connect Linux, and then securecrt on the command, about
This time continue to learn Linux basic commands, including stat, touch, CP, MV, RM, tree, mkdir, rmdirStatCommand formatStat [OPTION] ... FILE ...Command functionDisplays the timestamp of the file, i.e. access time, modification time, and change
High Availability cluster in Linux1. Highly available clusters are simple650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/85/03/wKioL1eZrQvgMrjlAAB9HRK7wVo857.jpg-wh_500x0-wm_3 -wmp_4-s_221954575.jpg "title=" 1.jpg "alt="
One. download the corresponding PHP source package wget Http://cn2.php.net/get/php-5.5.20.tar.gz/from/this/mirrorTwo. unzip the downloaded source file tar-zxvf php-5.5.20.tar.gzThree. Enter the php-5.5.20/ext/pcntl/directory CD php-5.5.20/
Linux threads (processes)
1. Problem Source
In the company's online environment, an exception occurs that MQ cannot accept messages. O & M personnel and developers temporarily switch the MQ of another server and resume the operation. At the same
Relationship among JDK, JRE, and JVM
JDK (Java Development Kit) is a product for Java developers. It is the core of Java, including the Java Runtime Environment JRE, Java tools, and Java base class libraries. Java Runtime Environment (JRE) is a set
Basic usage of the find command
Compared with the non-real-time SEARCH command like locate, the find command greatly increases the convenience and accuracy of our search; in addition, it can easily help us find and delete large files and specific
Build a local yum source server using CentOS
Build a local yum source server using CentOS
Install CentOS and configure the network environment of the system• Configure static IP addresses
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE = eth0TYPE
Deploying ASP. NET Core RTM in IIS in Windows 10
With ASP. NET Core 1.0 RTM is released, and there are many issues online. NET Core related articles. Now we have time to build ASP in the Winows 10 environment.. NET Core deployment environment.
1.
One DNS domain name resolution troubleshooting record
The project calls data from other engines through http. Yesterday, my colleague responded that there was a problem with calling data. The problem occurs as follows:[Bkjia.com @ bkjia logs] $ curl
Allow root user ssh remote login in Ubuntu
The SSH server can access the remote server through the SSH protocol instead of telnet and ftp. However, by default, Ubuntu does not enable root users or allow remote root logon. Therefore, you need to
Vsftpd server construction in CentOS
Vsftpd server construction in CentOS
1. The simplest vsftpd server Construction1. Install vsftpd1. Install yum
yum install vsftpd
2. Install the rpm file (if there is no rpm file, you can download it at
Use GoAccess to analyze Nginx Virtual Host LoggingBackground
TheNginxAnd multipleVirtual Host. Now you need to passGoAccessAnalyze your own access logs.Configure GoAccess Installation
Because yesCentOSDirectlyyumInstallation:
yum install
Password-free SSH Logon
My virtual machine:
192.168.91.130 test1
192.168.91.131 test2
192.168.91.132 test3
1. First generate a key pair on test1
The. shh/file will be generated later, enter. shh/, and copy id_rsa.pub
Id_rsa is the private key
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