Ubuntu Configuration

Ubuntu  OS 安装

插入U盘,从U盘启动就可以了。

ssh server

sudo apt-get install openssh-server

//to test from a windows box, with PUTTY or Cygwin
ssh UserName@IP

NoMachine (NX server)

对于一个习惯了window的人来说,还是必须有界面啊。好在安装已经傻瓜化了。这里下载

 $ sudo dpkg -i nomachine_4.2.26_1_i386.deb
 
 //if cannot connect from windows
 cd /usr/NX/bin
 sudo ./nxserver --startup

tmux,vim 在公司习惯了

sudo apt-get install tmux
sudo apt-get install vim

JDK

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java7-set-default

MAVEN

sudo apt-get install maven2


Eclipse // copied from stackoverflow

After you have downloaded the correct package, extract the eclipse.XX.YY.tar.gz using

tar -zxvf eclipse.XX.YY.tar.gz

switch to root user:

sudo -i

Copy the extracted folder to /opt

cp -r eclipse.XX.YY /opt

Create a desktop file in the location /usr/share/applications and install it:

gedit eclipse.desktop

Copy the following to the eclipse.desktop file.

[Desktop Entry]
Name=Eclipse 
Type=Application
Exec=eclipse
Terminal=false
Icon=eclipse
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

Give the desktop file permission to be executed, run:

chmod +x eclipse.desktop

Run the following command to automatically install it in the unity:

desktop-file-install eclipse.desktop

Create a symlink in /usr/local/bin using

cd /usr/local/bin
ln -s /opt/eclipse/eclipse

For an eclipse icon to be displayed in dash, eclipse icon can be added as

cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm

VIM PlugIns

   

https://github.com/vim-scripts/Lucius
cd ~/.vim
mkdir colors
git or copy file to here

//test
vim path/file
:colorscheme lucius


你可能感兴趣的:(Ubuntu Configuration)