The current system is CentOSLinuxrelease 6.0 (Final), and the kernel version is 2.6.32-71. el6.i686. due to the latest kernel Vulnerability (linux kernel has a memory elevation vulnerability, 2.6.39 kernel is not spared, So we upgraded the kernel to
According to the article on SVN server Construction Under cent OS 6.4 in this blog, the SVN server can only manage one project. How can we achieve permission management and allocation for multiple members in different projects?
Requirement 1
The
Download the latest Nginx URL http://nginx.org/en/download.htmlWget http://nginx.org/download/nginx-0.8.53.tar.gzDecompress and download the source code package.Tar-zxvf nginx-0.8.53.tar.gzGo to the decompressed source code folderCd
After installing apache2 + php5, I want to install mysql5 again.After installing mysql5 with the source code, I found that I wanted to add new extensions for php in Linux. Unlike in windows, I just needed to remove the semicolon comment ~I found a
Installation instructionsInstallation environment: CentOS-6.3Installation Method: source code InstallationSoftware: apache-tomcat-7.0.29.tar.gz: Http://tomcat.apache.org/download-70.cgiPrerequisitesThe system must have JDK6 + installed, see install
User management commands!
1. user name and password
In linux management, a very important part is to manage users. Not everyone can log on to the server. If someone wants to log on to the server, they must apply for relevant permissions, you can
1. Process sorting by memory from large to small:Ps-eo "% C: % p: % z: % a" | sort-k5-nr
2. Check which processes are currently running; view the files opened by the process:Ps-A; lsof-p PID
3. Get the current IP address (learn the role of grep, awk,
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.
# Define do-f/etc/sudoers
Add the user you need like root ALL = (ALL) ALL
Xxx ALL = (ALL)
8. Install the VIM Editor
IX. Install MAN help document
10. Install LVM
11. Modify the default language
12. Install common tools
8. Install the VIM Editor
Followed by the first article: http://www.centoscn.com/CentOS/Intermediate/2013/0907/1572.
"Lsblk is used to list Block devices. In addition to RAM, Block devices are displayed neatly in the standard tree output format.
01root@tecmint:~# lsblk0203NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT04sda 8:0 0 232.9G 0 disk05├─sda1 8:1 0 46.6G 0 part /
In windows, port forwarding generally uses built-in nat, porttunnel, and portmap.
The port forwarding ing program in linux is rinetd. The start method is rinetd-c/etc/rinetd. conf, and pkillrinetd is used to close the process.
Tools home: http://www.
The process of learning should be a process of accumulation. There is no, there is not much, but not like a monkey going down the hill. This is the first time in July to systematically study gcc, gdb, and makefile (see the previous blog for details )
Create a user in linux1. Add an ftp userUseradd ftpname-d/home/ftpPasswd ftppwdPerform the following operations with the root permission:Service vsftpd start the FTP service provided by Linux2. Add a common userUseradd nagios-d/usr/local/nagiosChown
Chattr (change attribute)Function Description: changes the file attributes.Syntax: chattr [-RV] [-v ] [+/-/= ] [file or directory...]Note: This command can change the file or directory attributes stored in the ext2 File System. These attributes are
NAT configuration in Linux
1. You must install iptables.
RequiredIptablesOtherwise, nat cannot be configured.
# Iptables-v: view the iptables version.
2. Start Configuration
Configure NAT with dual NICs (single Nic is also available, but not
1. echo "aa"> test.txt and echo "bb"> test.txt //> clear the original file and write the content to the file.> put the content at the end of the file.
2. chmod go + w-R/home/zhangy // Add write permissions to group users and other users
3, tar-tzvf
1. Modify the IP address of CentOSModify the configuration file of the corresponding Nic IP Address# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify the following contentDEVICE = eth0 # describe the DEVICE alias for the NIC, for example, it is eth0
Common rpm commands 1. install a package # rpm-ivh2. upgrade a package # rpm-Uvh3. remove a package # rpm-e4. installation parameters -- force installation even if it overwrites files belonging to other packages -- nodeps if this RPM package
For this Tar command, we use it to package files rather than compress and decompress files. The biggest role of this command should be to back up website data. I am used to first package Tar data and then back up VPS wget, here we will share with
1. wget is the most common http/ftp File Download tool in Linux1. For wget resumable data transfer, you only need to add the-c parameter, for example:Code:
Wget-c http://www.abc.com/abc.zip-O abc.zip
2. files on the server are downloaded only when
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