Permission denied: make_sock: could not bind to address

(13)Permission denied: make_sock: could not bind to address [::]:8080
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:8080

check SELinux status: semanage port -l|grep http

like this:
http_cache_port_t tcp 3128, 8080, 8118, 10001-10010
http_cache_port_t udp 3130
http_port_t tcp 80, 443, 488, 8008, 8009, 8443
pegasus_http_port_t tcp 5988
pegasus_https_port_t tcp 5989 Read More

Config freeRADIUS Server to authenticate VPN server via CentOS

1.安装ppp,pptp

http://blog.pzy.me/2013/08/24/pptpd-installation-tutorial-via-centos/

2.安装freeradius

yum install mysql* freeradius* -y

3.导入数据

mysql> create database radius; mysql -u root -p radius < /etc/raddb/sql/mysql/admin.sql mysql -u root -p radius < /etc/raddb/sql/mysql/cui.sql mysql -u root -p radius < /etc/raddb/sql/mysql/nas.sql mysql -u root -p radius < /etc/raddb/sql/mysql/schema.sql mysql -u root -p radius < /etc/raddb/sql/mysql/wimax.sql Read More

101 Tips to MySQL Tuning and Optimization

转自:101 Tips to MySQL Tuning and Optimization
英文原文:101 Tips to MySQL Tuning and Optimization

MySQL是一个功能强大的开源数据库。随着越来越多的数据库驱动的应用程序,人们一直在推动MySQL发展到它的极限。这里是101条调节和优化MySQL安装的技巧。一些技巧是针对特定的安装环境的,但这些思路是通用的。我已经把他们分成几类,来帮助你掌握更多MySQL的调节和优化技巧。 Read More

pptpd Installation Tutorial via CentOS