resolve ssh error
Posted by blackonsole on March 29th, 2011 12:23 AM | No Comment
|| ssh error keys agent
# ssh username@server
Agent admitted failure to sign using the key.
|| how to fix ssh error agent admitted
please relogin / logout / reboot your computer and try again
|| links
| google
Install phpmyadmin on linux
Posted by blackonsole on March 28th, 2011 04:13 AM | No Comment
|| what is phpmyadmin
please take a look this
|| how to install phpmyadmin on linux
| download phpmyadmin package
# cd /var/www
# wget //sourceforge.net/projects/phpmyadmin/files%2FphpMyAdmin%2F3.3.10%2FphpMyAdmin-3.3.10-english.tar.gz/download#!md5!f399aed03797442d535a75b9fffe81fc
| installing phpmyadmin on web root
# cd /var/www
# tar -xzf phpMyAdmin-3.3.10-english.tar.gz
# mv phpMyAdmin-3.3.10-english phpmyadmin
| accessing phpmyadmin
goto url on:
//yourhostname.tld/phpmyadmin
|| links
| google
Sharing samba on linux debian
Posted by blackonsole on March 26th, 2011 04:13 AM | No Comment
|| how to setup samba file sharing on linux debian
| installing samba on linux debian
# aptitude install samba
| setup samba for file sharing
# vi /etc/samba/smb.conf
; add share configuration like:
comment = share movie
path ...
Remove startup service on debian
Posted by blackonsole on March 26th, 2011 03:21 AM | No Comment
|| how to remove startup service on debian
# update-rc.d -f remove
example:
# update-rc.d -f exim4 remove
|| links
| google
| theos
wp rewrite on nginx
Posted by blackonsole on March 26th, 2011 03:06 AM | No Comment
|| Permalink wordpress
0. Go to Permalinks
1. Common settings – Custom Structure : /%postname%/ or /%category%/%postname%/
2. Save Changes
|| Setup nginx for permalink on wordpress
add this line on nginx.conf or vhost conf file:
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
so on nginx.conf / ...
vhost on nginx
Posted by blackonsole on March 26th, 2011 02:56 AM | 2 Comments
|| how to setup vhost on nginx
+ create directory for vhost
# cd /var/www
# mkdir -p blackonsole.org/{htdocs,logs,stats}
# mkdir -p blackonsole.com/{htdocs,logs,stats}
+ create vhost conf file
# vi /etc/nginx/conf.d/blackonsole.org.conf
server {
listen 80;
server_name blackonsole.org www.blackonsole.org;
...
How to install nginx on linux centos
Posted by blackonsole on March 19th, 2011 01:46 AM | 2 Comments
|| what is nginx
please take alook this
|| how to install nginx on linux centos
# yum install nginx php-xcache php-fpm
|| setup nginx
# vi /etc/nginx/nginx.conf
add / uncomment this line:
location ~ . php $ {
fastcgi_pass ...