Description
In the actual production environment, the CentOS 5.x series is still the preferred system for many server builders
As of the current CentOS 5.x latest version of CentOS 5.10, the following describes the CentOS 5.10 of the specific
To view the version of the CentOS kernel:
1) [Root@localhost ~]# cat/proc/versionLinux version 2.6.18-194.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri A PR 2 14:58:14 EDT 2010
2)
[Root@localhost ~
Varnish is a high-performance open-source HTTP accelerator, Norway's largest online newspaper Verdens Gang (http://www.vg.no) using 3 units varnish replaced the original 12 squid, performance is even better than before. Visible varnish is a rather
The way to turn on gzip compression is simple, connect the server and open the configuration file "httpd.conf", find the following two sentences, remove the "#" in front
The code is as follows
Copy Code
LoadModule
A new HOSTNAMECTL directive is added to the CENTOS7 on the host name change, which is more convenient both in terms of output and change. Take a look at hostname help information:
The code is as follows
Copy Code
[Root@361
First use the date command to see if the CentOS time is correct, date-r to see if time zone is right.
First determine if the NTP service is installed before using time synchronization, view command "Yum List | grep NTP, no then enter "Yum install
First turn off the httpd service
/ETC/INIT.D/HTTPD stop
List HTTPD Related packages
Rpm-qa|grep httpd
The following packages are listedHttpd-2.2.3-63.el5.centos.1Httpd-manual-2.2.3-63.el5.centos.1
Uninstall Package
Rpm-e
1. View the currently used system language#echo LANG2. Check if the system is installed in Chinese#localeIf you have a ZH_CN, you have installed the Chinese language3. Install Chinese#yum Groupinstall Chinese-support4. Temporarily change the
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.
In the past, the centos7 virtual machine was installed. In order to play with Docker, I forgot the password I set. I reset the password in a circle on the Internet and recorded it.Only know that you can enter the single user mode by pressing e, but
Problem:After installing the Linux operating system, some Dell servers find that the nic name has changed to em1.Solution:Change the nic name to eth0. The CentOS Operating system is used as an example.1. Modify the grub systemVi/boot/grub. conf #
Perform the following steps to synchronize time in the CentOS system:The newly installed CentOS system server may be set incorrectly. You need to adjust the time zone and time.The following is how the CentOS system uses NTP to synchronize data from
Startup and login security1. BIOS securitySet the BIOS password and modify the boot sequence to disable system startup from a floppy disk.2. User passwordThe user password is a basic starting point for linux security. The user password used by many
Here we need to configure the JDK1.8 + Tomcat 8 environment. Tomcat is a web container that runs web applaction.1. Install JDK1.81. DownloadHttp://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlUnable to directly obtain
Vsftp cannot upload filesAfter using SecureCRT for remote logon, I performed the following checks:① The vsftp configuration file (/etc/vsftpd. conf) is opened and the write_enable status is checked:[Root @ VM_72_108_centos/] # cat/etc/vsftpd. conf |
Iptables is one of the commonly used firewall software in Linux. After LNMP is installed. After you restart the machine, you will find that the Web site cannot be opened, which is largely caused by iptable. Below are some common settings for
Note: vsftpd configuration for local users based on nginx virtual FTP users.After yum install vsftpd:Clear vsftpd. conf and write the following content:Listen = YESFtpd_banner = Technical-Support: QQ: 252872160 Email: root@upall.cnAnonymous_enable =
I. INTRODUCTIONNagios is an open-source computer system and network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. It's a powerful O & M tool,
CPanel is one of the most prestigious commercial software in the web hosting industry. It is based on Linux and BSD systems and is developed based on PHP and its nature is closed source software; provides powerful and complete host management
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