Friday, October 19, 2012
Linux 搜索
使用电脑的时候,经常需要查找文件。
在Linux中,有很多方法可以做到这一点。国外网站LinuxHaxor总结了五条命令,你可以看看自己知道几条。大多数程序员,可能经常使用其中的2到3条,对这5条命令都很熟悉的人应该是不多的。
Install JDK in Ubuntu
sudo mv ***/jdk /usr/lib/jvm/jdk1.7.0
ln /usr/lib/jvm/jdk1.7.0 /usr/lib/jvm/jdk
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/jdk/bin"
CLASSPATH=".:/usr/lib/jvm/jdk/lib"
JAVA_HOME="/usr/lib/jvm/jdk/jre"
. /etc/environment
ln /usr/lib/jvm/jdk1.7.0 /usr/lib/jvm/jdk
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/jdk/bin"
CLASSPATH=".:/usr/lib/jvm/jdk/lib"
JAVA_HOME="/usr/lib/jvm/jdk/jre"
. /etc/environment
Add new Item to Ubuntu unity
参考
Create **.desktop in /usr/share/applications/ for example
Create **.desktop in /usr/share/applications/ for example
[Desktop Entry] Version=1.0 Name=Zend Studio GenericName=Zend Studio X-GNOME-FullName=Zend Studio PHP IDE Comment=PHP IDE for PHP development Type=Application Categories=Application;Development;PHP;IDE;Programming Exec=/home/username/Zend/ZendStudio-9.0.2/ZendStudio TryExec=/home/username/Zend/ZendStudio-9.0.2/ZendStudio Terminal=false StartupNotify=true Icon=/home/username/Zend/ZendStudio-9.0.2/icon.xpm
linux 网络设置
参考 参考
Ubuntu ships with a number of graphical utilities to configure your network devices. This document is geared toward server administrators and will focus on managing your network on the command line.
Network Configuration
Tuesday, October 16, 2012
Subscribe to:
Posts (Atom)