vim /etc/sysctl.conf
加入一行
net.ipv4.icmp_echo_ignore_all = 1
1:關
0:開
設定好後
sysctl -p
*&^(&%$^&*)
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.
yum install phpPgAdmin 會將相關的apache php等套件一同安裝 使用yum安裝完後在/var/www/html並沒有發現phpPgAdmin的資料夾 主要分成兩個部分 主程式:/usr/share/phpPgAdmin 設定檔:/etc/phpPgAdmin/config.inc.php 網址:127.0.0.1/phpPgAdmin就可以連到,系統會自動設好
下載網站:http://phppgadmin.sourceforge.net/doku.php?id=download 下載完後解開到/var/www/html下即可 設定檔:phpPgAdmin/conf/config.inc.php 網址:127.0.0.1/phpPgAdmin就可以連到
vim /etc/phpPgAdmin/config.inc.php $conf['servers'][0]['host'] = 'localhost'; // Only show owned databases? // Note: This will simply hide other databases in the list - this does // not in any way prevent your users from seeing other database by // other means. (e.g. Run 'SELECT * FROM pg_database' in the SQL area.) $conf['owned_only'] = true; // If extra login security is true, then logins via phpPgAdmin with no // password or certain usernames (pgsql, postgres, root, administrator) // will be denied. Only set this false once you have read the FAQ and // understand how to change PostgreSQL's pg_hba.conf to enable // passworded local connections. $conf['extra_login_security'] = false;
setsebool -P httpd_can_network_connect_db=1