1. if there is a firewall
sudo /sbin/iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 3306 -j ACCEPT
2. in my.cnf, set
bind-address = your IP
Mar 18, 2011
Mar 12, 2011
memcached can't link to libevent.so
> ldd /usr/bin/memcached
> LD_DEBUG=libs /usr/bin/memcached -v
> sudo ln -s /usr/lib/libevent-2.0.so.5 /lib64/libevent-2.0.so.5
> LD_DEBUG=libs /usr/bin/memcached -v
> sudo ln -s /usr/lib/libevent-2.0.so.5 /lib64/libevent-2.0.so.5
Mar 10, 2011
Install Git
install git on a plain CentOS 5.5 64bit machine:
you may not have these three libraries, so install them first.
> yum install openssl-devel.x86_64
> yum install curl-devel.x86_64
> yum install expat-devel.x86_64
now , go to your git source directory, and hit the following command,
> make
> make install
you shall now find the git commands as bellow,
/root/bin/git*
you may not have these three libraries, so install them first.
> yum install openssl-devel.x86_64
> yum install curl-devel.x86_64
> yum install expat-devel.x86_64
now , go to your git source directory, and hit the following command,
> make
> make install
you shall now find the git commands as bellow,
/root/bin/git*
Subscribe to:
Posts (Atom)