摘要: 博客已经搬家,请访问如下地址:http://www.czhphp.com1. 下载 lighttpd , pcre , php , 其他相关扩展包2. 安装 pcre ./configure & make & make install 安装 php ./configure --prefix=/usr/local/php/ --with-mysql=/usr/local/mysql --with-gd=/usr/local/gd --with-libxml-dir --with-zlib=/usr/local/zlib --with-curl --with-libxml-dir= 阅读全文
posted @ 2010-03-23 14:44 曹振华 阅读(4102) 评论(0) 推荐(0) 编辑
摘要: 博客已经搬家,请访问如下地址:http://www.czhphp.com自动登录ssh不需要输入密码环境: linux1 192.168.1.10 linux2 192.168.1.20 需求:由于要经常从linux1登录到linux2进行维护工作,每次都要输入密码,为了方便,使用下面方法将直接登录到linux2而不需要输入 密码 linux1上操作 1.生成公钥 ssh-keygen -t rsa 密码可以不用设置 2.将生成的公钥复制到linux2 scp .ssh/id_rsa.pub root@linux2:/root linux2上操作 3.将复制过来... 阅读全文
posted @ 2010-03-23 13:58 曹振华 阅读(669) 评论(0) 推荐(0) 编辑