+. 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
# wget http://www.levien.com/type/myfonts/Inconsolata.otf
# --- place the 'consola' fonts to temp directory ---
+. xrdp configuration
+. ubuntu-desktop (~.~)
# apt-get install ubuntu-desktop (or) apt-get install xubuntu-desktop
# /etc/init.d/gdm startre/
# dpkg-reconfigure xserver-xorg
'Linux (pLinux & x86)' 카테고리의 다른 글
LinuxMint 에서 compiz 설정하기... (0) | 2013.01.17 |
---|---|
cifs / ftp 를 Linux file system으로 mount (0) | 2012.12.14 |
apt-get & apt-cache 명령어 정리 (0) | 2012.10.05 |
ubuntu에서 samba && nfs && tftp 구성 (0) | 2012.10.05 |
Ubuntu에서 rpm 파일셋 설치 (0) | 2012.10.05 |