In the/etc/default/useradd file, add the user rule file for the setting.1 # useradd defaults file2 group=100 # User group ID3 Home=/home #把用户的家目录创建在/home.4 Inactive=-1 #是否启用帐号过期停权, 1 means not enabled.5 expire= #帐号终止日期, no setting indicates not
This is a beginner's course and one of the concepts that newcomers to Linux find different are the idea of a file syste M in Linux. That's to say, the on-the-stored and managed in Linux. The most users is familiar with Files. In the simplest terms
The role of the resident process under Linux can not be ignored, but the problem can not be ignored, how to start the process, how to end the process, how to restart the process after the process is designed to be reasonable. Let's look at a
Uname is the command that queries the basic information of the system in Linux.Command form: uname [Options]Options include: (if not with any option: The default-S option)-S,--kernel-name output kernel name-N,--nodename the host name on the output
Generally in our keyboard has a PRINTSCREENSYSRQ key, in the Windows system, we press this button can intercept the screen, cut is the whole screen, under Linux I tried, also try to intercept the full screen, is also a screenshot of Linux comes with
Today came a server after the raid has left 3T, according to the previous method, the last left about 2.4T points to data, after the system installation is complete,[Email protected] ~]# df-hFilesystem Size used Avail use% mounted on/DEV/SDA1 97G 464
The Helib library is written on the basis of the NTL library, so the NTL library must be compiled before the Helib library can be used successfully:http://www.shoup.net/ntl/--links to NTL libraryHttps://github.com/shaih/HElib--links to Helib library1
1. Add the following section at the end of the/etc/profile:user_ip= ' who-u am I 2>/dev/null| awk ' {print $NF} ' |sed-e ' s/[()]//g ' export histtimeformat= ' [%F%t][' WhoAmI '][${user_ip}] "2. Source/etc/profile3. Execute whatever command you want,
Six. Socket (socket) Socket is also an inter-process communication mechanism, but its main difference from other communication methods is that it can achieve process communication between different hosts. a set of interfaces can be seen as the
The end reboot of Nginx is usually accomplished by the following command:Kill-quit 26000Where 26000 is the main process number of nginx.Each time you need to use the PS command to query the Nginx main process number, very troublesome. In the "real
If you are unfamiliar with using a public key to log on to a Linux server, read this document first:http://swenzhao.blog.51cto.com/3451741/1583447After reading, you will find that the document only speaks of using SECURECRT to log on to Linux
Common Linux commands (24)-chown
Chown changes the owner of a specified file to a specified user or group. The user can be the user name or user ID, and the group can be the group name or group ID; files are separated by spaces to change the
Build linux svn and use linuxsvn1. install # yum install subversion2. view the version # svnserve -- version3. create the SVN library # mkdir-p/opt/svn/repos # svnadmin create/opt/svn/repos to execute the above after the command, multiple files are
Virtualization Technology Learning (2) SPICE configuration under Unbuntu
Recently has been engaged in spice, installed on the cost of my long time, on the Internet to see some of the other's tutorials are said to refer to the official tutorial http:/
Use AWStats in CentOS to analyze Nginx access logs
AWStats is a fast-growing Perl-based WEB log analysis tool on Sourceforge.
It can collect the following information about your site:
Visits (UV), visits, page views (PV), clicks, data traffic, etc.
Add a user and add a group in Linux
1. Create a user whose username and password are hadoop:
Useradd hadoop
Passwd hadoop
1. We have a group named hadoops.
Groupadd hadoops
2. Add hadoop users to the hadoops group.
Gpasswd-a hadoop hadoops
How to install samba in linux and precautions
There are many ways to install software in linux: 1. Directly install (rpm-ivh package) with an rpm package; 2. Install yum; 3. apt-get.
If you can connect to the Internet, apt-get is the simplest method.
Linux script automatically enters the password
Programmers using Linux must be familiar with password input. in Linux, they have strict permission restrictions on users. If they do a lot of things, they must enter the password, for example, you can
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