May 2012
20 posts
May 28th
5 notes
My Little Nerdy: Why do I use Linux? →
mylittlenerdy: I use Linux to make a statement. I make a statement to appreciate the beauty of open-source software. I make a statement about my love of lifelong learning. I make a statement about frugality. I make more than just a statement. I make an invitation. Open-source software makes the world go…
May 19th
19 notes
1 tag
May 17th
2 notes
3 tags
A good FAQ website about Linux/UNIX
http://www.cyberciti.biz Some simple but useful FAQ about Linux/UNIX, to search, you need to turn to the bottom of the page :p
May 17th
3 tags
lm-sensors - Linux hardware monitoring
http://www.lm-sensors.org/
May 15th
2 tags
How to set up Python scripting for Apache →
May 15th
3 tags
Install RPM Packages on Ubuntu
In Ubuntu/Linux Mint you can install softwares from Software Centers or via PPA/Synaptic . If any software is not available in deb/software center/ppa and it’s only available in rpm, than you can convert that rpm file to deb package with one command using terminal. First install packages that will convert rpm packages to Debian $ sudo apt-get install alien dpkg-dev debhelper...
May 15th
2 tags
linux 中重啓 ibus 輸入法框架
linux 中重啓 ibus 輸入法框架,只需要一行命令: $ ibus-daemon -d -x -r 可以縮寫成: $ ibus-daemon -dxr . 暴力版的,不推薦使用: $ killall ibus-daemon && ibus-daemon -d
May 13th
May 10th
May 10th
5 tags
ubuntu/debian 修改默认shell
ubuntu 从 6.10 Edgy 开始,将/bin/sh链接到了/bin/dash而不是传统的/bin/bash dash是不同于bash的shell,它的速度更快,但功能要比bash少很多,语法严格遵守POSIX标准。dash更适合执行脚本,而不是交互操作。 (dash和bash的区别可以看这一篇博客:http://www.igigo.net/page/2) 但是很多脚本都不是完全兼容POSIX标准的,而且执行某些操作(例如安装配置OpenVZ)会需要将默认的shell由dash改成bash。 方法一: $ sudo ln -sf /bin/bash /bin/sh 方法二: $ sudo dpkg-reconfigure dash 然后选NO 将dash恢复成默认shell,同样执行这个命令,然后选YES
May 10th
May 10th
1,364 notes
https://www.accessnow.org/ →
Access is a global movement premised on the belief that political participation and the realization of human rights in the 21st century is increasingly dependent on access to the internet and other forms of technology. Founded in the wake of the 2009 Iranian post-election crackdown, Access teams with digital activists and civil society groups internationally to build their technical capacity and...
May 9th
2 tags
vim 大小寫轉換
大小寫轉換:gu/gU 很形象:gu轉小寫,gU轉大寫 . 例如,全文轉小寫只需要三個步驟:gg gu G 三個步驟的含義是: gg => 光標移動到第一行 gu => 轉小寫的命令,gu需要指定范圍 G  => 到文件結束
May 9th
2 tags
FreeBSD 安裝 sudo
# cd /usr/ports/security/sudo # make install clean # visudo(用visudo命令,不要直接編輯/usr/local/etc/sudoers這個文件) %wheel  ALL=(ALL)  ALL (允許wheel組的用戶使用sudo) 或 %wheel  ALL=(ALL)  NOPASSWD: ALL(允許wheel組的用戶使用sudo而不需要輸入密碼) 或 tux  ALL=(ALL)  NOPASSWD:ALL(允許用戶tux使用sudo且不需要輸入密碼) 保存并退出。
May 9th
1 note
FreeBSD 安装 VIM
do007: portsnap fetch update cd /usr/ports/editors/vim make WITHOUT_X11=yes install clean cp /usr/local/share/vim/vim73/vimrc_example.vim /usr/local/share/vimrc echo “alias vi=’vim’” » ~/.bashrc
May 9th
7 notes
2 tags
Fedora 16 (Gnome 3) 开机启动程序管理
按alt+F2输入gnome-session-properties (在终端机里输入也可以)
May 8th
2 tags
Red Hat 和 ubuntu 服务操作对比
启动服务:service httpd start => /etc/init.d/apache start 停止服务:service httpd stop => /etc/init.d/apache stop 让服务随系统启动自动运行:chkconfig httpd on => update-rc.d apache defaults 取消服务随系统启动自动运行:chkconfig httpd off => update-rc.d apache purge(有点问题,请查看man手册)
May 8th
1 tag
Linux安装完成之后要做的事
1. 安装vim,修改.vimrc 2. 更新系统,重启,安装驱动程序,再重启 3. 安装字体,中文字体DejaVuSansYuanTi。地址:http://forum.ubuntu.org.cn/viewtopic.php?f=8&t=110509 && http://code.google.com/p/qinsdisk/downloads/list 4. (ubuntu)安装版权受限软体包。 5. ubuntu官方源速度不错,ping了一下显示师sohu的镜像,喜欢163源的朋友可以换成163的。方法很简单:在Ubuntu Software Center的菜单里找到Software Sources……以前在系统设置里有的,12.04之后需要在软体中心里找。  ...
May 8th
hello, world
echo “hello, world”;
May 7th