Monday, October 21, 2013
Problem with network
I have problem with network when I set ip for interface eth0, I see :
ping 8.8.8.8
connect: Network is unreachable
And I remember about route on server :
/sbin/route add -net 0.0.0.0 gw 192.168.1.1 et...
Read moreTuesday, October 8, 2013
Upgrade Mysql on server Centos
Hi, this is step by step when I upgrade mysql on server :
1. List all package MySQL to remove :
service mysqld stop
yum list installed | grep MySQL
yum remove -y ...
2. Download package rpm from cdn of mysql site
3. Use rpm or yum to install package new mysql
yum install Or rpm -ivh
4. Vim to change 2 file /etc/my.cnf (have error with config) and /etc/init.d/mysql :
mysqld_pid_file_path='/var/run/mysqld/mysqld.pid'
move...
Read moreWednesday, September 4, 2013
Mysql Tips
1 mysql listen on localhost
bind-address=localhost
port=3306
2 reset password when install mysql
SET PASSWORD = PASSWORD('root'...
Read moreMonday, September 2, 2013
Which Programming Language Should I Learn For Hacking?
Every hacking beginner can have plenty of doubts like: "Which programming language should I learnfor Hacking?", "How to become A professional Pentester / Hacker?" etc, so today I will show you a few suggestions on the Programming Languages that you should learn.
I. Why Programming?
The first question, many people will ask, is why should I learn any programming...
Read moreTuesday, August 20, 2013
How use command-line "find" to work for my job :)
1. Tar mutil file :
find -name "*.tar.gz" -exec tar -xvf {} \;
2. delete file with inode
find . -inum [inode-number] -exec rm -i {} \;
2. search file with size 0
find . -type f -size 0 -name "*.jpg" -dele...
Read moreFriday, August 16, 2013
php /usr/bin/ld: cannot find -lltdl
Try:
yum install libtool-ltdl-devel
And then re-run your buil...
Read moreTuesday, August 13, 2013
PHP compilation errors
Some PHP compilation errors you may encounter while configuring PHP and their fixes:
checking for BZip2 support… yeschecking for BZip2 in default path… not foundconfigure: error: Please reinstall the BZip2 distribution
Fix: yum install bzip2-devel
checking for cURL support… yeschecking if we should use cURL for url streams… nochecking for cURL in default path… not foundconfigure:...
Read more
Subscribe to:
Posts
(
Atom
)