+. activate root user
precise@ubuntu:~$ sudo passwd root
+. update apt repository to daum
root@ubuntu:~# cp /etc/apt/sources.list /etc/apt/sources.list.backup
root@ubuntu:~# vi /etc/apt/sources.list
> %s/kr.archive.ubuntu.com/ftp.daum.net/g
> wq
root@ubuntu:~# apt-get update
root@ubuntu:~# apt-get upgrade
+. basic application installation
root@ubuntu:~# apt-get install nmon
root@ubuntu:~# apt-cache search gcc | grep 4.7
root@ubuntu:~# apt-get install gcc gcc-4.7-base
root@ubuntu:~# apt-get install alien
+. telnetd/ftpd/sshd installation
root@ubuntu:~# apt-get install xinetd
root@ubuntu:~# apt-get install telnetd
root@ubuntu:~# vi /etc/xinetd.conf
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
root@ubuntu:~# /etc/init.d/xinetd restart
root@ubuntu:~# apt-get install proftpd
> standalone mode
root@ubuntu:~# vi /etc/ftpusers
> # root
root@ubuntu:~# vi /etc/proftpd/proftpd.conf
RootLogin on
root@ubuntu:~# service proftpd restart
root@ubuntu:~# apt-get install ssh
root@ubuntu:~# /etc/init.d/ssh restart
+. samba configuration
root@ubuntu:~# mkdir -p /opt/shared ; chmod -R 755 /opt/shared
root@ubuntu:~# apt-get install samba
root@ubuntu:~# smbpasswd -a precise
root@ubuntu:~# vi /etc/samba/smb.conf
[precise]
path=/opt/shared
read only=no
valid users=precise
browseable=yes
root@ubuntu:~# /etc/init.d/smbd restart
+. nfs configuration
root@ubuntu:~# apt-get install nfs-common nfs-kernel-server
root@ubuntu:~# /etc/init.d/nfs-kernel-server restart
root@ubuntu:~# vi /etc/exports
/nfs_home *(rw,no_root_squash,no_all_squash)
+. vnc configuration
root@ubuntu:~/.vnc# apt-get install xinit
apt-get install ubuntu-desktop >>> do not need to install ubuntu-desktop
root@ubuntu:~# apt-get install tightvncserver
root@ubuntu:~# vncserver
+. oracle java/jdk install
root@ubuntu:~# add-apt-repository ppa:webupd8team/java
root@ubuntu:~# apt-get update
root@ubuntu:~# apt-get install oracle-java6-installer
+. terminal/coding font install
# mkdir -p /usr/share/fonts/InconsolataInconsolata.otf
# wget http://www.levien.com/type/myfonts/Inconsolata.otf
# mv ./Inconsolata.otf /usr/share/fonts
# fc-cache -f -v
# mkdir -p /usr/share/fonts/truetype/consola
# --- place the 'consola' fonts to temp directory ---
# mv ./*.ttf /usr/share/fonts/truetype/consola/
# chmod 644 /usr/share/fonts/truetype/consola/*.ttf
# fc-cache -f -v
+. xrdp configuration
# apt-get install xrdp
# vi /etc/xrdp/xrdp.ini
--------------------
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=9389
crypt_level=low
channel_code=1
--------------------
# echo "gnome-session --session=ubuntu-2d" >> ~/.xsession
+. ubuntu-desktop (~.~)
# apt-get install ubuntu-desktop (or) apt-get install xubuntu-desktop
# /etc/init.d/gdm startre/
# dpkg-reconfigure xserver-xorg