Bikin Ubuntu Jadi Server

Mari Kita Belajar Cara buat server di Ubuntu ok...@_+ Berikut Rangkuman yang bisa saya jabarkan cie2 jabarkan..hakakak
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
address 203.89.22.68
netmask 255.255.255.192
gateway 203.89.22.65
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
5. Tes VSFTPD
# ftp localhost
Connected to localhost.
220 Selamat datang difeisty release party
Name (localhost:akbar): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

+++++++++
Setup SSH
+++++++++

1. Install SSH
# apt-get install openssh-server
2. Menjalankan SSH
# ssh root@localhost
The authenticity of host ‘localhost (127.0.0.1)’ 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.
root@feisty:~#

+++++++++++++++++
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…

Sumber :pingintau.com


Related Articles






IP

Followers

 

Copyright © 2009 by ::EXPLORE::