Early set

From CSBLwiki

(Difference between revisions)
Jump to: navigation, search
(1. Assigning static IP address)
(2. Setting Han-gul)
Line 35: Line 35:
system settings -> language support -> keyboard input method system -> nabi
system settings -> language support -> keyboard input method system -> nabi
logout -> login
logout -> login
 +
 +
Move Nabi pannel to tray icon
 +
Check list
 +
$gsettings get com.canonical.Unity.Panel systray-whitelist
 +
['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
 +
 +
Add nabi
 +
gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Nabi']"
 +
 +
Re-log in
===3. kr.archive.ubuntu.com -> ftp.daum.net change===
===3. kr.archive.ubuntu.com -> ftp.daum.net change===

Revision as of 02:06, 28 September 2012

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

Contents

Early setting after installing ubuntu

1. Assigning static IP address

Setting static IP address

# /etc/network/interfaces
auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 163.152.1.1 163.152.11.6

Setting DNS server - (No need to manual configuration. Automatically configured.)

# /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

Move Nabi pannel to tray icon

Check list
$gsettings get com.canonical.Unity.Panel systray-whitelist
['JavaEmbeddedFrame', 'Wine', 'Update-notifier']

Add nabi
gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Nabi']"

Re-log in

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

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/target
Done!
Personal tools
Namespaces
Variants
Actions
Site
Choi lab
Resources
Toolbox