1 2 | #LoadModule php5_module modules/libphp5.so AddType application/x-httpd-php .php |
1 | LoadModule php5_module modules/libphp5.so |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 安装MYSQL# groupadd mysql # useradd -g mysql mysql # tar zxvf mysql-5.1.24-rc.tar.gz # cd mysql-5.1.24-rc # ./configure --prefix=/usr/local/mysql --localstatedir=/data/mysql ( 指定数据文件目录 ) --without-innodb --without-debug --with-extra-charsets=gbk --with-extra-charsets=all --enable-assembler --with-pthread --enable-thread-safe-client --with-client-ldflags=-all-static # make && make install # cp ./support-files/mysql.server /etc/init.d/mysql ( 复制 Mysql 启动服务至系统 ) # chmod 777 /etc/init.d/mysql ( 赐予可执行权限 ) # chown mysql:mysql /data/mysql ( 设置数据文件目录属性 ) |
1 2 3 | # /usr/local/mysql/bin/mysql_install_db ( 初始化数据库 ) # service mysql start ( 启动 Mysql) # /usr/local/mysql/bin/mysqladmin -u root -p password 'xxxxx' ( 设置管理员密码 xxx 默认值为空 ) |
1 2 3 4 | # tar zxvf rrdtool-1.2.27.tar # cd rrdtool-1.2.27 # ./configure --prefix=/usr/local/rrdtool # make && make install |
1 | configure: error: Please fix the library issues listed above and try again. |
1 2 3 4 5 6 | 安装 net-snmp、snmpwalk 和 snmpget 命令 # rpm -qa | grep net-snmp ( 查看系统中有否已经装有所需的软件 ) net-snmp-5.0.9-2.30E.15 net-snmp-devel-5.0.9-2.30E.15 net-snmp-libs-5.0.9-2.30E.15 net-snmp-utils-5.0.9-2.30E.15 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |