How to install RRDTool in linux
1. Install using yum:Create a new dag. repo file under/etc/yum. repos. d/and enter the source address in the file:[Root @ hm2 yum. repos. d] # cat dag. repo[Dag]Name = Dag RPM Repository for Red Hat Enterprise
The procedure is as follows:
1. Enable the Rewrite Environment
Edit the/etx/httpd/conf/http. conf file
Remove the # Above "# loadmodule rewrite_module modules/mod_rewrite.so #
2. You also need to authorize ". htaccess" in any directory and
1. Pay attention to the order of compiling Bandwidthd and Postgrsql in centos
(1) download Postgrsql
Wget http://ftp.postgresql.org/pub/source/v8.4.2/postgresql-8.4.2.tar.gz
It is best to download the file in the/root directory.
Tar-zxvf postgresql-
1. Environment check
Php installation depends on apache and mysql. Therefore, to install php, you must first check the installation of apache and mysql.
Run the following command to check the version:
/Apache/bin/apachectl-v
/Mysql-uroot-p'-e
Installation instructions
System Environment: centos-6.3Installation Method: rpm InstallationSoftware: jdk-7-linux-x64.rpm: Http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
Check the original system
Google's browser does not support the RedHat & CentOS 6.4 platform anymore. If you compile and install it manually, not only do you need to find a lot of dependent libraries to install, but it is also difficult to find and install, so you are on the
Function Description: sorts text files.Syntax: sort [-bcdfimMnr] [-o ] [-t ] [+ -] [-- help] [-- verison] [file]Note: sort can sort the content of text files by unit of action.Parameters:-B ignores the leading space characters in each line.-C: Check
The default file descriptor of the Centos server is 1024 (linux). The command ulimit-n is run.
For high-load and high-connection servers, 1024 is far from enough. As for the modification method, I will not repeat it here. A large number of articles
For some reason, we need to redirect the httpd service accessing 10.0.3.49 to 10.0.3.26. So we studied how to use the NAT of iptables to redirect IP addresses and ports. In fact, it is very simple. We only need two steps.
1. Make sure that the data
In order to allow China Unicom and telecom users to quickly access the website, the company's server is hosted in a dual-line dual-ip data center. When the server uses dual-line dual-ip addresses, You need to configure the route table. The solution
RAID Overview
RAID is short for Redundant Array of Inexpensive Disk.
Multiple disks are combined into an array, which can be used as a single disk. RAID disk array
Different techniques can be used to improve data read/write efficiency and improve
Detailed description of tree commands under inux-commands for listing directories in a tree chart in linux######################################## #####################################Command FormatTree ######################################## #####
Number of times the web server cannot be notified of ip addresses
# Cat access_log | awk '{print $1}' | sort | uniq-c | sort-n
Or
# Cat access_log | awk '{print $1}' | sort-n | awk '{S [$ NF] ++} END {for (a in S) {print a "\ t" S [a]} '| sort +
In Linux, almost all software is installed, uninstalled, and managed through RPM. RPM is called RedhatPackageManager. It is proposed by Redhat to manage software packages in Linux. In addition to several core modules, almost all other modules are
Compared with top, the free command provides a more concise view of the system memory usage:
[root@castal ~]# free -m total used free shared buffers cachedMem: 502 463 39 0
1. Use the dd command to create a M file named vhost01.img:Dd if =/dev/zero ibs = 2 M count = 50 of =/data/htdocs/vhost01.imgExplanation:If =/dev/zero: indicates that the input file is/dev/zero, a virtual device. As the name suggests, all the data
First, use the ps-ef command to determine the PID of the process to be killed, and then enter the following command:# Kill-pidNote: Standard kill commands can achieve the goal. Terminate the problematic process and release the process resources to
It may be difficult to install nginx in source code. Therefore, a simple yum installation method is recommended.Add new source[Root @ localhost ~] # Wget http://www.atomicorp.com/installers/atomic[Root @ localhost ~] # Sh./atomicAtomic Archive
1. Install centos2. Install the library required by ora3. Modify the centos Kernel4. create user groups and directory structures5. Install ora11g2r6. Install the SQL plus paging program and help patch7. self-starting script8. Common commands
########
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