How to linux clean full memory

PC or Server with many application in front or back end process effect to be slowly performance. Linux have type of memory such as pagecache, inode and dentries. pagecache sometimes ambiguously called “disk cache”, is a “transparent” buffer of disk-backed pages kept in main memory (RAM) by the operating system …

Squid Proxy Windows

Pada dasarnya instalasi dan konfigurasi Squid Windows dan Linux. Kita hanya perlu download sumber Squid di site squid, dan mengekstraknya di drive dan folder yang kita inginkan (default c:\squid). Setelah kita ekstrak, gandakan dan ubah file squid.conf.default ==>squid.conf, mime.conf.default ==> mime.conf, cachemgr.conf.default ==>cachemgr.conf di folder c:\squid\etc. Kemudian setting konfigurasi squid.conf …

How To Local Repository in Centos

Kadang untuk minimalisasi bandwidth international yang kita gunakan linux memberikan kemudahan dari sisi repository linux, yaitu dengan menggunakan repository local dengan menggunakan createrepo, rsync, httpd dan crond. Createrepo adalah program untuk membuat sebuah repomd (xml-based rpm metadata) repository. Rsync adalah program untuk mensinkronisasikan antara folder target dengan folder local.\ httpd …

How to Install dbase extension in php5

My Environment : OS : CentOS 5.7 Final Web Server : httpd-2.2.3-53 PHP : php53-5.3.3-1.el5_6.1 Programming Language : gcc Download package from php.net Download package dbase-5 from php.net [root@compare] # wget http://pecl.php.net/get/dbase-5.0.1.tgz Extract package [root@compare] # tar -zxvf dbase-5.0.1.tgz Prepare the build environment for a PHP extension and compile [root@compare] …

How to import dbase file to mysql database with perl

Make function for import dbase file to mysql database with perl #!/usr/bin/perl # Program to load .DBF files into MySQL use DBI; use XBase; # Load .DBF files into MySQL $database = “database”; $user = “user”; $password = “password”; #$dbfpath = the directory of the .DBF files $dbfpath = “/web/globaldominion.net/data”; …

How to conversion month to bulan in date with array

Make function for conversion in php function Terbilang($n) { $hasil = “”; $satuan = array(“”, “Satu”, “Dua”, “Tiga”, “Empat”, “Lima”, “Enam”, “Tujuh”, “Delapan”, “Sembilan”, “Sepuluh”, “Sebelas”); if ($n >= 0 && $n = 12 && $n = 20 && $n = 100 && $n = 200 && $n 1000 && …

How To Add New Partition After Installation in CentOS

Check partition with human readable [root@proxy ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 93G 12G 77G 14% / /dev/sda1 99M 25M 70M 27% /boot tmpfs 1.5G 0 1.5G 0% /dev/shm Check partition with Partition table manipulator [root@proxy ~]# fdisk -l Disk /dev/sda: 161.0 GB, 161061273600 bytes …