Ubuntu
chengcyh
这个作者很懒,什么都没留下…
展开
-
创建Eclipse图标
sudo gedit /usr/share/applications/eclipse.desktop [Desktop Entry] Version=3.6 Encoding=UTF-8 Name=Eclipse SDK GenericName=Eclipse IDE X-GNOME-FullName=Eclipse IDE Comment=Eclipse IDE Exec=/ho...原创 2012-05-22 10:04:50 · 159 阅读 · 0 评论 -
ubuntu下安装android开发环境
sudo umount /media/cdrom sudo mount -o rw,loop ubuntu-11.10-server-amd64.iso /media/cdrom //fix android-sdk-linux/platform-tools/adb: error while loading shared libraries:libncurses.so.5: wrong EL...原创 2012-04-11 10:54:14 · 85 阅读 · 0 评论 -
安装输入法和chrome浏览器
sudo apt-get install fcitx wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb // sudo dpkg -i ./google-chrome-stable_current_amd64.deb sudo apt-get -f install google-chr...原创 2012-04-10 09:14:28 · 126 阅读 · 0 评论 -
解决sudo apt-get install *时出错:Could not get lock /var/lib/dpkg/lock
sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock原创 2012-04-06 18:10:42 · 637 阅读 · 0 评论 -
删除多余内核,节省空间
今天在升级ubuntu时提示boot分区空间不足,没办法只能删除些多余的内核了。 uname -a //查看当前使用的内核版本 dpkg --get-selections|grep linux //列出系统安装的内核 sudo apt-get remove linux-image-*.*.*-**-generic //删除低版本 sudo apt-get remove linux-head...原创 2012-07-24 09:46:38 · 183 阅读 · 0 评论 -
在ubuntu下安装subversion
Subclipse 1.4.x includes and requires Subversion 1.5.x client features and working copy format. Subclipse 1.6.x includes and requires Subversion 1.6.x client features and working copy format. Subcli...原创 2012-07-21 08:47:50 · 174 阅读 · 0 评论 -
install jdk in ubuntu 12.04
Installing Sun JDK 6 on Ubuntu Download the sun jdk 6 bin from here . sudo mkdir /usr/lib/jvm sudo cp Downloads/jdk-6u32-linux-x64.bin /usr/lib/jvm/ cd /usr/lib/jvm/ c...原创 2012-06-06 10:49:50 · 93 阅读 · 0 评论 -
install Gwt designer in ubuntu 12.04
download and install libhunspell-1.2-0_1.2.8-6ubuntu1_amd64.deb from http://packages.ubuntu.com/lucid/amd64/libhunspell-1.2-0/download sudo gedit /etc/apt/sources.list add the following co...原创 2012-06-06 10:42:41 · 195 阅读 · 0 评论 -
服务管理
sudo apt-get install sysv-rc-conf Linux的运行级别: * 0 System Halt * 1 Single user * 2 Full multi-user mode (Default) * 3-5 Same as 2 * 6 System Reboot原创 2012-05-24 10:38:08 · 85 阅读 · 0 评论 -
在ubuntu下,给postgresql 9.1 添加uuid功能
1.安装基础库: sudo apt-get install uuid 2. 登录数据库: sudo -u postgres psql databaseName 3. 安装扩展库: create extension "adminpack"; create extension "uuid-ossp";原创 2012-09-18 14:42:10 · 205 阅读 · 0 评论