Linux日常使用记事

3 篇文章 0 订阅
天天记一点,把日常使用命令和心得记录下来,省的用完就忘记了。

OS环境

seanye@liusu:~$ uname -a
Linux liusu.iteye.com 2.6.32-5-686 #1 SMP Thu Nov 3 04:23:54 UTC 2011 i686 GNU/Linux



apt-cache search
apt-get install


apt-get install vi

to support the stnyax highlighting.

edit the /etc/vim/vimrc

一个非常好的配置VIM的WIKI:[url]http://wiki.kartbuilding.net/index.php/Vi/vim[/url]
-------------------------
配置Http服务

apt-get install apache2

apt-cache show apache2


如果想要查看软件信息安装到哪里去了,使用dpkg命令


seanye@nimypopo:~$ dpkg -L apache2
/.
/usr
/usr/share
/usr/share/doc
/usr/share/bug
/usr/share/bug/apache2
/usr/share/bug/apache2/control
/usr/share/doc/apache2
/usr/share/bug/apache2/script


root用户登录启动:
apachetcl start


启动后,测试性能
ab -n 10000000 -c 20 -w http://localhost/fcgi-bin/echo.fcg
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值