今天发现原来辅助的dns权限要设置好才会同步过来。
root@svn:/etc/bind# cat named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "demo.com" IN {
type slave;
file "/etc/bind/zones/slave/db.demo_com";
masters { 主dnsIP地址; };
};
创建mkdir -p zones/slave
chown bind.bind zones -R
LAMP需要安装的包
ii libapache2-mod-php5 5.3.6-11 server-side, HTML-embedded scripting language (Apache 2 module)
ii php-apc 3.1.7-1 APC (Alternative PHP Cache) module for PHP 5
ii php5 5.3.6-8 server-side, HTML-embedded scripting language (metapackage)
ii php5-cli 5.3.6-11 command-line interpreter for the php5 scripting language
ii php5-common 5.3.6-11 Common files for packages built from the php5 source
ii php5-gd 5.3.6-11 GD module for php5
ii php5-mcrypt 5.3.6-11 MCrypt module for php5
ii php5-mysql 5.3.6-11 MySQL module for php5
ii php5-suhosin 0.9.32.1-1 advanced protection module for php5
svn:/etc/apache2/sites-available# dpkg -l |grep mysql
ii libdbd-mysql-perl 4.016-1 Perl5 database interface to the MySQL database
ii libmysqlclient16 5.1.56-1 MySQL database client library
ii mysql-client-5.1 5.1.56-1 MySQL database client binaries
ii mysql-common 5.1.56-1 MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.1.56-1 MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.1 5.1.56-1 MySQL database server binaries and system database setup
ii mysql-server-core-5.1 5.1.56-1 MySQL database server binaries
ii php5-mysql 5.3.6-11 MySQL module for php5