In centos, you can add sudo permissions to common users. For more information, see. 1. modify the/etc/sudoers file, which must be the mongodo command. # Login do-f/etc/sudoers add the user xxxALL = (ALL) ALL2 you need like rootALL = (ALL) ALL, and
For some reason, we need to redirect the httpd service accessing 10.0.3.49 to 10.0.3.26. so we studied how to use the NAT of iptables to redirect IP addresses and ports. In fact, it is very simple. we only need two steps. 1. First, make sure that
Outline 1. installation 2. enable Nic 3. modify the host name (web.test.com) 4. modify DNS (8.8.8.8) 5. configure 163yum source 6. disable SElinux 7. disable firewall (ipv4 and ipv6) note: The 64-bit CentOS6.4 system is installed in the minimal
1. the disk partition format indicates that linux partitions are different from windows. in linux, the hard disk device name (hdx for IDE hard disks (x for disks from a-d) is used because up to four hard disks of IDE, SCSI, SATA, the USB hard disk
1. Reference link: ---- you can configure according to the following link. in redhatlinux, you can go back to the NIC from which the target address is located: Swap (for interchange I. Reference link:
---- You can configure the following link. in
1. locate --- & gt; search for the database generated in advance, fuzzy search, updatedb update the locate database-I: ignore the case of the file name-n: only show the first n rows of eg: lo
1. locate ---> searches for the database generated in
In Linux, when we open files such as Word in Linux, we often find that many words cannot be correctly displayed, in fact, this is because most of the documents created under Windows have a font of, but this font is not used by default in Linux.
Linux has a pam_tally2.so PAM module to limit the number of logon failures. if the number of logon failures reaches the set threshold, the user is locked. Compile PAM configuration file # vim/etc/pam. d/login # % PAM-1.0authrequiredpam_tally2.sodeny
SSH is short for SecureShell, developed by the IETF Network team (NetworkWorkingGroup). SSH is a security protocol built on the application layer and transport layer. Traditional network service programs, such as FTP, POP, and Telnet, are inherently
Command name: chmod permission: Usage of all users: chmod [-cfvR] [-- help] [-- version] modefile... note: The file calling permissions for Linux/Unix are divided into three levels: file owner, group, and others. Chmod can be used to control how
To improve work efficiency, we use version control software to manage projects, such as svn and git. Next, we will take svbversion as an example to talk about how to install svn and deploy the project. I. install the svn server, use anonymous users
1. Why can the files in the rm-rf directory be recovered after being deleted? First, create an empty directory test. The blocksize of the directory is 4096 bytes. is it an empty directory or 4096? First, the directory size depends on the inode
Tr-d delete matched characters-s delete the same consecutive characters & #39; [string1] & #39; & #39; [string2] & #39; replace string 1 with string 2cut-b in byte, letters and spaces, and Chinese characters in three bytes: 1-3 (first three bytes)
When a CentOS5.6 machine needs to upgrade the memory to 6 GB, the system is found to be 32-bit, so the search can enable the 32-bit system to support 4 GB memory or above. How does one make linux/Centos32-bit support 8 GB memory? The kernel-based
We know that in redhat, you can use lastlog to view the last logon information of each user, and use last to view the logon information of the specified user. View user login information: detailed explanation of last command function description:
In linux, some common shutdown/restart commands include shutdown, halt, reboot, and init, which can be used to restart the system. However, the internal working process of each command is different, through the introduction in this article, we hope
The sed command is easy to use for a single file. If you want to replace all the files in a specified folder, combine grep and sed into a command. The grep command can be used to search for the content of a single file or a file in a folder. the
1. the uptimeUptime command displays how long the server has been running, how many login users there are, and the overall server performance evaluation (loadaverage ). The loadaverage value records the load of the last 1 minute, 5 minutes, and 15
Currently, many websites can assign users a custom second-level domain name, for example, myname.netingcn.com. but the actual access address may be www.netingcn.com/user.php? Uid = myname. To make it work properly, configure wildcard domain name
In centos, you can run the command hostname or uname-n to view the current host name. if it is not set, it is set to localhost by default. for details, see the startup script:/etc/rc. d/rc. sysinit. To modify the host name, you can change the
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