Skip to main content

Beberapa Setting setelah install Ubuntu server 10.04


1.Menambahkan Hak Akses root
Setelah reboot Anda dapat login dengan username dibuat sebelumnya Anda (misalnya administrator). Karena kita harus menjalankan semua langkah-langkah dari tutorial ini dengan hak akses root, kita bisa tambahkan semua perintah dalam artikel ini dengan sudo  atau kita menjadi root sekarang dengan mengetikkan :

sudo su
sudo passwd root
 (silahkan isi password root, dan confirm password root)

2.Install SSH Server
Jika Anda tidak menginstal OpenSSH server selama instalasi sistem, Anda bisa melakukannya sekarang dengan perintah : 

aptitude install ssh openssh-server
kemudian anda bisa akses ssh client via Putty . download putty

3.Install Vim-Nox (Optional)
  untuk menginstall editor vi seperti dalam artikel ini . 
aptitude install vim-nox
anda bisa menggunakan editor lain , seperti pico atau nano 
4. Konfigurasi Network 
   Ubuntu secara default konfigurasi network secara DHCP, kita harus mengubah itu sekarang karena server harus memiliki alamat IP statis. untuk mengubahnya Edit /etc/network/interfaces dan menyesuaikan dengan kebutuhan Anda (dalam contoh ini konfigurasi saya akan menggunakan alamat IP 192.168.1.253

vi /etc/network/interfaces  (untuk mengedit tekan insert/mode edit)

# 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

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.253
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.210
 
untuk save  ,tekan :wq!

Restart network :
/etc/init.d/networking restart

5.edit /etc/hosts
ubah menjadi seperti dibawah ini :

vi /etc/hosts

127.0.0.1       localhost.localdomain   localhost
192.168.1.253 server1.domain.co.id server1

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
 
 jalankan
 
echo server1.domain.co.id > /etc/hostname
/etc/init.d/hostname restart 
 
Update system 
 
aptitude update
aptitude safe-upgrade 
reboot 
 

6.Disable AppArmor

/etc/init.d/apparmor stop

update-rc.d -f apparmor remove

aptitude remove apparmor apparmor-utils
  

7.Synchronize the System Clock

aptitude install ntp ntpdate 





Comments

Popular posts from this blog

[Arsip] Uninstal Zimbra Mail Server

UnInstalling Zimbra on Linux Uninstall Directions for Linux/All Other Operating Systems As root: 1) Run the commands: su – zimbra zmcontrol stop exit (you should be root after you run exit) 2a) Run the command:  ps -ef | grep -i zimbra If you see running processes 2b) Kill any lingering processes:  kill -9 <pid> 3a) Run the command:  df If you see "amavisd" 3b) run command:  umount /opt/zimbra/amavisd<-new-blah>/tmp 4)  cd /<tmp_tar_install_dir>/zcs/ 5) Run the command:  ./install.sh -u 6) Run the following commands to complete the unistall: rm -rf /opt/zimbra rm -rf /var/log/*zimbra* rm -rf /tmp/*zimbra* rm -rf /tmp/hsperfdata* rm -rf /tmp/install.* rm -rf /tmp/*swatch* rm -rf /tmp/log* Ensure that you removed ALL the files owned by the user zimbra AND that contain the name "zimbra" in: /var/log/ /tmp/ 7) Run the following commands to delete the users and groups: userdel zimbra userdel postfix groupdel zimbra groupdel postfix 8) Remove th...

Membuat fungsi “terbilang” Excel menggunakan macro VBA

Jika Anda ingin menerjemahkan Angka menjadi Kata-kata , contohnya saja dalam pembuatan Form Kwitansi suatu Transaksi , anda dapat membuatnya dengan menggunakan aplikasi Microsoft Excel dan Macro Visual Basic Application ( VBA ) .saya menggunakan Excel 2007 Untuk membuatnya silahkan ikuti langkah-langkah dibawah ini :  buka Microsoft Excel , lalu tekan alt+F11  Setelah Muncul Microsoft Visual Basic , lalu pilih Insert > module Isikan code Seperti diatas  silahkan anda download source code nya disini !! Save Book ( ctrl+S)   Save As type : pilih Excel Macro - Enable Workbook  (*.xlsm) lalu klik Save  pilih File > Close and return to microsoft excel , macro sudah dibuat , sekarang kita tinggal test macro tersebut Tempatkan cell A2 , pilih Formulas > Insert Function lalu pilih Category User Defined Terlihat Function terbilang yang sudah dibuat tadi di VBA , klik Ok Akan Tampil Form Seperti diatas ,  Nilai_angka  arahkan ke Cell A1 ( ters...