Archive for November, 2007
Instalasi FTP Server menggunakan Proftpd (.tar.gz version)
Setelah saya mencoba instalasi FTP Server ini, saya akan coba sampaikan juga kepada pembaca semua sebagai bahan dasar ‘ngoprek’ FTP server dilinux. Adapun langkah-langkahnya sebagai berikut:
1. Download paket proftpd-1.3.10.tar.gz (atau versi yang lebih besar) dari situs www.proftpd.org
2. Ekstrak ke direktori tertentu:
[root@localhost]# tar zxvf proftpd-1.3.10.tar.gz -C /usr/local/proftpd
3. Masuk Ke direktori baru hasil ekstrak:
[root@localhost]# cd proftpd-1.3.10
4..Kompile dan install:
./configure
make
make install
4. Buat user yang akan menjalankan proftpd:
[root@localhost proftpd-1.2.10]# useradd proftpd -s /dev/null
5. Buat home directory untuk anonymous
[root@localhost proftpd-1.2.10]# mkdir /home/ftp
6. Edit file konfigurasi proftpd dengan text editor
[root@localhostproftpd-1.2.10]# vi /usr/local/etc/proftpd.conf
7. Contoh file konfigurasi proftpd.conf untuk basic ftp server:
# This is a basic ProFTPD configuration file (rename it to
# ‘proftpd.conf’ for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# “nobody” and “ftp” for normal operation and anon.
ServerName “Latihan FTP Server Ardi”
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30
# Set the user and group that the server normally runs at.
User proftpd
Group proftpd
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous /home/ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with “anonymous” as well as “ftp”
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want ‘welcome.msg’ displayed at login, and ‘.message’ displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
8. Jalankan proftpd:
[root@localhost proftpd-1.3.10]# /usr/local/sbin/proftpd
10. Jika ada error, selalu lakukan cek di /var/log/messages
[root@localhostproftpd 1.3.10]# tail /var/log/messages
11. Jika tidak ada error, lakukan test dengan mencoba ftp server baru tersebut
[root@localhost proftpd-1.3.10]# ftp localhost
Connected to localhost (127.0.0.1).
220 ProFTPD 1.3.4 Server (Latihan FTP Server) [t]
Name (localhost:root):
331 Password required for
Password:
230 User wawawawa logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
12. Lakukan test juga terhadap konfigurasi anonymous ftp server.
[root@localhostproftpd-1.3.10]# ftp localhost
Connected to localhost (127.0.0.1).
220 ProFTPD 1.3.4 Server (Latihan FTP Server)
Name (localhost:root): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
Jika output yang keluar adalah seperti di atas ftp server telah berjalan dengan baik .
Untuk konfigurasi mengenai FTP selanjutnya bisa di oprek2 di file konfigurasi proftpd.conf
Sekian…. Selamat mencoba, semoga berhasil.
Add comment November 14, 2007
Installing firefox on Linux
Just use following instructions to download and install Firefox.
Download firefox to your Linux desktop
=> Visit this site to download firefox
How do I install firefox for home directory?
Let us say you would like to install firefox in your own home directory called /home/tom/firefox
$ mkdir /home/tom/firefox
Change directory:
$ cd /home/tom/firefox
Copy your files to /home/tom/firefox and untar it:
$ cp /home/tom/Desktop/firefox-2.0.0.5.tar.gz .
$ tar -zxvf firefox-2.0.0.5.tar.gz
And you are done. Start firefox:
$ /home/tom/firefox/firefox &
How do I install firefox for everyone?
Install Firefox in /opt directory. Login as root user:
# cd /opt To start firefox:
# mkdir firefox
# cd firefox
# cp /home/tom/Desktop/firefox-2.0.0.5.tar.gz .
# tar -zxvf firefox-2.0.0.5.tar.gz
$ /opt/firefox/firefox &
can i create a shortcut on desktop ?
you can create Desktop short by right clicking on Desktop > Create New > File > Link to Application
Next Select Application Tab > Type Description and Comment as FireFox and Command as /opt/firefox/firefox
Click Ok to save and you are done. This is for KDE desktop.
You can acces at : http://www.cyberciti.biz/faq/how-to-install-firefox-20targz-in-linux/
– Thanks –
Add comment November 12, 2007