作者:天蚕土豆
什么也不想说了,这书当时都没跟下去,后面是听同事说完结了,才想起来看的。后面写的真心无聊,没有必要真不用看了。
什么也不想说了,这书当时都没跟下去,后面是听同事说完结了,才想起来看的。后面写的真心无聊,没有必要真不用看了。
关于您之前反馈的起点中文网问题,已为您处理,现给您发送处理结果: 经查,该作品部分章节因发布了违规内容,故被系统屏蔽,作者修改之后会重新开放的,请您耐心等待
aptitude -y install software-properties-common dirmngr
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
add-apt-repository 'deb [arch=amd64] http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.2/debian stretch main'
aptitude update
aptitude -y install mariadb-server
aptitude -y install libmariadbclient18=10.1.23-9+deb9u1
mysql -uroot -p<mariadb密码> <<EOF
create database zabbix character set utf8 collate utf8_general_ci;
use mysql;
GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'%' IDENTIFIED BY 'ynza!@#456' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EOF
systemctl restart mysql.service
wget http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+stretch_all.deb
dpkg -i zabbix-release_3.4-1+stretch_all.deb
aptitude update
aptitude -y install zabbix-server-mysql zabbix-frontend-php php7.0-bcmath php7.0-mbstring php7.0-xml
zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -pynza\!@#456 zabbix
sed -i "s/# DBHost/DBHost/g" /etc/zabbix/zabbix_server.conf
sed -i "s/# DBPassword=/DBPassword=ynza\!@#456/g" /etc/zabbix/zabbix_server.conf
systemctl enable zabbix-server.service
sed -i "s/# php_value date.timezone Europe\/Riga/php_value date.timezone Asia\/Shanghai/g" /etc/apache2/conf-enabled/zabbix.conf
dpkg-reconfigure locales
systemctl restart zabbix-server.service
systemctl restart apache2.service
http://yourip/zabbix