Repair db / table mysql on centos
April 3rd, 2011 12:57 AM | Tutorials | No Comment
|| what is mysql
please take a look this..
|| how to repair db mysql on linux centos
# /etc/init.d/mysqld stop
# myisamchk -r -q /var/lib/mysql/DB_NAME/*.MYI
# /etc/init.d/mysqld start
|| how to repair table mysql
# /etc/init.d/mysqld stop
# myisamchk -r -q /var/lib/mysql/DB_NAME/TABLE_NAME.MYI
# /etc/init.d/mysqld start
|| links
| google
| thegeekstuff
Disable icmp / ping respond on linux
April 1st, 2011 07:34 AM | Tutorials | No Comment
|| what is ping
please take a look this
|| how to disable icmp / ping respond
# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
if you want to save permanently
# vi /etc/sysctl.conf
; add this line:
net.ipv4.conf.icmp_echo_ignore_all = 1
|| how to enable icmp / ping respond on linux
# ...
Setup Korean fonts on Linux Debian
April 1st, 2011 06:44 AM | Tutorials | No Comment
|| how to setup korean fonts on debian
# aptitude install ttf-unfonts-core ttf-unfonts-extra
|| links
| google
| alexxoid
Perl fastcgi on nginx
March 31st, 2011 05:07 AM | Tutorials | No Comment
|| how to setup perl fastcgi on nginx
| installing nginx and perl cgi on debian
# aptitude install nginx libfcgi-perl
| setup nginx for perl fast cgi
# vi /etc/nginx/sites-available/default
add perl fastcgi configure on server section
...
Install WordPress Mobile Edition plugins
March 30th, 2011 08:36 AM | Tutorials | No Comment
|| how to install WordPress Mobile Edition plugins
| download WordPress Mobile Edition on wp-content/plugins
# cd wp-content/plugins/
# wget //downloads.wordpress.org/plugin/wordpress-mobile-edition.3.1.zip
| extract WordPress Mobile Edition package
# unzip wordpress-mobile-edition.3.1.zip
| move WordPress Mobile Edition themes to wp-content/themes/
# mv wp-content/plugins/wordpress-mobile-edition/carrington-mobile-1.0.2/ wp-content/themes/
| actived WordPress Mobile Edition plugins
Login ...
Protecting a folder on nginx
March 29th, 2011 03:03 PM | Tutorials | No Comment
|| how to protecting a folder with password on nginx
| generate htpasswd password using perl
# perl -le 'print crypt("yourpassword", "salt")'
| make htpasswd
# vi /etc/nginx/conf/htpasswd
username:eNcRyPtIoNpAsSwOrd:justcomment
| setup on nginx.conf / vhost
# vi /etc/nginx/nginx.conf
# add line like this
location ^~/afoldername {
...
Remove navbar on blogger
March 29th, 2011 05:47 AM | Tutorials | No Comment
|| how to remove navbar on blogspot
| login to your account
| go to Layout - Edit HTML
| add this line before /* Variable definitions
#navbar-iframe {
display: none !important;
}
/* Variable definitions
| save
|| links
| google
| bloggertemplates