I. Preparation before installation
1. Get System Information
The code is as follows
Copy Code
# Cat/etc/redhat-releaseCentOS Release 6.5 (Final)# uname-px86_64
From the above, the current system: 64-bit CentOS
1. Modify SSH telnet port to 8888# Vi/etc/ssh/sshd_config
Port 8888 #把 #Port 22 modified to port 8888
# servicesshd Restart #重启SSH服务 or service sshd restart2. Firewall Add portThe default iptables only part of the port, use additional ports such
1. Create a new Folder
mkdir file name
Create a new folder named Test under Home
1 mkdir/home/test
2. New text
Create a new test.sh script at home
1 vi/home/test.sh
3. delete files or folders
Delete the test directory in the home directory
1
Network configuration
After installing the minimal version system, the CentOS system's NIC is not enabled by default, and we can edit the network configuration with the following command:
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
If you use
SYSTEMD is a Linux system tool used to launch daemons and has become the standard configuration for most distributions. You can systemctl --version view the version you are using by commandCommon commands# 立即启动一个服务$ sudo systemctl start
The result of wget operation on a VPS times out. The information is as follows:• Wget http://blog.is36.com/• -- 09:13:14 -- http://www.111cn.net• Resolving blog.is36.com... failed: Temporary failure in name resolution.• Wget: unable to resolve host
1. Install subversion: The code is as follows:Copy code # Yum install subversion Check whether the installation is successful: The code is as follows:Copy code # Svnserve -- version II. Create a SVN database The code is as follows:Copy
Core tips:Check the file (SYmbolic LinK) header in the/lib/module/{kernel version number}/kernel/directory and whether the source is valid. They should be linked to your kernel Compilation directory.In centos 6. x linux, the self-compiled kernel 3.0.
Today, let's talk about how to compile and install nodejs separately. If so, let's take a look at the end. If not, let's install nodejs step by step.System: centos 6.x( 64-bit)Software version: nodejs 5.3.01. Upgrade gcc firstFor more information
The method is very simple. Thanks to the tutorials provided by the N16 group of friends!1. Make necessary preparations first!#! /Bin/shYum install-y gcc automake autoconf libtool make build-essential autoconf libtool curl-devel zlib-devel
1. Enable and disable IPtables1. Takes effect after restartEnable: chkconfig iptables onClose: chkconfig iptables off or chkconfig-level 35 iptables off2. It takes effect immediately and becomes invalid after restartEnable: service iptables
Environment:LVS/Dr server: 200.168.10.1Real rip: 200.168.10.2Real rip: 200.168.10.3VIP: 200.168.10.10LVS server configuration:Disable iptables and selinux to prevent failure due to firewall and other reasons.Install ipvsadmYum-y install ipvsadm *Run
To set up a server load balancer, Centos system and local testing are required. Therefore, you have to use VMware10 as the virtual machine to install CentOS7.0 for testing. To install CentOS7.0, follow these steps:Step 1: Download the ISO package
First, install the LAMP one-click package environmentCurrently, this environment package is based on CENTOS 5 or 6 32 or 64-bit systems. The code is as follows:Copy code Wget http://soft.laozuo.org/lamp/lamp_centos1.0.tar.gzTar zxvf lamp_centos1.
It is more important to see how software is installed !!!* First, uninstall apache mysql php aprapr-util and so on.Install a third-party PHP extension packageNote the following before installing iis6:First, check whether libtool and
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