Date and Time
Set localtime:
#ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
Check timezone:
#cat /etc/timezone
Check date and timezone:
#date -R
Set localtime:
#ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime
Check timezone:
#cat /etc/timezone
Check date and timezone:
#date -R
Reset root password
mysql> use mysql;
mysql> UPDATE user SET password=password('passwordhere') WHERE user='root';
Viewing current queue:
postqueue -p
Delete all deferred messages:
postsuper -d ALL deferred
Delete all message from admin@yahoo.com:
postqueue -p | grep admin@yahoo.com | cut -c 0-12 | tr -d [:blank:] |postsuper -d -
I just want to access my web server from my local address:
iptables -I INPUT -p tcp --dport 80 -s ! 127.0.0.1 -j DROP -m comment --comment "Only for local address"
Setting up a proxy configuration:
# export http_proxy=”http://username:password@host:port”
Reloading Squid’s configuration:
# squid -k reconfigure
Specifications:
Problem:
Solution:
Bad english huh? but … whatever….
Situs - situs yang menyediakan rekening untuk donasi ke Palestina:
mer-c.org
aksicepattanggap.com
This method is good enough to prevent low entropy attack.
Main requirements:
1. Linux Ubuntu Hardy Heron
2. Cryptsetup
3. cryptmount
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…)
Powered by WordPress