My system OS version:centos 5.9 kernel:2.6.18-402 Update kernel version: 2.6.20Because yum inside the kernel header file and card package does not have too much source code. C files. So can only download similar version from www.kernel.org, some
Level two domain name configuration
Git.dbpoo.com point to git repositories this directory/mnt/git/repositoriesGitweb.dbpoo.com directory pointing to Gitweb/usr/share/gitwebCan be configured via Apache VirtualHost
First, install Git
centos6.5
When a PC server host connects to FC storage, it is generally necessary to install an HBA card, and an important parameter of the interface is the WWN number. The way to view the WWN number under Redhat or SuSE is as follows.
One, SuSE Linux 9
View
After installing Linux, it is necessary to do some simple configuration to normal use, such as network, firewall, security settings and so on, but also need to install some required software. Only after this series of configuration can be considered
1. Use rpm-qa| First The grep vsftpd command checks whether the installation is installed, and if FTP is not installed, use the Yum-y install VSFTPD installation (Ubuntu apt-get install)
After the installation, we will configure it for normal use.
Linux itself has a firewall named "Iptables". The Dark One you said is the terminal. Enter the following command in the terminal to open the firewall:
The code is as follows
Copy Code
Chkconfig iptables on
If
First, install the software
We buy VPS, generally have pre-installed iptables, you can check the status of the Iptables, confirm whether the installation.
Service Iptables status If prompted for iptables:unrecognized service, you need to install.
Linux Modify SSH Port 22
The code is as follows
Copy Code
Vi/etc/ssh/ssh_configVi/etc/ssh/sshd_config
Then change to port 8888
As Root service sshd restart (Redhat AS3)
Using putty, Port 8888
Linux under the
Iptables is a powerful Linux firewall that uses a very high frequency. This article describes how to view the Iptables rule settings.
1, Iptables-l
View the iptables rule for the filter table, including all the chains. The filter table contains
Find files with more than 10MB
The code is as follows
Copy Code
Find. -type f-size +10000k-exec ls-lh {}; | awk ' {print $ ': ' $} '
Find Path-size +2000k-print
This allows you to print all files that are
apache-2.2 with the new apache-2.4 installation is different, the 2.4 version has not come with the APR library, so the installation of apache-2.4 before the need to install a good apr.
1, download software
The code is as follows
Software installation in a Linux environment, it is not an easy thing to do; If you compile from the source code after the installation, of course, the matter is more complex; now the tutorials for installing a variety of software are very common;
Today to tell you how to install the MySQL binary package, so as to avoid in their own test environment to compile the installation, waste a lot of time, well, to see the tutorial.System: CentOS 5.xRequired Packages:
When configuring multiple servers, it is often necessary to keep the time between each server synchronized, if the server has extranet environment, can be directly with the external time server update time, you can use the rdate command update time:
Tar is a common command for system management, how to select a packaged directory of files, here to demonstrate:
In the case of directory A, the following files have directories B and C, and if you only want to package the files instead of packing
Before packing the folder, always ignore the. htaccess file, which is very uncomfortable for the whole station backup!!
Packages all files in the current directory (not including. htaccess and other hidden files) into xxx.tar.gz
The
For people who often use Linux systems, it is essential to upload local files to the server or download files from the server to the local
, the Rz/sz command is convenient for us to implement this function, but many Linux systems do not initially
After installing the Linux system, log in and modify the file:
The code is as follows
Copy Code
# cat/etc/sysconfig/network-scripts/ifcfg-eth0 device= "Eth0″ bootproto=" None " hwaddr=" 00:50:56:be : 7a:d8″ ipaddr=192
1. Permanent entry into force, no recovery after reboot
Open:
The code is as follows
Copy Code
Chkconfig iptables on
Shut down:
The code is as follows
Copy Code
Chkconfig iptables
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