First download: http://sourceforge.net/projects/mysql-python/Decompress the package and find the location of mysql_config (at least in CentOS, in/usr/bin/, so that you can find the location: ls/usr/bin/| grep "mysql ")
Then, add the path of
Today, I tried to build a java Development Environment under Linux, and I will summarize the specific steps.
1. JDK InstallationRun the following command to install JDK (first create the/opt/java directory)Tar-xvf
PS: today, a colleague asked me if I have a reliable mysql stress testing tool. In fact, mysql comes with a stress testing tool called mysqlslap, which is a good simulation. The following is an example. Mysqlslap is a stress testing tool officially
Perform the following operations as an administrator:
1. vi/etc/inittab
Id: 5: initdefault: // set the system runtime level to 5. If it is 5, no modification is required.
Id: 5: respawn:/usr/sbin/MCM // Add to the last row
2. Restart X11.
Init
Added support for rarfiles from the centos system.[Root @ localhost ~] # Wget http://www.rarsoft.com/rar/rarlinux-4.0.1.tar.gz[Root @ localhost ~] # Tar-zxvf rarlinux-4.0.1.tar.gzRar/Rar/readme.txtRar/default.
Because vmware installed centos 6.2 (64-bit) desktop, but the installation of vmware tools failed, the gcc version was accidentally upgraded from 4.6.6 to 4.6.7, so the gcc downgrade began.
First, yum erase gcc
And then reinstalls gcc from the http:/
1. display the 10 processes that consume the most memory/CPUPs aux | sort-nk + 4 | tailPs aux | sort-nk + 3 | tail2. view the number of concurrent Apache requests and their TCP connection statusNetstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S)
There are two machines a and B. Now you need to add user1 of machine a to the user2 user trust list of machine B, so that user user1 of machine a can directly ssh to user user2 of machine B.
Steps:
1. Enter machine a/home/user1 /. run mkdir-p/home/
1. Network Connection Mode:
Select NAT
2. Edit the DNS configuration file/etc/resolv. conf of the VM.
Set nameserver to the NAT gateway address in the VM.
[Root@andes.com/etc] # cat resolv. conf # No nameservers found; try putting DNS
Chmod chown chgrp=- =-= -- =# Chmod# Permission XXX0 indicates no permission,1 indicates the executable permission. = x indicates the executable permission. Generally, the executable permission is readable.2 indicates the write permission. = w
The Linux operating system is an open-source product and also an open-source software practice and application platform, under which countless open-source software support is provided, we often use apache, tomcat, mysql, php, etc. The biggest idea
Download CentOS6.3, create a new 64-bit Linux machine, and choose to install the system later. If the system is installed at the same time, it will be automatically installed and cannot be set during installation.
Create a new Mini Desktop to be
Cacti Construction
Cacti is a set of network traffic detection Graphics analysis tools developed based on PHP, Mysql, SNMP and RRDTool. cacti acquires data through snmpget and uses RRDtool to draw images, in addition, you do not need to understand
Abstract: data is the most valuable property! The company's servers all need to have a complete backup policy for data. using scripts, scheduled tasks, open-source software, and so on, no matter which way, real-time data synchronization is the best
======================================= WEB Server (RSYNC) ======================================Step 1: Installrsyncyum -y installrsyncStep 2: Configure# This file is not available by default.#vim /etc/rsyncd.confuid=rootgid=rootuse chroot=nomax
The SVN configuration is recorded here:
1. Download the svn software package and dependency package
[Plain] view plaincopy
Cd/mydata/soft
Wget http://labs.mop.com/apache-mirror/subversion/subversion-1.7.7.tar.gz
Wget
I. Introduction to principles (the Principles are from the Network)
1. rsync
Compared with traditional cp and tar backup methods, rsync has the advantages of high security, fast backup, and support for Incremental backup. rsync can meet the demand
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