1.1. Software Preparation
SECURECRT: For clients connecting to Linux via SSH
VMWARESTATION10:
Vmware-workstation-full-10.0.1-1379776.exe5c4a7-6q20j-6zd58-k2c72-0akpe (tested, available)1y0w5-0w205-7z8j0-c8c5m-9a6mfNf2a7-ayk43-czct8-
installed in the KVM CentOS Linux systems. Restart the system after the power outage, the network suddenly does not pass. Ifconfig-a|more didn't see eth0. Then restart the Network service, the error is as follows:Failure phenomena:Service Network
The default version of the CentOS 6.5 (Final) installation is 1.7.1.3, and we want to install version 1.9.0. Since there is no version 1.9.0 in the RPM installation, we need to find other ways to install it.There are many articles on the internet
The Python version installed on CentOS 6.3 is 2.6 and does not meet my requirements for running the software, so I upgrade Python.The latest version of Python is already 3.3, but the compatibility of Python3 may have some problems, so it is more
Download the xdebug source code package for your PHP versionHere is php5.3.3. Download xdebug2.2.5.If you don't know what version to download, go to the http://www.xdebug.org/wizard.phpPaste your phpinfo information in the text section. It will
At present, the mainstream is U disk installation, so let's start with the U disk.
Ccentos 7 has several image versions
CentOS-7.0-1406-x86_64-DVD.iso: this image (DVD image) includes all the installation packages that can be installed with the
Directly go to the command mode. If it is a server, you can use the putty connection to enter the command line mode. The VNC in centos is tigervnc. Because it is a server, we only need to install tigervnc-server: Yum install tigervnc-server and then
PXE: A boot mode. During the startup process, the terminal requires the server to allocate an IP address and then download a startup package to the local memory for execution using the TFTP protocol, the startup package completes the basic software
Log on to the system through the text interface and switch to the root permission.
Use VI to open the/boot/GRUB/menu. LST file. Because menu. lst is the shortcut of the grub. conf file, the grub. conf file is finally opened. VI/boot/GRUB/menu. lst
Use only the second Hard Disk
Ignoredisk -- only-use = SDB
Repartition the second Hard Disk
Zerombr Yes
Clearpart -- all -- initlabelPart/-- fstype = ext4 -- asprimary -- size = 50000 -- ondisk = SDBPart swap -- maxsize = 12000 -- size = 12000 --
This course is intended for centos 7.0.1406!
1. Edit the ifcfg-eth0 file, VIM is minimized when the installation is not installed, you need to install it on your own is not described.
# vim /etc/sysconfig/network-scripts/ifcfg-eth0
2. Modify the
LDAP can be used for unified user management and Svn, Apache, and Linux users.
yum install openldap-servers openldap-clientsyum install perl-LDAP*
After the installation is complete, edit LDAP. conf
VI/etc/OpenLDAP/ldap. conf # modify the following
The experimental environment is 64-bit centos6.4, nginx uses the latest official stable version,
Download source code package
# Wget http://nginx.org/download/nginx-1.6.2.tar.gz
[[Email protected] local] # tar zxvf nginx-1.6.2.tar.gz
Hide the
Starting from centos7, sysvinit is no longer used to manage system services. Instead, systemd is used. Therefore, the system service management method has been changed.
1. view the status of all current system services
1 systemctl
2. view the
When the centos virtual machine is started under VMWare, an error is reported, indicating that the disk cannot be opened.
Reason: failed to lock file "H: \ centos-6.0-710 \ centos 64-bit. vmdk" or a snapshot disk on which it depends"
This is
1. View NetworkManager. Service
Systemctl | grep "NetworkManager. Service"
2. Stop NetworkManager. Service
Systemctl disable NetworkManager. Service
3. view the NIC status
Ifconfig
4. modify the configuration of the specified Nic
From centos7, the built-in firewall was changed from iptables to firewall. Generally, in the enterprise environment, for the sake of manpower and stability, it is safer to use mature technologies.
The following describes how to disable Firewall:
After centos 5.5 is installed, go to the desktop and choose "system"> "management"> "network" to open the graphical interface configuration tool to set the system network connection (set the IP address, ).
If it is not convenient for the centos
Install and configure Ngnix_tomcat_PHP_Mysql and centosmysql in CentOSInstall Nginx
yum install nginx
If the nginx package cannot be found, create a new file/etc/yum. repos. d/nginx. repo. content:
[nginx]name=nginx
Red Hat/CentOS ext4 cannot format large partitions, centosext4
The RedHat/CentOS 6.5 e2fsprogs version is earlier than 1.41.12, so you cannot create a file system larger than 16 TB.
Download the latest e2fsprogs, compile and install
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.