Bikin Ubuntu jadi Server

Berikut ini cara bikin ubuntu jadi server : 

Main Menu

1. Setup Address
2. Update Sourcelist
3. FTP Server
4. WebServer
5. SSH

Setup IP Address

1. Mengecek Network Interface
# ifconfig -a
2. Mengeset IP Address
# vim /etc/network/interfaces
Edit seperti baris berikut
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
3. Restart Network
# /etc/init.d/networking restart
4. Mengecek Setting Interface
# ifconfig

Update Sourcelist

1. Backup Source
# cd /etc/apt
# cp sources.list sources.list.backup
2. Update sourcelist
# apt-get update
3. Upgrade sourcelist
# apt-get upgrade
# apt-get dist-upgrade

Setup FTP Server

1. Install VSFTPD
# apt-get install vsftpd
2. Konfigurasi VSFTPD
# vi /etc/vsftpd.conf
anonymous_enable=YES <–> enable anonymous
local_enable=YES <–> enable local user
write_enable=YES <–> enable read write
3. Setting Banner VSFTPD
# vi /etc/vsftpd.conf
ftpd_banner=Selamat datang difeisty release party
4. Jalankan VSFTPD
# /etc/init.d/vsftpd start
# ftp localhost
Connected to localhost.
220 Selamat datang difeisty release party
Name (localhost:akbar): anonymous
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

Setup SSH

1. Install SSH
# apt-get install openssh-server
2. Menjalankan SSH
# ssh root@localhost
The authenticity of host ‘localhost (’ can’t be established.
RSA key fingerprint is 70:8c:e3:cc:ab:b4:0d:f4:6a:fd:29:6f:e6:33:02:04.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘localhost’ (RSA) to the list of known hosts.
root@localhost’s password:
Linux feisty 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Setting WebServer

1. Install Apache
# apt-get install apache2 apache2-mpm-prefork apache2-utils
2. Install PHP
# apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi
3. Install MYSQL
# apt-get install mysql-server mysql-client
# apt-get install php5-mysql
4. Install Dependency
# apt-get install make gcc g++
# apt-get install cgilib libttf-dev libttf2 libpngwriter0-dev
libpng3-dev libfreetype6-dev libart-2.0-dev snmp

 Semoga bermanfaat 🙂


~ oleh gandhiprima pada 3 Desember, 2007.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: