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
Yum installation as always convenient:
First of all:
Yum Install httpdAfter the carriage return, Yum prompts the currently installed HTTPD version and automatically updates it, and installs automatically if it is not installed. Note Enter "Y"
After the installation test found that how HTML can run, and PHP is not, show file not Found, is very sad Google, found a variety of strange sayings, as a error_log can not understand the people could only try, and I will install the steps carefully
Entos's official source removed some copyright-related software, so you want to install the software or download the installation manually, or use a different source. I recommend the two commonly used sources, which can basically meet the needs of
First, the installation of Nginx must install the appropriate compilation tools
Yum-y install gcc gcc-c++ autoconf automake yum-y install zlib zlib-devel OpenSSL openssl-devel pcre-devel
Set up Nginx Group
Groupadd-r
1. If you have installed Centos/rhel minimum server installation, you may have a lot of trouble installing packages without
2. There is a way to install all the packages that require a basic server, using the Yum groupinstall command
3. Upgrade
First, view the log file
Linux View /var/log/wtmp file view suspicious IP login
Last-f/var/log/wtmp
This log file permanently records each user's logon, logoff, and system startup, downtime events. So as the system uptime increases,
First, the configuration document detailed
In Linux systems such as Rhel or CentOS, the main setup files related to the network are as follows:
/etc/host.conf Configure the Domain Name Service client's control file
/etc/hosts The
Description
1. Cwrsyncserver Service End
System: Windows Server 2003
IP Address: 192.168.21.134
Data storage directory: D:\osyunwei
2, rsync Client
System: CentOS 6.3
IP Address: 192.168.21.132
Synchronized Directories:/osyunwei
To achieve
A few days ago, a colleague would install an Oracle database on the CentOS. Need to add a disk to the existing system, this is not very rare problem results are not written to the Fstab file, reboot the disk and then reload, this record the solution.
CentOS 5.X Installation configuration Xen virtual machine and basic usage
1. Prerequisite Requirement
1.1. IntroductionXen is free software released under the GNU GPL and is designed to provide a system environment that is highly efficient,
Results click a link directly 404 Not Found. Tragedy, it seems that the Apache rewrite part of the problem, completely ignored. htaccess file! After checking the Apache module, found that the rewrite module is open, it appears that the configuration
Introduced
CentOS 7 does not use Iptables by default, so it is not possible to open 80 ports by editing the Iptables configuration file
CentOS 7 uses a FIREWALLD firewall
To query whether to open port 80:
[root@joe-pc ~]# firewall-cmd--query-
# # SSH connection used to connect the past first, and then enter:
sudo systemctl status mariadb.service Linux learning, http://linux.it.net.cn# # This time you can see some error tips:
140819 14:06:14 mysqld_safe Logging to
After deploying the Linux host via OVF, prompt ringing up interface Eth0:device eth0 does not seem to be present,delaying initialization.Workaround:First, open the/etc/udev/rules.d/70-persistent-net.rules content as shown in the following example: #
Note:The latest version of CentOS 6.x is CentOS 6.8. The following describes how to install and configure CentOS 6.8.The server settings are as follows:Operating system: CentOS 6.8 64-bitIP address: 192.168.21.129Gateway: 192.168.21.2DNS: 8.8.8.8 8.4
The rsync directory is mainly used for file synchronization. Now, record the configuration used.2 Test machinesRsync server IP: 192.168.171.22Client IP: 192.168.171.134Rsync server operationsCheck whether rsync is installedRpm-qa | grep rsyncInstall
Usage of the chattr command:Chattr [+-=] [ASacdistu] [file or directory name]Parameter description:+-=: [+ Add] [-decrease] [= Set] attribute meanings respectivelyA: the access time of the file (or directory) when the attribute A is setAtime (access)
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.