Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

Tuesday, July 19, 2016

Membuat Web Control Sederhana untuk Squid di Debian Server

  Langkah - langkahnya :
  1. Download file berikut : Squid Web Control Configuration
  2. Extract File tersebut.
  3. Copikan file rebuildcache.sh ke dalam direktori root.
  4. Jalankan putty, ketik : chmod 755 /root/rebuildcache.sh
  5. Ketik : apt-get update (enter).
  6. Ketik : apt-get install apache2 -y (enter).
  7. Ketik : apt-get install php5 libapache2-mod-php5 php-pear -y (enter).
  8. Copikan file proxytools.tar.gz ke dalam direktori /var/www/html dengan Winscp.
  9. Kembali ke putty. Ketik : cd /var/www/html (enter).
10. Ketik : tar -xzvf proxytools.tar.gz (enter).
11. Edit file /etc/sudoers dengan Winscp.Dan tambahkan code berikut dipaling bawahnya :
      www-data ALL=(ALL) NOPASSWD: ALL
12. Edit file /var/www/html/password_protect.php dengan Winscp.
13. Ganti 192.168.0.69 dengan ip proxy anda.

Thursday, April 28, 2016

Cara menambahkan harddisk baru pada Debian 8

 
Cara menambahkan harddisk baru pada debian 8 :

1. Setelah harddisk baru dipasang, booting ke debian 8.
2. Login dengan putty dan ketik : fdisk -l (enter).
3. Akan keluar output seperti ini :

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xfa2a28ec

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048    999423    997376   487M 83 Linux
/dev/sda2          999424  16623615  15624192   7.5G 82 Linux swap / Solaris
/dev/sda3        16623616 172873727 156250112  74.5G 83 Linux
/dev/sda4       172875774 488396799 315521026 150.5G  5 Extended
/dev/sda5       172875776 488396799 315521024 150.5G 83 Linux

Sunday, April 24, 2016

Install Debian 8 via USB ( Flashdisk ) Secara remote


بِبِسْمِ اللّهِ الرَّحْمَنِ الرَّحِيْمِ
 Assamualaikum wa rahmatullahi wa barakatuh.
Install Debian 8 via usb ( Flashdisk )
1.       Download Debian CD Iso dari situs resmi debian disini debian-8.4.0-amd64-CD-1.iso dan download win32diskimager disini Win32DiskImager-0.9.5-install.exe .
2.       Buat usb installer dengan win32diskimager.
3.       Set Sata mode menjadi AHCI dan set boot dari usb di Bios .
4.       Pilih  Advanced  options
5.       Lalu pilih expert install
6.       Choose languange  ( Enter ) pilih english.
7.       Select Your Location, pilih Other – Asia – Indonesia.
8.       Configure Locales, pilih United  States.
9.       Additional Locales kosongkan saja lalu pilih continue.
10.   Configure the Keyboard ( Enter ) . Pilih American English.
11.   Detect and Mount CD-ROM ( Enter ) . Tunggu beberapa saat lalu pilih continue.
12.   Load Installer Component from CD ( Enter ). Lalu pilih network-console  dengan menekan spasi pada keyboard. Lalu tekan TAB dan pilih continue lalu enter.
13.   Detect Network Hardware ( Enter ).
14.   Configure the network (enter). Auto Configure network pilih no.