`

linux environment setup

阅读更多

1. set default OS in launch

sudo gedit /boot/grub/menu.lst

look for

"default        5", set the number to the index of your default OS.

/boot/grub/grub.cfg "replaces" Grub Legacy's /boot/grub/menu.lst since ununtu9.10

 

2. SCIM

sudo apt-get install scim
sudo apt-get install scim-tables-zh

 

Log out, then log in again. SCIM should be now the default input for all applications

 

 

3. java

Ubuntu10.04  sun-java6-jdk 安装

众所周知,10.04当中sun-jdk被弄走了。从某种程度上说我还是不大适应openjdk,于是在官方的release notes 里面看到这样一段:

Sun Java moved to the Partner repository

For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.

If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:

add-apt-repository "deb http://archive.canonical.com/ lucid partner"

---------------
于是:
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk

不过速度就相当可怕了,十几K。

话说openjdk除了那个字体难看一点(10.04里面是 否如此我不知道),基本也没什么问题,用sun的jdk字体就可以了。

 

4. g++

Install g++ if it does not work.

sudo apt-get install g++

 

5. good terminator

 

sudo apt-get install terminator
 

6. aptitude

sudo apt-get aptitude

7. search the package to install

 

aptitude search <package_name>

  8. quick launch tool

sudo apt-get install gnome-do
 

Install ant

 

[root@laptop:~] cd /tmp 
[root@laptop:/tmp] wget http://www.carfab.com/apachesoftware//ant/binaries/apache-ant-1.8.2-bin.zip

[root@laptop:/tmp] unzip apache-ant-1.8.2-bin.zip
[root@laptop:/tmp] mv apache-ant-1.8.2 /usr/local/ant
[root@laptop:/tmp] ln -s /usr/local/ant/bin/ant /usr/local/bin/ant
 

Install mysql

sudo apt-get install mysql-server mysql-client
 

 

分享到:
评论

相关推荐

    ArchLinuxEnvironmentSetupHowTo.pdf 英文原版

    Arch Linux Environment Setup How To

    Kali.Linux.Pentesting.Cookbook

    Install and setup Kali Linux on multiple platforms Customize Kali Linux to your individual needs Exploit vulnerabilities you've found with Metasploit Carry out web application and network exploitation...

    Linux Administration: A Beginner's Guide, Fifth Edition

    Author Steve Shah does a great job of clueing Linux newcomers into the environment. His explanations are clear, patient, accurate, and useful, and they cover all aspects of the system administrator's...

    cygwin setup

    Cygwin is a Linux-like environment for Windows. It consists of two parts: A DLL (cygwin1.dll) which acts as a Linux API emulation layer providing substantial Linux API functionality. A collection ...

    Packt.Linux.Administration.Cookbook.178934252X.rar

    Introduction and Environment Setup Remote Administration with SSH Networking and Firewalls Services and Daemons Hardware and Disks Security, Updating and Package Management Monitoring & Logging ...

    linux全志R16的linux系统编译的资料_20170502_1655.7z

    Welcome to mkscript setup progress All available chips: 0. sun8iw5p1 Choice: 0 All available platforms: 0. android 1. dragonboard 2. linux 3. tina Choice: 2 All available kernel: 0. linux-3.4 ...

    linux下的snmp测试脚本

    linux环境下的snmp测试脚本, Installing SNMPv2C ...4. Setup ct environment % (enable TN's ipv6 capibility) % cd $SOMEWHERE/ct-snmpv2c-ag-X.X % edit config.txt % make test [End of INSTALL]

    jdk-7u80-linux-i586.gz

    解压到当前目录:$ tar -zxvf /opt/setup/jdk-7-ea-bin-b145-linux-i586-07_jun_2011.tar.gz 2、环境配置 $sudo vi /etc/profile 在末尾行添加 #set java environment JAVA_HOME=/usr/local/jdk1.7.0 ...

    Linux命令大全完整版

    setenv(set environment variable) 48 setup 48 sndconfig 48 SVGAText Mode 49 timeconfig 49 ulimit 50 unalias 50 unset 51 3. linux文档编辑命令 52 col 52 colrm(column remove) 52 comm(common) 52 csplit...

    Development-Environment-Setup-For-Android:Android开发环境设置

    这是用于在Android Linux中设置开发环境的手册。 本手册与 Android Linux的高级软件包管理器。 Node.js # Recommend pkg i nodejs # Alternatively pkg install nodejs-lts 检查node.js和npm的版本。 node -v ...

    Web Penetration Testing with Kali Linux.pdf

    on the Kali Linux environment, and setting up Kali for topics presented in this book. Chapters 2-6, cover various web application Penetration Testing concepts including configuration and reporting ...

    Machine Learning Mini-Project A 3D Human Model for Robust Shape

    # Environment Setup + If based on Server Ubuntu or Linux: &gt; `conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.1 -c pytorch` + For other cases(Mac or Windows): 1. Install **CUDA 10.1** :...

    linuxdeploy-2.1.0-237.apk

    After the initial setup the password for SSH and VNC generated automatically. The password can be changed through "Properties -&gt; User password" or standard OS tools (passwd, vncpasswd). The app is ...

    Linux-process答案1

    1. If you use shell script to setup some environment variables, How should you r

    Dev-Setup:用于设置基本开发环境的自动化脚本

    打开Terminal并运行: 通过wget # Download and run via wget/bin/bash -c " $( wget -O - https://github.com/XuehaiPan/Dev-Setup/raw/master/setup.sh ) " 通过卷曲# Download and run via curl/bin/bash -c " $...

    Android.application.development

    Environment Setup Chapter 3. Architecture Chapter 4. Application Components Chapter 5. Hello World Example Chapter 6. Resources Organizing & Accessing Chapter 7. ACCESSING RESOURCES IN CODE Chapter 8...

    Termux_0.101.apk.1.zip

    Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically - additional packages are ...

    lichee_20170502_1607_全志R16的linux系统编译需要改动的文件_使用parrotv1.1的内核_没有外层目录.7z

    Welcome to mkscript setup progress All available chips: 0. sun8iw5p1 Choice: 0 All available platforms: 0. android 1. dragonboard 2. linux 3. tina Choice: 2 All available kernel: 0. linux-3.4 ...

Global site tag (gtag.js) - Google Analytics