Recently want to make a mailman mailing list, do not want to do in my common CentOS 6.4 to do experiments, afraid of destroying the environment, so I want to install a test machine, it is too large space, so find a half-day to find CentOS 6.0
Transfer from http://www.php114.net/2013/1019/637.htmlgoal: Reduce the volgroup-lv_home to 20G and add the remaining space to the Volgroup-lv_root1. Check disk usage First[[email protected] ~]# df-h file systemcapacity has been used with available%
1. Create a user#创建gitadmin用户useradd gitadmin# set gitadmin password passwd gitadmin# create git user useradd git# set git password passwd git2. Create an SSH key#切换到gitadmin > Su gitadmin# create an ssh key > ssh-keygengenerating public/private RSA
Start to contact Linux, because my proud of the computer can not be installed on the dual system, so have to install virtual machine, or, save the switch back and forth, the following is the process.If there is any mistake, please correct it! O (∩_∩)
Turn http://www.centoscn.com/CentosSecurity/CentosSafe/2014/1126/4192.htmlAccount Security and PermissionsDisable Superuser other than rootDelete unnecessary accountsUser password settingsCheck the empty password accountPassword file plus lockSet
Yum install-y wget gcc gc BC GD make Perl ncurses-devel XZ: https://www.kernel.org#tar-JXVF Linux-3.4.56.tar.xz#mv linux-3.4.56/usr/src/linux-3.4.56#cd/usr/src/linux-3.4.56# make Mrproper #清除环境变量, that is, clear the configuration file# Make
First, install the JDK1. Place the JDK according to your preference, I put it under/usr/java #cd/usr#mkdir java#cd#tar zxvf jdk-7u71-linux-x64.gz-c/usr/java 2. Add environment variable #vi/ Etc/profile at the end of the file plus java_home=/usr/java/
When the CentOS 7.0 installation is complete, the NIC is not powered on by default, and the name of the NIC is changed. In CentOS 5 and the previous system Nic named eth0 eth1 such name, and to the CentOS 6 era the name of the network card changed
Install CentOS 6.5 with a USB stick, after the installation can only use a U disk to start, the U disk after pulling out will not start.Do not be anxious to meet such problems.It takes just a few steps to get it done.1. # fdisk-lLook at which hard
Vsftp is the most respected FTP server program in the Linux distribution. Features are small and light, safe and easy to use. The following is an introduction to CentOS under Installation and simple configuration vsftp this service software.The
Because of the need to perform tasks on a timed basis, we found the Crontab tool and introduced its usage:Shell=/bin/bash path=/sbin:/bin:/usr/sbin:/usr/bin mailto=root home=/ # run-parts 01 * * * * Root run-parts/etc/cron.hourly 4 * * * Root
Finally put LXC network to pass, do not know right, rememberIt's all the same place at first.Yum Install Libcgroup LXC lxc-templatesInstalling LXC CgroupThen rememberChkconfig--level 345 libcgroup on Cgroup always startAdd a bridgeIfcfg-eth0 changed
CentOS dual-NIC dual IP settingsSystem environment: CentOS LinuxNetwork environment: Two IP addresses, 192.168.0.10 and 10.10.30.2, Mask is 255.255.255.0,The gateway addresses for these two subnets are 192.168.0.1 and 10.10.30.1 respectively.1.
1. Find the Occupied port
Netstat-tln
Netstat-tln | grep 8060
NETSTAT-TLN View port usage, while Netstat-tln | grep 8060 is a view of the usage of port 8060 only2. See which program the port belongs to? Which process is consuming the
Preparation: 1,centos 6.5 minimal Desktop2. Configure CentOS to access the Internet or configure the CD local Yum sourceStart: 1, use the command yum install XDM installation XDmManage X-Monitor collections with XDMCP support2. Modify
CentOS prompts unexpected inconsistency; RUN fsck MANUALLY to solveAn error occurred on the CentOS server. The prompt is as follows: unexpected inconsistency; RUN fsck MANUALLYAn error occurred during the filesystem checkPropping you to shell 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