`

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

    Menlow board development environment setup.pdf

    本文将基于“Menlow board development environment setup.pdf”的标题、描述、标签以及部分内容,深入探讨Menlow板的开发环境搭建过程,特别是Moblin环境的安装步骤。 ### Menlow板概述 Menlow板是一款专为移动...

    UM0096 Realtek Ameba-1 build environment setup - gcc.pdf

    对于Linux系统而言,安装GCC环境相对简单,大多数发行版都提供了方便的包管理器。 1. **Ubuntu/Debian系统**: - 打开终端,执行以下命令来安装gcc: ```bash sudo apt-get update sudo apt-get install build-...

    Linux device driver 3nd(EN)

    2. **Development Environment Setup**: - Guidance on setting up a development environment suitable for writing device drivers, including tools, compilers, and debugging utilities. - Instructions on ...

    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...

    CUDA for Linux

    - **Development Environment Setup:** - Set up an IDE (Integrated Development Environment) such as Visual Studio Code or Eclipse with CUDA support. - Install necessary plugins and configurations to ...

    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 ...

    oracle8i在linux9的安装

    #| SETUP ORACLE ENVIRONMENT | #+--------------------------+ export ORACLE_SID=orcl export ORACLE_BASE=/oracle export ORACLE_HOME=$ORACLE_BASE/product/8.1.7 export LD_LIBRARY_PATH=$ORACLE_HOME/...

    CentOS JAVA jdk-8u202-linux-x64 脚本安装包

    它包含了Java编译器、调试器、JRE(Java Runtime Environment)以及各种工具,如jar打包工具、文档生成工具等。JDK 1.8,也称为Java 8,是一个重要的版本,引入了lambda表达式、函数式接口等新特性,对开发者效率有...

    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 ...

    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]

    Linux Kernel 2.4 Internals

    - Spinlocks are used for mutual exclusion in a multi-threaded environment. This section discusses the different types of spinlocks and their usage in the kernel. 14. **Semaphores and Read/Write ...

    suse linux

    SUSE Linux,全称为“Software for Usable Systems Environment”,是由德国的SUSE公司开发的一款开源操作系统,是Linux发行版中的重要成员。SUSE Linux以其稳定性、安全性以及对企业级应用的良好支持而广受赞誉,...

    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 ...

    IBM Linux红皮书英文资料集

    Setup Linux on IBM System z for Production - **概述**:介绍了如何在IBM System z上设置Linux环境,以便在生产环境中使用。 - **关键点**: - 系统z的基础知识 - Linux on System z安装过程 - 生产环境下的...

    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 ...

Global site tag (gtag.js) - Google Analytics