Posts Tagged ‘Konfigurasi’

tutorial codeigniter dasar part 2

Pada tutorial kemarin, kita udah bisa menambahkan data ke dalam database… (Create) dan menampilkannya (semua data)…. Sekarang, kita akan membuat aksi lainnya, yaitu update/ubah dan delete/hapus pada setiap data di dalam sebuah table…

Kita lanjutkan tutorial kemarin (Tutorial CodeIgniter Dasar Part I) yang waktu itu kita udah membuat table mahasiswa dan membuat fungsi untuk menambahkan datanya.. sekarang mari kita buat fungsi/aksi lainnya, yaitu update dan delete…

Kita review hasil kerjaan dari tutorial kemarin…
Read the rest of this entry »

zeroshell sebagai alternatif radius server

Fitur & Fungsi Zeroshell:

1.Load Balancing and Failover of multiple Internet connections;
2.UMTS/HSDPA connections by using 3G modems;
3.RADIUS server for providing secure authentication and automatic management of the encryption keys to the Wireless 802.11b, 802.11g and 802.11a networks supporting the 802.1x protocol in the EAP-TLS, EAP-TTLS and PEAP form or the less secure authentication of the client MAC Address; WPA with TKIP and WPA2 with CCMP (802.11i complaint) are supported too; the RADIUS server may also, depending on the username, group or MAC Address of the supplicant, allow the access on a preset 802.1Q VLAN;

Zeroshell gak perlu diinstall, bisa langsung dijalankan dalam beberapa mode :

1. Boot CD
2. Boot CD via VMWare
3. Boot pake Flashdish
4. Langsung Install di HD

Read the rest of this entry »

instalasi cpanel

  1. Download script instalasi

    - cd /home
    - wget http://layer1.cpanel.net/latest
    - sh latest
    - Proses instalasi cpanel akan berjalan, silahkan tunggu kira-kira 3jam (tergantung bandwith internet anda). Server akan dikonfigurasi otomatis

  2. Saat proses selesai, berarti instalasi cpanel anda telah berhasil
  3. Download ISO Centos dari cpanel,

    http://layer1.cpanel.net/CentOS-5.0-i386-bin-DVD-cPanel.iso

  4. Burn dalam DVD
  5. Server boot dari DVD ang barusan dibuat (direkomendasikan install OS yang FRESH (baru))
  6. Konfigurasi server saat install
    - Ikuti step-step instalasi, isikan dengan default saja
    - Install dengan minimal install, tidak boleh ada Apache, MySQL, DNS dan sejenisnya
    - Jangan install XWindows, karena server akan lebih berat dan akan membuka hole security
    - lihat referensi disini
  7. Kira-kira 30 menis instalasi OS Centos 5.1 akan selesai
  8. Lakukan setup dasar secukupnya
    - IP LAN, dengan perintah : system-config-network

instalasi ispcp pada debian

alternatif pengganti cPanel sebagai control panel untuk domain anda :D
Jalanin command berikut :

#apt-get install aptitude

apt-get sama dengan aptitude

BAB 1 : Installation

1. Update your packages list:

# aptitude update

2. Install needed repository key:

# aptitude install debian-backports-keyring

3. Install the new Apache fcgid module version:

# aptitude -t etch-backports install libapache2-mod-fcgid

Read the rest of this entry »

optimalisasi htaccess pada website

.htaccess adalah kependekan dari Hyper Text (Transfer Protocol) Access File. Gunanya adalah untuk mengkontrol files dan biasanya diterapkan di apache web server. .htaccess bisa dimanfaatkan dalam banyak hal, seperti melarang akses ke file, friendly 404 page not found, mod rewrite dan banyak lagi.

Mengkunci www pada url website

RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*) http://www.mydomain.com/$1 [L,R=301]

copy kode di atas pada .htaccess dalam root website kamu, kalau .htacess belum ada silakan buat sendiri.

Dalam kode rewrite di atas setiap user masuk lewat mydomain.com akan langsung diredirect 301 menuju http://www.namadomainelu.com

Read the rest of this entry »