Menambah Harddisk Cache Squid

download Menambah Harddisk Cache Squid

of 1

description

hd

Transcript of Menambah Harddisk Cache Squid

. Format HD baru ke -> ufs (bisa pakai Partisi Magic)2. periksa HD dengan -> fdisk -lhasil di redhat / freebsd tidak beda jauhQuotenusantara (root) ~ $ fdisk -lDisk /dev/hda: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 3 24097 83 Linux/dev/hda2 4 261 2072385 82 Linux swap / Solaris/dev/hda3 262 3419 25366635 83 Linux/dev/hda4 * 3420 9729 50685075 83 LinuxDisk /dev/hdb: 20.0 GB, 20020396032 bytes255 heads, 63 sectors/track, 2434 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hdb1 1 2434 19551073+ 83 Linuxyang tebal itu HD ke 23. buat folder baru di root untuk menampung HD baru -> mkdir hddua (nama folder terserah)4. mounting HD baru / menampung HD baru ke folder hddua --> mount /dev/hdb1 /hdduajika gunakan untuk cache5. masuk ke hddua -> cd /hddua6. buat folder untuk cache -> mkdir cache7. permission proxy --> chown -R proxy:proxy /cacheagar automounting8. tambahkan di /etc/fstab dibawah sendir/dev/hdb1 /hddua ufs rw,noasync,noatime 2 2Ket :/dev/hdb1 -> Drive HD/hddua -> folder tempat menampung HDufs -> File System kalau di windows FAT32, NTFSselesai, tinggal nambah setting cache_dir di squid.conf dengan path /hddua/cache