MERUBAH IP ADDRESS :
vim /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.6
netmask 255.255.255.0
gateway 192.168.0.2
RESTART IP ADDRESS :
/etc/init.d/networking restart
MERUBAH REPOSITORY :
vim /etc/apt/sources.list
#deb http://kambing.ui.edu/debian etch main contrib non-free
#deb http://kambing.ui.edu/debian etch/volatile main contrib non-free
#deb http://kambing.ui.edu/debian-security etch/updates main contrib non-free
deb http://kambing.ui.ac.id/debian/ stable main contrib non-free
deb http://kambing.ui.ac.id/debian-security/ stable/updates main contrib non-free
deb-src http://kambing.ui.ac.id/debian/ stable main contrib non-free
deb http://people.debian.org/~asac/stable ./
deb-src http://people.debian.org/~asac/stable ./
UPDATE PACKAGE :
apt-get update
INSTALL OPEN OFFICE :
tar -xzvf OOo_3.1.0_LinuxIntel_install_en-US_deb.tar.gz
cd OOO310_m11_native_packed-4_en-US.9399/DEBS/
dpkg -i *.deb
cd desktop-integration/
dpkg -i *.deb
apt-get install rpm
tar -xzvf OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz
cd OOO330_m20_native_packed-1_en-US.9567/
./setup
INSTALL PRINTER HP LASER JET 1000 :
wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
tar -xzvf foo2zjs.tar.gz
cd foo2zjs/
make
./getweb 1000
make install
make install-hotplug
make cups
UPDATE PACKAGE etc :
apt-get install openssh-server
apt-get install cupsys
apt-get install gaim
apt-get install build-essential
apt-get install iceweasel
apt-get install icedove
apt-get install samba smbfs smbclient
apt-get install tsclient
apt-get install xtightvncviewer
apt-get install foomatic-rip
apt-cache search foomatic | grep rip
apt-cache search foomatic
apt-get install foomatic-db
apt-get install bind9
apt-get install sun-java6-jre
INSTALL VIRTUALBOX :
download : virtualbox-4.0_4.0.4-70112~Ubuntu~lucid_i386.deb
apt-get update
apt-get install libqt4
apt-get install libqt4-network
apt-get install libqtgui4
apt-get install libqt4-opengl
dpkg -i virtualbox-4.0_4.0.4-70112~Ubuntu~lucid_i386.deb
INSTALL IPSCAN :
tar -xzvf ipscan_3.0-beta4_i386-deb.tar.gz
dpkg -i ipscan_3.0-beta4_i386.deb
apt-get remove ipscan
tar xjvf pidgin-2.6.3.tar.bz2
GANTI PASSWD root :
sudo smbpasswd -a root
sudo smbpasswd -a sysadmin
sudo /etc/init.d/samba restart
COPY & MOVE :
sudo cp smb.conf /etc/samba/
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.orig
SAMBA CONFIGURE :
vim /etc/samba/smb.conf
#### Browsing/Identification ###
[global]
workgroup = FINNA
server string = Server
wins support = yes
dns proxy = no
name resolve order = wins bcast host
username map = /etc/samba/smbusers
oplocks = yes
inherit permissions = yes
#####add domain for windows 7#####
client lanman auth = yes
client ntlmv2 auth = yes
lanman auth = yes
ntlm auth = yes
###### Reject Some File Extension To Be Saved
# veto files = /*.pif/*.mp3/*.com/*.db/*.avi/*.mpg/*.mpeg/*.{*}/
########## Networking ###########
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = true
##### Debugging/Accounting ######
log file = /var/log/samba/log.%m
log level = 3
max log size = 1000
; syslog only = no
syslog = 1
panic action = /usr/share/samba/panic-action %d
######### Authentication ########
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
; guest account = nobody
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
########### Domains ############
netbios name = SAMBA
domain logons = yes
domain master = yes
local master = yes
preferred master = yes
os level = 65
logon path =
logon drive = Z:
logon home = \\%N\%U
logon script = %U.bat
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
idmap uid = 10000-20000
idmap gid = 10000-20000
######### Misc Options ##########
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
# time server = yes
; do not show files starting with dots
hide dot files = yes
####### Share Definitions #######
[homes]
comment = %U Home Directory
path = /home/samba/users/%U
browseable = yes
writeable = yes
valid users = %U
[Users]
comment = Home Directory
path = /home/samba/users
browseable = yes
writeable = yes
valid users = @sudo
[Data]
comment = Data Backup
path = /home/samba/data
browseable = yes
writeable = yes
valid users = @sudo sysadmin
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
admin users = root Administrator
valid users = %U
browseable = yes
read only = yes
vim /etc/default/rcS
date 1118155409
cat /etc/resolv.conf
ping google.com
apt-get update
MERUBAH HOSTNAME :
nano /etc/hostname
/etc/init.d/hostname.sh stop
/etc/init.d/hostname.sh start
MOUNTING PARTISI NTFS :
apt-get install ntfs-3g
su
fdisk -l
cd /mnt
mkdir windows
mount /dev/sda1 /mnt/windows -t ntfs -r
umount /mnt/windows
Corel Draw (*.cdr)
apt-get install inkscape
apt-get install python-uniconvertor