Mount Linux CIFS share
Mount CIFS with the default local filesystem permissions:
# mkdir /mnt/cifs
# mount -t cifs //server-name/share-name /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
# mount -t cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
OR
# mount.cifs //192.168.101.100/sales /mnt/cifs -o username=shareuser,password=sharepassword,domain=nixcraft
Ubuntu command package managers
command line: “aptitude”
GUI: “synaptic”
routes
route add default gw 10.0.0.1
Auto Start Service on Boot
[root@phpcserver ~]# who -r
run-level 5 2012-07-17 11:47 last=S
[root@phpcserver ~]# chkconfig –level 5 ntpd on
[root@phpcserver ~]# chkconfig –list ntpd
ntpd 0:off 1:off 2:off 3:off 4:off 5:on 6:off
[root@phpcserver ~]#