Tuesday, September 01, 2009

How to Setup Solaris 9 after instalation

When finished installing the OS on the system, the following steps to improve the OS configuration :
1. Install Patches

Insert DVD EIS to cdrom/dvdrom device
root # cd /cdrom/eis-dvd/sun/install
root # ./setup-standard.sh
root # . /.profile
root # cd /cdrom/eis-dvd/sun/patch/9 ---ini bisa disesuaikan dengan solaris serinya
root # unpack-patches /tmp
root # cd /tmp/9
root # eject ----buat ngeluarin cdrom
root # ./install_patches



2. Setting IP address
syntax : #ifconfig [interface] plumb

root # ifconfig bge0 plumb
root # ifconfig bge0 192.168.200.90 netmask 255.255.255.0 broadcast + up


3. Setting Hostname
root # vi /etc/hosts
127.0.0.1 localhost
192.168.200.90 sunmc sunmc.com loghost
wq!



4. Edit File :
root # vi /etc/hostname.bge0
sunmc
wq!


root # vi /etc/defaultrouter
192.168.200.1
wq!


root # vi /etc/inet/netmasks
192.168.200.0 255.255.255.0
wq!


If we want to enable telnet, do as the following configuration :
root #vi /etc/default/login
put a # in the following lines
CONSOLE=/dev/console
wq!


For setting FTP
root #vi /etc/ftpd/ftpusers
put a # in the following lines
root
wq!


For Setting ssh :

root #vi /etc/ssh/sshd_config
PermitRootLogin no ---> replace no with yes
wq!

0 komentar:

Post a Comment

 
footer