Prepare an article
First, firewall configuration
CentOS 7.x defaults to use firewall as a firewall, here to iptables firewall.
1. Close firewall:
Systemctl Stop Firewalld.service #停止firewall
Toss for several days, look up a lot of information, finally buttoned up, tears cow face, the following record detailed operation process! Note: The test environment is CENTOS5.8 x86
Installing PPTP
Use the Chao PPTP one-click installation package
First, you need to install the Chinese font for the following command:
The code is as follows
Copy Code
#yum Install Fonts-chinese
To see if the Chinese font is installed successfully, you can use the following
Take the Aliyun server as an example
One, mounted hard disk
1, disk partition
Fdisk-l #查看设备, you can generally see the device named/dev/xvdb
Fdisk/dev/xvdb #对磁盘进行分区
Enter N #创建新分区
Enter P #创建主分区
Enter 1 #创建第一个主分区
Enter the W #保存并执行以上命令 to
The example in this article describes the CentOS 6.6 implementation method for permanently modifying DNS addresses. Share to everyone for your reference, specific as follows:
1. Configure IP address file /etc/sysconfig/network-scripts/ifcfg-eth0
CentOS One-click Installation OpenStack
Recently to see OpenStack related knowledge, has been trying to install, but reference a lot of information, and unsatisfactory. Since the Linux version has been used for CentOS, most OpenStack installations
Objective
We all know that CentOS has a very convenient software installation tool yum, but the default installation CentOS, the system is using foreign CentOS update source, which caused us to use the default update source to install or update the
1 . Confirm that the environment required to build the lamp has been installed
[ROOT@CENTOS6 ~]# rpm-q make gcc gcc-c++ zlib-devel Libaio
Note: installation libpng need zlib-devel
need Libaio When installing MySQL
Experimental environment:
Linux CentOS 5.5 Two units
IP Address:
ntpserver:192.168.186.129
ntpclient:192.168.186.152
Test requirements:
Install the NTP server and deploy the implementation to allow the client to synchronize its practices
Let's briefly introduce a few nouns
Atomic Clock: Now the most accurate calculation time is the physical clock (Atomic Clock) computed using the atomic oscillation cycle, which is also defined as the standard Time (International Atomic times)
UTC (
1. Newly opened cloud server, need to detect whether the system comes with the installation of MySQL# yum list installed | grep mysql2. If you find a system that comes with MySQL, do it decisively# yum -y remove mysql-libs.x86_643. Wherever you
First make sure that the virtual network card (VMware Network Adapter VMnet8) is turned on, and then enter "Ipconfig/all" on the Windows command line to find the VMware network Adapter VMnet8 's IPv4 address (for example: 192.168.16.1), such as:Then
Today re-installed a centos6.6, as if the root password did not call me to set it, and then use the virtual machine to start the installation before the password login display failed, so there are the following eggs ..... Helloween ...In the virtual
1. Check the installed JDKgrep JavaThe possible results are as follows:java-1.7.0-openjdk-1.7.0.99-2.6.5.0. El7_2.x86_64python-javapackages-3.4.1- One. El7.noarchjava-1.8.0-openjdk-headless-1.8.0.77-0. B03.el7_2.x86_64java-1.8.0-openjdk-1.8.0.77-0.
Prerequisite configuration: Use root login to modify the configuration file:/etc/ssh/sshd_config, remove the comments of three lines, as follows:Then restart the SSH service: service sshd restart. Finally, you exit root, and all of the following
Turn on Automatic Updates to turn off CentOSTo turn off automatic centos updates, the operation is logged as follows:[Email protected] alpha]# chkconfig–list yum-updatesdYUM-UPDATESD 0: Off 1: Off 2: Enable 3: Enable 4: Enable 5: Enable 6:
1. Install software on the server1.1 First install ppp. Command:[Root @ test ~] # Yum install-y pppThe message "Complete" is displayed! , Indicating that the installation is successful;1.2 install pptpd. The installation command is as follows:[Root @
Some netizens told the Old Man to prompt that "Cannot find a valid baseurl for repo" could not be executed when deploying the environment on the Tencent ECS to use the yum command. The problem is certainly caused by source failure. Search for 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