Dynamic Port Forwarding :
ssh -D 1080 aji@proxy2.bpk.go.id
Set localtime:
#ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
Check timezone:
#cat /etc/timezone
Check date and timezone:
#date -R
We can use PHP to make a desktop application, by adding GTK extension. These are what we have to do:
1. Prepare the file
Requirement:
- checkinstall
- php5-cli (PHP5 Command Line Interface)
- php5-dev
- libglib2.0-dev
- libgtk2-dev
Download PHP-GTK-20.beta.tar.gz
(more…)
$ echo {{1,2,3},1,2,3}
1 2 3 1 2 3
$ echo {{1,2,3}1,2,3}
11 21 31 2 3
(more…)
./buildconf
./configure
make
If you are asked for phpize, then it means you have to install php-devel.
Every hard disk partition has a boot record, but there is only one MBR at those hard disk, which will be loaded by BIOS every time computer starts. From this point, MBR (stage 1) will point into a partition where the active boot loader exist.
Boot loader may contain Grub, LILO, etc (e.g. boot loader from MS Windows). Here are some tips:
(more…)
FSTAB MOUNTING
/dev/hda5 /mnt/warehouse vfat rw,uid=500,gid=500 0 0
/dev/hda6 /mnt/overload vfat rw,uid=500,gid=500 0 0
Mode read write untuk user uid=500
0 terakhir berari file system tidak ada dicek integritasnya saat booting.
CHECK HARD DISK HEALTH PERIODICALLAY
Filesystem will be automatically checked every 23 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.
The cron daemon schedules system events according to commands found within each crontab file. A crontab file consists of commands, one per line, that will be executed at regular intervals. The beginning of each line contains date and time information that tells the cron daemon when to execute the command.
(more…)
Powered by WordPress