CentOS下MySQL数据库服务器的构建方法

用root登陆,安装mysql

yum -y install mysql-server  ← 安装MySQLSetting up Install Process

yum -y install php-mysql  ← 安装php-mysqlSetting up Install Process

 

然后,配置MySQL

 http://www.91ri.org/2835.html

 

 

 

gvim/ctags安装,配置和使用:

yum -y install gvim

yum -y install ctags

yum install gcc-c++

yum install gcc-g77

yum install flex autoconf zlib curl zlib-devel curl-devel bzip2 bzip2-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel 

 

yum -y install gcc gcc-c autoconf automake

 yum groupinstall -y "Development Tools"          (many small tools, bison etc)

http://blog.csdn.net/fbfsber008/article/details/7044723

 

 

QT 安装

 

http://blog.chinaunix.net/uid-26019596-id-3478592.html

 

 

linux测试工具

service httpd status

service httpd start

ab -c 1 -n 10000 http://127.0.0.1/

 

httperf --hog --server=127.0.0.1 --uri=/forum.php --num-conns=3000

 

http://www.bitronictech.net/knowledgebase/244/Install-and-Run-UnixBench-on-CentOS-or-Debian-VPS.html

This tutorial will cover how to  install and run UnixBench on a CentOS Linux VPS or Debian Linux VPS. UnixBench is a popular server benchmarking tool. UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.

 
The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system’s performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system.
 
Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system.
 
Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run the selected tests twice — once with one copy of each test program running at a time, and once with N copies, where N is the number of CPUs. This is designed to allow you to assess:
  • the performance of your system when running a single task
  • the performance of your system when running multiple tasks
  • the gain from your system’s implementation of parallel processing
Do be aware that this is a system benchmark, not a CPU, RAM or disk benchmark. The results will depend not only on your hardware, but on your operating system, libraries, and even compiler.
 
To install and run UnixBench, just do the following (for CentOS):
 
# yum install gcc gcc-c++ make libXext-devel
# yum groupinstall "Development Tools"
# yum install libX11-devel mesa-libGL-devel perl-Time-HiRes
# wget -c http://byte-unixbench.googlecode.com/files/unixbench-5.1.3.tgz
# tar xvzf unixbench-5.1.3.tgz
# cd unixbench-5.1.3
# make
# ./Run

 

UnixBench should begin running tests and output a final score. For Debian/Ubuntu:
 
# apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl  perl-modules make
# wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.3.tgz
# tar xvf unixbench-5.1.3.tgz
# cd unixbench-5.1.3
# ./Run

 

 

posted @ 2014-06-01 13:07  Gui Kai  阅读(263)  评论(0编辑  收藏  举报