Senin, 11 Mei 2009 di 19.32 | 1 komentar  
Setting mail server redhat9.0

Untuk konfigurasinya mail server ada 3 buah file yang harus di’setting’.

A. Konfigurasi file main.cf

[root@inung root]# vi /etc/postfix/main.cf
Isi data konfigurasi dalam file main.cf :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
soft_bounce = no
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
mydomain = inung.net
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, $mydomain
mynetworks_style = class
relay_domains = $mydestination
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

B. Konfigurasi file imap

[root@inung root]# vi /etc/xinetd.d/imap

Isi data konfigurasi dalam file imap :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# default: off
# description: The IMAP service allows remote users to access their mail using \
# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
# Communicator.
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

C. Konfigurasi file ipop3
[root@inung root]# vi /etc/xinetd.d/ipop3

Isi data konfigurasi dalam file ipop3 :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service pop3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

[root@inung root]# service xinetd start
// perintah untuk menjalankan konfigurasi xinetd

[root@inung root]# service postfix start
// perintah untuk menjalankan konfigurasi postfix

selanjutnya harus men’shutdown service’nya sendmail.
[root@inung root]# killall sendmail
//perintah untuk shutdown service sendmail

untuk pastinya apa sendmail ud ‘off’ apa belum cek pake :
[root@inung root]# ps ax |grep sendmail
Diposting oleh Abib Faisal
Kamis, 16 April 2009 di 05.57 | 0 komentar  
Instalasi Blogcms Redhat 9.0 - Xampp


1. Aktifkan xampp pada redhat

2. masuk terminal

3. Buat directory baru dengan nama aplikasi / kalau sudah ada tinggal aktif pada direktory aplikasi

4. Download blogcms.zip

blogcms.zip

atau

blogcms.zip

5. extrak :

# unzip blogcms.zip

6. pindahkan ke folder htdosc di xampp dengan nama direktory blogtkjsmk3

# mv blogcms /opt/lampp/htdocs/blogtkjsmk3

7. Merubah atribut file / folder

# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/media/1
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/media/.cache
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/forum
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/forum/cache
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/data
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/data/users.csv.php
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/data/cache
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/data/logs
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/data/logs/views..log
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/data/logs/views.-Corvette.log
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/photo/galleries
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/conf/users.auth.php
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data/changes.log
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data/attic
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data/cache
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data/locks
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data/media
# chmod -Rf 7777 /opt/lampp/htdocs/blogtkjsmk3/wiki/data/pages

8. Buka web broweser :
Http://localhost/blogtkjsmk3/install.phpDatabase type
General Database Settings

Database type used: MySQL 4.0 (mysql)MySQL 4.1/5.x (mysqli)SQLite (bundled with PHP 5.0)

MySQL login data
Enter your MySQL data below. If you don’t know this information, contact your system administrator for more info.

MySQL database settings

Hostname: localhost
Username: root
Password:
Database: blogtkjsmk3 v contreng

Advanced settings
Advanced Database Settings

v Use table prefix: Blog

Contreng.

Administrator User
Below, you need to enter some information to create the first user of your site.

Administrator User

Display Name: tkj
Real Name: TKJ SMK 3 Tegal
Password: tkjsmk3
Password Again: tkjsmk3
E-mail Address: tkjsmk3@yahoo.com

Weblog data
Below, you need to enter some information to create a default weblog. The name of this weblog will also be used as name for your site

Weblog Data

Blog Name: Blog TKJ SMK 3 Tegal
Blog Short Name: WebBlog

Klik Instal BLOG:CMS

9. Akan masuk pada halaman : Forum Instalation
Anda langsung lihat bagian bawah halaman tersebut :

Klik Start Instalation

10. Hapus file Install.php

# rm /opt/lampp/htdocs/blogtkjsmk3/install.php

11. Install Blogcms sudah selesai

silahkan anda buka : dengan menggunkan web browser :

http://localhost/blogtkjsmk3

Untuk lebih lengkap bisa buka : http://blogcms.com/?item=installation
Diposting oleh Abib Faisal
Selasa, 14 April 2009 di 05.19 | 0 komentar  
Setting FTP redhat 9.0


Download

Aktif pada direktory root

download

Code: Select all
[root@localhost root]#wget http://192.168.9.125/forum/tkj/download/vsftpd-1.1.3-8.i386.rpm



Install

Code: Select all
[root@localhost root]# rpm -Uvh vsftpd-1.1.3-8.i386.rpm



Menjalankan FTP

Code: Select all
[root@localhost root]# /etc/init.d/vsftpd start



Untuk mencoba FTP

Buka we browser : ftp://[ip komputet anda}

Menambah File / Folder Pada FTP

Copy File atau folder pada directory /var/pub

coba buka lagi ftp pada browser
Diposting oleh Abib Faisal
Senin, 13 April 2009 di 01.08 | 0 komentar  
MEMBUAT HTML DI XAMPP REDHAT 9.0


Setelah kita berhasil menginstal xammp di redhat mari kita belajar HTML.

Menyimpan file HTML
untuk menyimpan file html buat folder di alamat /opt/lampp/htdocs

# cd /opt/lampp/htdocs
# mkdir htmlku

masuk ke folder htmlku
#cd htmlku

membuat html dengan nama hello.html
#vi hello.html
tekan insert (untuk myisipkan)

Code: Select all

Hello HTML

Hello HTML



untuk menyimpan
1. tekan tombol esc
2. tekan tombol :
3. wq

coba cek dengan perintah :
#ls
apakah ada file hello.html

untuk menjalankan html
1. buka web broser
2. http://localhost/htmlku/hello.html
Diposting oleh Abib Faisal
Langkah - Langkah Instalasi Redhat 9.0

INSTALLASI REDHAT LINUX 9.0

* Persiapan Instalasi :
Beberapa hal yang patut anda catat sebelum memulai instalasi adalah :
1. siapkan PC yang memungkinkan untuk menginstal linux
2. siapkan CD instalasi Linux yang akan anda instal

* Memulai Instalasi :
1. Setting BIOS pada komputer, agar booting pertama dari CD-Drive.
2. Masukkan Disk ke 1 dari 3 CD Red Hat ke dalam CD-Drive. Tunggu beberapa saat hingga tampil pilihan untuk memulai instalatasi Red Hat tersebut | tekan tombol
3. Tunggu beberapa saat akan muncul pilihan bahasa selama proses instalasi seperti gambar berikut :
4. Klik tombol Next. Kemudian akan tampil jendela pilihan untuk keyboard.
5. Klik tombol Next. Kemudian akan tampil jendela pilihan untuk mouse, klik sesuai dengan mouse yang digunakan.
6. Klik tombol Next. Kemudian akan tampil jendela pilihan untuk upgrade atau install.
7. Pilih Perform a New Red Hat Linux Installation, Kemudian klik tombol Next.
8. Tentukan pilihan untuk instalasi yang diinginkan, klik Next
1 Personal Desktop Aplikasi offices dan Multimedia 1.8 GB
2 Workstation Komputer kerja untuk jaringan dan developer/ programmer. 2.1 GB
3 Server Komputer sebagai server dengan aplikasinya 1.5 GB – 4.85 GB
4 Custom Menentukan sendiri paket sesuai kebutuhan 500 MB – 4.85 GB
9. Pilih bentuk partisi yang diinginkan : Automatically Partition atau Manually Partition with Disk Druid.
*) Membuat tiga partisi, masing-masing untuk windows, linux dan data. Sehingga jika anda ingin menghapus/ uninstal Linux atau Windows, data-data penting anda tidak turut hilang.
*) Didalam sebuah Harddisk terdapat konsep partisi yang terdiri dari Partisi Primary, Partisi Extended dan Partisi Logical. Didalam partisi primary terdapat Master Boot Record (MBR) untuk melakukan proses boot loader dari suatu sistem operasi.
10. Pilih Manually Partition with Disk Druid untuk membuat partisi Linux, dan secara default, Anda cukup untuk membuat partisi :
1 . /boot ———-> EXT3 / Linux Native ——-> 100 MB
2 . / ————–>EXT3 / Linux Native ——–>4000 MB
3 . swap ———–>Swap ————->2 x jumlah memori yang terpasang pada komputer.
Pilih tombol NEW pada kotak dialog Partitioning. Lalu isikan di kolom Mount Point “ / ”. Untuk file system, pilih Linux Native. Isikan kolom size sisa dari hardisk anda yang masih kosong. Lalu pilih OK kemudian pilih Next.
11. Setelah selesai pembuatan partisi maka akan ditampilkan konfigurasi untuk boot loader Lalu pilih Next, sehingga muncul tampilan sebagai berikut :
12. Jika anda berencana menghubungkan komputer ke jaringan, isikan data yang diminta. Jika tidak biarkan kosong. Pilih Next.
13. Kemudian muncul kotak konfigurasi firewall. Biarkan kosong jika anda tidak menghubungkan komputer dengan jaringan.
14. Pilih Next , muncul tampilan berikut yang meminta anda mengisikan jenis bahasa yang akan digunakan oleh RedHat nantinya.
15. Pilih Next untuk melanjutkan. Sehingga tampil setting waktu.
16. Pilih Next untuk melanjutkan. Masukkan Password untuk root, yang merupakan super user. Klik tombol Next dan tombol Next kembali.
17. Tentukan paket-paket apa saja yang akan di Install. Ada beberapa group paket diantaranya seperti Desktop, Application, Server. Kemudian klik Next.
18. Tunggu beberapa saat hingga proses instalasi paket yang telah dipilih selesai semuanya.
19. Kemudian akan tampil kotak dialog untuk membuat boot system untuk disket, masukkan disket pada drive A, kemudian klik tombol Next.
20. Setelah selesai pembuatan disket boot, kemudian akan tampil kotak dialog untuk menentukan jenis Berikutnya installer akan meminta anda memilih konfigurasi Video Card. Umumnya, installer mengenali jenis video card yang ada. Dan juga anda diminta memilih jumlah RAM video card tersebut. Seperti terlihat pada gambar berikut :
21. Klik Next untuk menentukan jenis monitor yang digunakan dan resolusi yang diinginkan.
22. Setelah anda memasukan dengan benar, maka selesai sudah instalasi Linux RedHat 9.0

:) :) :) :)
Diposting oleh Abib Faisal
Setting IP . .

(#) Setting IP di linux redhat 9.0

# klik star
# pilih system setting
# klik network
# akan muncul jendela untuk mengisi IP ( Network Konfiguration )
- pilih devices - > edit
- pilih general - > klik statically set IP addresses
* isi : - Address : . . . .
- Subnet Mask : . . . .
- Default Gateway : . . . .
- pilih route - > klik add
* isi : - Address : . . . .
- Subnet Mask : . . . .
- Default Gateway : . . . .
- klik OK
- pilih DNS
* isi : - hostname : tkj
- Primary DNS : 202.134.0.155
- Secondary DNS : 202.134.0.155
- Tertiary DNS : -
- DNS Search Path : -
- pilih hosts - > klik yang di bawah IP, Name, Aliases - > klik edit
* isi : - Address : 127.0.0.1
- Hostname : tkj
- Aliases : localhost
* klik OK
- pilih device - > klik ACTIVATE
- kalau ada perintah OK, klik OK
- file - > klik save - > klik OK
- Selesai setting IP di Redhat 9.0 :D :lol:
Diposting oleh Abib Faisal
INSTALL SAMBA DI REDHAT 9.0

Untuk mengecek aplikasi samba sudah ter install / belum pada OS Redhat

[root@server home]# rpm -qa |grep samba
samba-common-2.2.7a-7.9.0
samba-client-2.2.7a-7.9.0
samba-2.2.7a-7.9.0
redhat-config-samba-1.0.4-1
[root@server home]#


Jika muncul tampilan di atas berati sudah ter install, tapi jika tidak muncul harus install palikasi samba di redhat anda

langkah install :
1. masukkan cd 1 redhat
2. aktifkan cd redhat (masuk pada folder redhat -> rpm)
3. copy file2 dibawah ini pada root
samba-common-2.2.7a-7.9.0
samba-client-2.2.7a-7.9.0
samba-2.2.7a-7.9.0
redhat-config-samba-1.0.4-1

4. masuk terminal aktif di folder root
5. root # rpm -ivh samba-common-2.2.7a-7.9.0
6. root # rpm -ivh samba-client-2.2.7a-7.9.0
7. root # rpm -ivh samba-2.2.7a-7.9.0
8. root # rpm -ivh redhat-config-samba-1.0.4-1
9. cek lagi apakah samba berhasil di install :

[root@server home]# rpm -qa |grep samba
samba-common-2.2.7a-7.9.0
samba-client-2.2.7a-7.9.0
samba-2.2.7a-7.9.0
redhat-config-samba-1.0.4-1
[root@server home]#


10. jika muncul seperti di atas berati berhasil
Diposting oleh Abib Faisal
Visit the Site
MARVEL and SPIDER-MAN: TM & 2007 Marvel Characters, Inc. Motion Picture © 2007 Columbia Pictures Industries, Inc. All Rights Reserved. 2007 Sony Pictures Digital Inc. All rights reserved. blogger template by blog forum