CentOS Tips
来源:互联网 发布:知乎手机怎么回答 编辑:程序博客网 时间:2024/06/05 09:53
Extract tar.gz
tar -xvzf xx.tar.gz
Nginx installation:
wget -c http://nchc.dl.sourceforge.net/project/pcre/pcre/8.12/pcre-8.12.tar.gz
wget -c http://www.nginx.org/download/nginx-1.2.2.tar.gz
These 2 links maybe changed by the new version ,After downloading these 2 packages, you have to config and make & make isntall the nginx.
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-openssl=/usr/ --with-pcre=/website/pcre-8.12
make & make install
Find out the version of rehl:
lsb_release -a
This command is suitable for CentOS,Redhat,SuSE and Debian.
uname
uname -a (this can search for detail)
Installation of mysql
wget -c http://mirrors.sohu.com/mysql/MySQL-5.1/mysql-5.1.56.tar.gz
./configure --prefix=/usr/local/mysql --sysconfdir=/opt/etc/mysql/ --localstatedir=/opt/var/mysql/ --with-unix-socket-path=/tmp/mysql/mysql.sock --with-tcp-port=3306 --with-charset=utf8 --with-extra-charsets=gb2312,gbk
make & make install
/etc/rc.d/init.d/mysqld start
The passoword is new-password
you use this command to change the password
mysqladmin -uroot -p password 'admin'
Then input the new-password
- CentOS Tips
- Centos - tips
- CENTOS some tips
- Centos 5使用tips
- Tips
- Tips
- Tips
- Tips
- > tips
- Tips
- Tips
- Tips
- Tips
- Tips
- Tips
- tips
- tips
- tips
- Git历险记(四)——索引与提交的幕后故事
- 蓝牙配对
- 显示通知:Toast和状态栏通知
- C#中的BeginInvoke和EndInvoke实现异步
- 汉化Avid Media Composer
- CentOS Tips
- 雷达图,自己捣腾了一个,还有许多需要改进的地方
- 关于java处理异常的话题
- DDL With the WAIT Option (DDL_LOCK_TIMEOUT) in Oracle Database 11g Release 1
- 几种数字滤波算法
- ftps传输encrypt data
- poj 3026 Borg Maze
- [旧闻]OpenStreetMap 组织确认苹果正使用他们的地图数据
- JS DOM