- 浏览: 5655 次
- 性别:
- 来自: 长沙
最新评论
文章列表
1.下载 php-5.5.6 到 ~/downloads
cd ~/downloads
wget http://cn2.php.net/distributions/php-5.5.6.tar.gz
2.安装 php编译过程中需要用的的一些模块
sudo apt-get -y install libxml2 libxml2-dev autoconf libjpeg-dev libpng-dev php5-gd libmcrypt-dev
sudo apt-get -y install bzip2 libbz2-dev curl libcurl4-gnutls-dev libfreety ...
os:ubuntu 12.04. server
1.下载 apache http server 2.4.7(httpd):
http://mirrors.cnnic.cn/apache//httpd/httpd-2.4.7.tar.gz
2.下载 APR 1.5.0
http://mirrors.cnnic.cn/apache//apr/apr-1.5.0.tar.gz
3.下载 APR-util 1.5.3
http://mirrors.cnnic.cn/apache//apr/apr-util-1.5.3.tar.gz
4.解压
tar -zxf httpd-2.4.7. ...
os:ubuntu 12.04 server
系统原装的vi 用起来并不顺手,是vim-tiny 来的。还是安装一个完整版吧
$:sudo apt-get remove vim-tiny
$:sudo apt-get install vim
编辑 ~/.vimrc
1、设置光标行
set cursorline
这条命令会在vim的光标所在行上标记为一条横线
还可以修饰一下条横线:
highlight CursorLine guibg=lightblue ctermbg=lightgray
2、设置光标列
set cursorcolumn
" 设定 ...
os:ubuntu 12.04 server
configuration files:/etc/apt/sources.list
content:
#............................
#.............................
deb http://mirrors.163.com/ubuntu/ precise main restricted
deb-src http://mirrors.163.com/ubuntu/ precise main restricted
deb http://mirrors.163.com/ubunt ...
os:ubuntu 12.04
configuration files:/etc/network/interfaces
content:
# ,,,,,,,,,,,,,,,,,,
#....................
#....................
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.18
netmask 255.255.255.0
gateway 192 ...