最近用SSH的地方变多了,每次去想/复制密码也挺麻烦的,特别是对于我这样的懒人。虽然早就知道可以免密码登录,不过也是因为太懒,一直没去弄:p
Category Archives: Linux
locale: Cannot set LC_ALL to default locale: No such file or directory
When I did apt-get upgrade operation on my server, there was some warning messages that said: locale: Cannot set LC_ALL to default locale: No such file or directory. Continue reading locale: Cannot set LC_ALL to default locale: No such file or directory
Ubuntu force change passwd
I had a Foundation of Computer Science class this evening. And when I booted the computer, I found Ubuntu Linux was installed on it.
加速WordPress访问速度
首先呢,因为Google在国内不能访问,而Wordpress又默认使用了很多Google上的字体,于是造成了访问异常缓慢,长的时候甚至可能有1分多钟。
为了加快博客访问速度,从多角度下手,用了如下方法
自己写的cp工具
闲来无聊,想自己重写一些Command line tools,于是就先瞄准了cp。
写得也比较简陋,只能复制一个文件,主要是想先看看和系统实现的cp在性能上有多大差距。
写完之后,运行测试,复制同一个1KB文件1000次,复制一个11.5MB文件10次,和复制一个550MB的文件一次。 (文件大小均按1000进制计算)
Continue reading 自己写的cp工具
Ubuntu搭建Web服务器(Apache2+PHP5+MySQL)
我个人搭建网站一般都是用Ubuntu,刚买来的VPS一般什么都没安装,或者默认也只有Apache。为了快速搭建好Web服务器,就把自己用的一些东西写下来,另外也是在自己以后再买VPS时忘记怎么配置时,有个参考。