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

 

 

转载于:https://www.cnblogs.com/kylegui/p/3763282.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值