Early set
From CSBLwiki
<html> <style type="text/css">
.basic {
font-family : helvetica; font-size : 12pt;
}
pre {
font-size : 12pt; padding: 10pt; margin: 5pt 0; border: 2px solid #abcdef; background-color: #f9f9f9; font-family:sans-serif; line-height: 160%;
}
</style> </html>
|
Early setting after installing ubuntu
1. Assigning static IP address
Setting static IP address
# /etc/network/interfaces
iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 auto eth0
Setting DNS server
# /etc/resolv.conf nameserver 10.23.11.24 nameserver 10.23.12.24
Restart network
$ sudo /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... [ OK ]
You may be finding the warning, but it's ok.
2. Setting Han-gul
open terminal (Alt + Ctrl + t)
$ sudo apt-get install nabi
system settings -> language support -> keyboard input method system -> nabi logout -> login
3. kr.archive.ubuntu.com -> ftp.daum.net change
$ sudo -s # access as root $ cd /etc/apt $ vim sources.list :%s/kr.archive.ubuntu.com/ftp.daum.net/g :wq $ sudo apt-get update
4. Install SSH
$ sudo apt-get install ssh
5. Install vim
$ sudo apt-get install vim
6. R-studio server establishment
Install R
$ sudo apt-get install r-base-core
Edit /etc/apt/sources.list
# /etc/apt/sources.list deb http://cran.cnr.Berkeley.edu/bin/linux/ubuntu precise/
Update and upgrade apt-get
$ sudo apt-get update $ sudo apt-get upgrade
Install apache2, php, MySQL
$ sudo apt-get install tasksel $ sudo tasksel install lamp-server
Install R studio-server
# Prerequisites $ sudo apt-get install libssl0.9.8 $ sudo apt-get install libapparmor1 apparmor-utils
# Download and install for 32-bit Ubuntu $ wget http://download2.rstudio.org/rstudio-server-0.96.316-i386.deb $ sudo dpkg -i rstudio-server-0.96.316-i386.deb
# Download and install for 64-bit Ubuntu $ wget http://download2.rstudio.org/rstudio-server-0.96.316-amd64.deb $ sudo dpkg -i rstudio-server-0.96.316-amd64.deb
Test
http://localhost:8787
7. Mount NAS server to /home/illumina
Edit /etc/fstab
# copy fstab file for backup $ sudo cp /etc/fstab /etc/fstab.backup
# Add below code to /etc/fstab //192.168.0.1/share /home/target cifs username=mbnmbn00,password=mbnmbn00 0 0
※ Caution : NO space from username to password
# Mount application $ sudo mount -a
Unmount
$ sudo unmount /home/targetDone!