跳至主要内容

These days

I'm very happy The Great Firewall had been gotten my Blog in my motherland, and now it's still out of the there and still be contraled.
做了些SHELL联系,然后呢昨天K了3个小时的歌,非常非常的无聊。汇报完毕,继续工作,当然了,还有些没写。 稍后添加关于SHELL的笔记。

忘了补一句,很感谢林SAN的支持,让我有这么个好机会,可是由于一点阻力,最终无法成行,还是十分感谢他对我能力的肯定,到底还是要请他吃顿饭,结果大家AA了。由于广告嫌疑,这个地方就不说是哪里了,看地图吧,味道整体来说还不错,上菜的速度也很快,价格也实惠。物美价廉啊

晚上练习SHELL,在echo过程中一个很难得问题也可以说很简单" "或者' '这样都可以显示echo后面的,但是如何显示shell固有的命令呢,查了很久试了很久其实很简单``这个就是tab上面的那个键位,这样可以显示,但是itpub上有一位大哥说还是比较现实用$()这个会更好,但是呢现在来看似乎$()不是很成功

评论

此博客中的热门博文

4 steps to delete account in Gerrit DB

4 steps to delete account in DB. Delete from accounts where preferred_email=’’; delete from account_ssh_keys where account_id=''; delete from account_external_ids where external_id='gerrit:*’; delete from account_external_ids where external_id='username:*’; whatever it was in H2 database and postgres db . H2: ssh -p 24198 localhost gerrit gsql Postgres: psql

mod

apache安装后,如果想再添加模块,往往不想重新安装一次,再者,我在安装中发现,并不是安装文件中所有的modules都会被默认安装,即使在安装中使用了 ./configure --prefix=/usr/local/apache --enable-so --enable-modules=all --enable-mods-shared=all也是如此。我使用上述方法安装的apache2.2.6就没有安装proxy相关模块。这时,需要手工生成so文件,但会自动的被复制到你的apache安装目录的modules中,然后修改apache的配置文件,加载相关模块,验证apache配置并重启服务即可。以上描述的具体操作步骤如下: 操作系统:linux redhat 4.5 ES apache版本:2.2.6 可自行下载tar包 1. 拷贝安装包到/usr/local,并在目标目录下进行解压。[root@localhost local]# cd /usr/local[root@localhost local]# tar -zxvf httpd-2.2.4.tar.gz2. 配置安装参数,安装的目标目录为/usr/local/apache,建议设置enable-mods-shared=all,不用的module注释掉就行了![root@localhost local]# cd httpd-2.2.4[root@localhost httpd-2.2.4]# ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all3. 编译并安装。[root@localhost httpd-2.2.4]# make[root@localhost httpd-2.2.4]# make install4. 启动Apache,并测试。[root@localhost httpd-2.2.4]# cd /usr/local/apache/bin[root@localhost bin]# ./apachectl start 打开浏览器,并在地址栏中输入主机的IP地址如 http://192.168.1.254/ 如果出现以下画面则说明安装成功。It works! 注意:安装完成后检查系统服务中的HTTPD服务是否已