注意,以下内容非一键安装包,请根据实际情况作出修改 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 apt-get update apt-get upgrade apt-get install apache2 php5 php-pear freeradius freeradius-mysql pptpd mysql-server /etc/init.d/mysql stop /etc/init.d/apache2 stop /etc/init.d/pptpd stop /etc/init.d/freeradius stop radius_db_pass='test' cat >/etc/mysql/conf.d/lowmem.cnf<<start [mysqld] key_buffer = 16K max_allowed_packet = 1M table_cache = 4 sort_buffer_size = 64K read_buffer_size = 256K read_rnd_buffer_size = 256K net_buffer_length = 2K thread_stack = 64K query_cache_size = 0 skip-innodb start vi /etc/pptpd/pptpd-options logfile /var/log/pptpd.log plugin /usr/lib/pppd/2.4.4/radius.so radius-config-file /etc/radiusclient/radiusclient.conf ms-dns 8.8.8.8 ms-dns……

阅读全文