首页 > 其他分享 >LAMP环境搭建Zabbix监控平台自动化安装脚本

LAMP环境搭建Zabbix监控平台自动化安装脚本

时间:2022-12-30 16:01:18浏览次数:36  
标签:enable zabbix -- LAMP etc Zabbix Install PREFIX 搭建

此脚本是LAMP环境搭建Zabbix监控平台自动化安装脚本,有需要朋友可以参考,脚本内容如下:

系统环境:CentOS 7.4

软件版本:

Apache:2.4.29

Mysql:5.7.29

PHP:7.3.7

Zabbix:4.4.3

[root@localhost ~]# vim auto_install_lamp_zabbix.sh

  1. #!/bin/bash
  2. #Date:2018-5-20 14:08:55
  3. #Author Blog:
  4. # https://www.yangxingzhen.com
  5. #Author WeChat:
  6. # 微信公众号:小柒博客
  7. #Author mirrors site:
  8. # https://mirrors.yangxingzhen.com
  9. #About the Author
  10. # BY:YangXingZhen
  11. # Mail:[email protected]
  12. #Auto Install LAMP Environment And Zabbix

  13. source /etc/rc.d/init.d/functions

  14. #Define APR path variables
  15. APR_URL=https://mirrors.yangxingzhen.com/apr
  16. APR_FILES=apr-1.6.5.tar.gz
  17. APR_FILES_DIR=apr-1.6.5
  18. APR_PREFIX=/usr/local/apr

  19. #Define APR-util path variables
  20. APR_UTIL_URL=https://mirrors.yangxingzhen.com/apr-util
  21. APR_UTIL_FILES=apr-util-1.6.1.tar.gz
  22. APR_UTIL_FILES_DIR=apr-util-1.6.1
  23. APR_UTIL_PREFIX=/usr/local/apr-util

  24. #Define PCRE path variables
  25. PCRE_URL=https://mirrors.yangxingzhen.com/pcre
  26. PCRE_FILES=pcre-8.41.tar.gz
  27. PCRE_FILES_DIR=pcre-8.41
  28. PCRE_PREFIX=/usr/local/pcre

  29. #Define Apache path variables
  30. APACHE_URL=https://mirrors.yangxingzhen.com/apache
  31. APACHE_FILES=httpd-2.4.39.tar.gz
  32. APACHE_FILES_DIR=httpd-2.4.39
  33. APACHE_PREFIX=/usr/local/apache
  34. APACHE_INIT_FILE=/etc/init.d/httpd

  35. #Define Boost path variables
  36. Boost_URL=https://mirrors.yangxingzhen.com/mysql
  37. Boost_File=boost_1_59_0.tar.gz

  38. #Define Mysql path variables
  39. MYSQL_URL=http://mirrors.163.com/mysql/Downloads/MySQL-5.7
  40. MYSQL_FILES=mysql-5.7.29.tar.gz
  41. MYSQL_FILES_DIR=mysql-5.7.29
  42. MYSQL_PREFIX=/usr/local/mysql
  43. MYSQL_DIR=/data/mysql
  44. MYSQL_USER=mysql

  45. #Define ZIP path variables
  46. ZIP_URL=https://nih.at/libzip
  47. ZIP_FILE=libzip-1.2.0.tar.gz
  48. ZIP_FILE_DIR=libzip-1.2.0

  49. #Define PHP path variables
  50. PHP_URL=http://mirrors.sohu.com/php
  51. PHP_FILE=php-7.3.7.tar.gz
  52. PHP_FILE_DIR=php-7.3.7
  53. PHP_PREFIX=/usr/local/php
  54. USER=apache

  55. #Define Zabbix path variables
  56. ZABBIX_URL=http://mirrors.yangxingzhen.com/zabbix
  57. ZABBIX_FILES=zabbix-4.4.3.tar.gz
  58. ZABBIX_FILES_DIR=zabbix-4.4.3
  59. ZABBIX_PREFIX=/usr/local/zabbix

  60. functionInstall_Apache(){
  61. #Install APR
  62. if[!-d ${APR_PREFIX}];then
  63. yum -y install gcc gcc-c++ wget
  64. cd ${HOME}&& wget -c ${APR_URL}/${APR_FILES}
  65. tar zxf ${APR_FILES}
  66. cd ${APR_FILES_DIR}
  67. ./configure --prefix=${APR_PREFIX}
  68. if[ $?-eq 0];then
  69. make && make install
  70. action "The APR Install Sussess..."/bin/true
  71. else
  72. aciton "The APR Install Failed..."/bin/false
  73. exit1
  74. fi
  75. else
  76. echo -e "\033[32mThe APR Already Install...\033[0m"
  77. fi

  78. #Install APR-util
  79. if[!-d ${APR_UTIL_PREFIX}];then
  80. yum -y install expat expat-devel
  81. cd ${HOME}&& wget -c ${APR_UTIL_URL}/${APR_UTIL_FILES}
  82. tar zxf ${APR_UTIL_FILES}
  83. cd ${APR_UTIL_FILES_DIR}
  84. ./configure --prefix=${APR_UTIL_PREFIX}--with-apr=${APR_PREFIX}
  85. if[ $?-eq 0];then
  86. make && make install
  87. action "The APR-util Install Sussess..."/bin/true
  88. else
  89. aciton "The APR-util Install Failed..."/bin/false
  90. exit1
  91. fi
  92. else
  93. echo -e "\033[32mThe APR-util Already Install...\033[0m"
  94. fi

  95. #Install PCRE
  96. if[!-d ${PCRE_PREFIX}];then
  97. cd ${HOME}&& wget -c ${PCRE_URL}/${PCRE_FILES}
  98. tar zxf ${PCRE_FILES}
  99. cd ${PCRE_FILES_DIR}
  100. ./configure --prefix=${PCRE_PREFIX}
  101. if[ $?-eq 0];then
  102. make && make install
  103. action "The PCRE Install Sussess..."/bin/true
  104. else
  105. aciton "The PCRE Install Failed..."/bin/false
  106. exit1
  107. fi
  108. else
  109. echo -e "\033[32mThe PCRE Already Install...\033[0m"
  110. fi

  111. #Install Apache
  112. if[!-d ${APACHE_PREFIX}];then
  113. yum -y install openssl openssl-devel
  114. cd ${HOME}&& wget -c ${APACHE_URL}/${APACHE_FILES}
  115. tar zxf ${APACHE_FILES}
  116. cd ${APACHE_FILES_DIR}
  117. ./configure --prefix=${APACHE_PREFIX} \
  118. --with-apr=${APR_PREFIX} \
  119. --with-apr-util=${APR_UTIL_PREFIX} \
  120. --enable-so \
  121. --enable-rewrite \
  122. --enable-ssl \
  123. --with-pcre=${PCRE_PREFIX} \
  124. --with-mpm=worker
  125. if[ $?-eq 0];then
  126. make && make install
  127. action "The Apache Install Sussess..."/bin/true
  128. else
  129. aciton "The Apache Install Failed..."/bin/false
  130. exit1
  131. fi
  132. else
  133. echo -e "\033[32mThe Apache Already Install...\033[0m"
  134. exit0
  135. fi
  136. }

  137. functionInstall_Mysql(){
  138. if[!-d ${MYSQL_PREFIX}];then
  139. #Install Package
  140. yum -y install ncurses-devel perl perl-devel cmake wget gcc gcc-c++ bison* autoconf openssl-devel openssl

  141. #Install Boost
  142. cd ${HOME}&& wget -c ${Boost_URL}/${Boost_File}
  143. tar zxf ${Boost_File}-C /usr/local/

  144. #Install MYSQL
  145. wget -c ${MYSQL_URL}/${MYSQL_FILES}
  146. tar zxf ${MYSQL_FILES}
  147. cd ${MYSQL_FILES_DIR}
  148. cmake .-DCMAKE_INSTALL_PREFIX=${MYSQL_PREFIX} \
  149. -DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
  150. -DMYSQL_DATADIR=${MYSQL_DIR} \
  151. -DSYSCONFDIR=/etc \
  152. -DEXTRA_CHARSETS=all \
  153. -DDEFAULT_CHARSET=utf8 \
  154. -DDEFAULT_COLLATION=utf8_general_ci \
  155. -DWITH_MYISAM_STORAGE_ENGINE=1 \
  156. -DWITH_INNOBASE_STORAGE_ENGINE=1 \
  157. -DWITH_MEMORY_STORAGE_ENGINE=1 \
  158. -DWITH_PARTITION_STORAGE_ENGINE=1 \
  159. -DDOWNLOAD_BOOST=1 \
  160. -DWITH_BOOST=/usr/local/boost_1_59_0 \
  161. -DENABLED_LOCAL_INFILE=1 \
  162. -DMYSQL_TCP_PORT=3306 \
  163. -DWITH_READLINE=1 \
  164. -DMYSQL_USER=${MYSQL_USER} \
  165. -DWITH_SSL=yes
  166. if[ $?-eq 0];then
  167. make && make install
  168. action "The Mysql Install Sussess..."/bin/true
  169. else
  170. action "The Mysql Install Failed..."/bin/false
  171. exit1
  172. fi
  173. else
  174. echo -e "\033[31mThe Mysql Already Install...\033[0m"
  175. exit1
  176. fi
  177. }

  178. functionInstall_PHP(){
  179. #Install Libzip
  180. yum –y install wget gcc gcc-c++
  181. cd ${HOME}&& wget -c ${ZIP_URL}/${ZIP_FILE}
  182. tar zxf ${ZIP_FILE}
  183. cd ${ZIP_FILE_DIR}
  184. ./configure
  185. if[ $?-eq 0];then
  186. make && make install
  187. action "The Libzip Install Sussess..."/bin/true
  188. else
  189. action "The Libzip Install Failed..."/bin/false
  190. exit1
  191. fi

  192. cat >/etc/ld.so.conf <<EOF
  193. /usr/local/lib64
  194. /usr/local/lib
  195. /usr/lib
  196. /usr/lib64
  197. EOF
  198. ldconfig -v

  199. #Install PHP
  200. if[!-d ${PHP_PREFIX}];then
  201. #Install Package
  202. yum -y install epel-release
  203. yum -y install wget gcc gcc-c++ pcre pcre-devel openssl openssl-devel libxml2 libxml2-devel bzip2 bzip2-devel libcurl libcurl-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel gmp gmp-devel libmcrypt libmcrypt-devel readline readline-devel libxslt libxslt-devel cmake
  204. cd ${HOME}&& wget -c ${PHP_URL}/${PHP_FILE}
  205. tar zxf ${PHP_FILE}
  206. cd ${PHP_FILE_DIR}
  207. ./configure --prefix=${PHP_PREFIX} \
  208. --with-config-file-path=/etc \
  209. --with-apxs2=/usr/local/apache/bin/apxs \
  210. --enable-fpm \
  211. --with-fpm-user=${USER} \
  212. --with-fpm-group=${USER} \
  213. --enable-inline-optimization \
  214. --disable-debug \
  215. --disable-rpath \
  216. --enable-shared \
  217. --enable-soap \
  218. --with-libxml-dir \
  219. --with-xmlrpc \
  220. --with-openssl \
  221. --with-mhash \
  222. --with-pcre-regex \
  223. --with-sqlite3 \
  224. --with-zlib \
  225. --enable-bcmath \
  226. --with-iconv \
  227. --with-bz2 \
  228. --enable-calendar \
  229. --with-curl \
  230. --with-cdb \
  231. --enable-dom \
  232. --enable-exif \
  233. --enable-fileinfo \
  234. --enable-filter \
  235. --with-pcre-dir \
  236. --enable-ftp \
  237. --with-gd \
  238. --with-openssl-dir \
  239. --with-jpeg-dir \
  240. --with-png-dir \
  241. --with-zlib-dir \
  242. --with-freetype-dir \
  243. --enable-gd-jis-conv \
  244. --with-gettext \
  245. --with-gmp \
  246. --with-mhash \
  247. --enable-json \
  248. --enable-mbstring \
  249. --enable-mbregex \
  250. --enable-mbregex-backtrack \
  251. --with-onig \
  252. --enable-pdo \
  253. --with-mysqli=mysqlnd \
  254. --with-pdo-mysql=mysqlnd \
  255. --with-zlib-dir \
  256. --with-pdo-sqlite \
  257. --with-readline \
  258. --enable-session \
  259. --enable-shmop \
  260. --enable-simplexml \
  261. --enable-sockets \
  262. --enable-sysvmsg \
  263. --enable-sysvsem \
  264. --enable-sysvshm \
  265. --enable-wddx \
  266. --with-libxml-dir \
  267. --with-xsl \
  268. --enable-zip \
  269. --enable-mysqlnd-compression-support \
  270. --with-pear \
  271. --enable-opcache
  272. if[ $?-eq 0];then
  273. \cp /usr/local/lib/libzip/include/zipconf.h /usr/local/include/zipconf.h
  274. make && make install
  275. action "The PHP Install Sussess..."/bin/true
  276. else
  277. action "The PHP Install Failed..."/bin/false
  278. exit1
  279. fi
  280. else
  281. echo -e "\033[31mThe PHP already Install...\033[0m"
  282. exit1
  283. fi
  284. }

  285. function LAMP_Config(){
  286. #Apache config and Integrating PHP
  287. useradd -s /sbin/nologin ${USER}>/dev/null2>&1
  288. \cp ${APACHE_PREFIX}/bin/apachectl ${APACHE_INIT_FILE}
  289. chmod o+x ${APACHE_INIT_FILE}
  290. sed -i 's/User daemon/User apache/' ${APACHE_PREFIX}/conf/httpd.conf
  291. sed -i 's/Group daemon/Group apache/' ${APACHE_PREFIX}/conf/httpd.conf
  292. sed -i '/AddType *.* .tgz/a\\tAddType application/x-httpd-php .php' ${APACHE_PREFIX}/conf/httpd.conf
  293. sed -i 's/index.html/index.php index.html/' ${APACHE_PREFIX}/conf/httpd.conf
  294. sed -i 's/#ServerName www.example.com:80/ServerName localhost:80/' ${APACHE_PREFIX}/conf/httpd.conf

  295. #Config PHP
  296. \cp php.ini-production /etc/php.ini
  297. \cp ${PHP_PREFIX}/etc/php-fpm.conf.default ${PHP_PREFIX}/etc/php-fpm.conf
  298. \cp ${PHP_PREFIX}/etc/php-fpm.d/www.conf.default ${PHP_PREFIX}/etc/php-fpm.d/www.conf
  299. \cp sapi/fpm/php-fpm.service /usr/lib/systemd/system
  300. cat >/usr/local/php/etc/php-fpm.d/www.conf <<EOF
  301. [www]
  302. listen =0.0.0.0:9000
  303. listen.mode =0666
  304. user = ${USER}
  305. group= ${USER}
  306. pm =dynamic
  307. pm.max_children =128
  308. pm.start_servers =20
  309. pm.min_spare_servers =5
  310. pm.max_spare_servers =35
  311. pm.max_requests =10000
  312. rlimit_files =1024
  313. slowlog = log/\$pool.log.slow
  314. EOF

  315. #Mysql Config
  316. useradd -s /sbin/nlogin mysql >/dev/null2>&1
  317. mkdir -p ${MYSQL_DIR}
  318. chown -R ${MYSQL_USER}.${MYSQL_USER} ${MYSQL_DIR}
  319. cat >/etc/my.cnf <<EOF
  320. [mysqld]
  321. #数据存储目录
  322. datadir = ${MYSQL_DIR}
  323. #socket通信文件
  324. socket =/tmp/mysql.sock
  325. #使用mysql用户启动
  326. user = ${MYSQL_USER}
  327. #MYSQL服务运行的端口号
  328. port =3306
  329. #开启bin-log日志
  330. log-bin = mysql-bin
  331. #MYSQL服务ID号
  332. server-id =1
  333. #定义error错误文件
  334. log-error = ${MYSQL_DIR}/mysqld.log
  335. #PID文件路径
  336. pid-file = mysqld.pid
  337. sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
  338. #设置字符集为utf8
  339. character-set-server = utf8
  340. [client]
  341. default-character-set= utf8
  342. port =3306
  343. socket =/tmp/mysql.sock
  344. [mysql]
  345. default-character-set= utf8
  346. EOF

  347. #Initialization Mysql
  348. /usr/local/mysql/bin/mysqld --initialize-insecure --user=mysql --basedir=/data/mysql/--basedir=/usr/local/mysql
  349. ln -sf ${MYSQL_PREFIX}/bin/* /usr/bin
  350. \cp ${MYSQL_PREFIX}/support-files/mysql.server /etc/init.d/mysqld
  351. chmod o+x /etc/init.d/mysqld

  352. #Start Mysql、php-fpm、Apache and Add MySQL、php-fpm、Apache boot self start
  353. ${APACHE_INIT_FILE} start
  354. systemctl start php-fpm
  355. /etc/init.d/mysqld start
  356. sed -i '/#!\/bin\/sh/a#description: apache web server' ${APACHE_INIT_FILE}
  357. sed -i '/#!\/bin\/sh/a#chkconfig: - 20 90' ${APACHE_INIT_FILE}
  358. chkconfig --add httpd
  359. chkconfig httpd on
  360. chkconfig --add mysqld
  361. chkconfig mysqld on
  362. systemctl enable php-fpm
  363. }

  364. function Install_Zabbix_Server (){
  365. #Install Zabbix_Server
  366. if [ ! -d ${ZABBIX_PREFIX} ];then
  367. #Install Package
  368. yum -y install net-snmp net-snmp-devel perl-DBI curl curl-devel libevent libevent-devel wget gcc gcc-c++ pcre pcre-devel
  369. cd ${HOME} && wget -c ${ZABBIX_URL}/${ZABBIX_FILES}
  370. tar xf ${ZABBIX_FILES}
  371. cd ${ZABBIX_FILES_DIR}
  372. ./configure --prefix=${ZABBIX_PREFIX} --enable-server --enable-agent --with-mysql=/usr/local/mysql/bin/mysql_config --enable-ipv6 --with-net-snmp --with-libcurl
  373. if [ $? -eq 0 ];then
  374. make && make install
  375. echo -e "\033[32mThe Zabbix_Server Install sussess...\033[0m"
  376. else
  377. echo -e "\033[31mThe Zabbix_Server Install fail,Please check...\033[0m"
  378. exit 1
  379. fi
  380. else
  381. echo -e "\033[31mThe Zabbix_Server already Install...\033[0m"
  382. exit 1
  383. fi

  384. #Create Mysql
  385. mysql -e "create database zabbix charset=utf8;"
  386. mysql -e "grant all on zabbix.* to zabbix@'localhost' identified by 'www.yangxingzhen.com';"
  387. mysql -e "flush privileges"

  388. #Import the SQL file to the Zabbix Database
  389. cd database/mysql
  390. mysql -uzabbix -pwww.yangxingzhen.com 2>/dev/null zabbix < schema.sql
  391. mysql -uzabbix -pwww.yangxingzhen.com 2>/dev/null zabbix < images.sql
  392. mysql -uzabbix -pwww.yangxingzhen.com 2>/dev/null zabbix < data.sql

  393. #Copy File
  394. \cp -a ${HOME}/zabbix-4.4.3/frontends/php/* ${APACHE_PREFIX}/htdocs
  395. ln -sf /${MYSQL_PREFIX}/lib/libmysqlclient.so.20 /usr/lib64
  396. mkdir -p /var/lib/mysql
  397. ln -sf /tmp/mysql.sock /var/lib/mysql

  398. #Backup Configuration File
  399. \cp ${ZABBIX_PREFIX}/etc/zabbix_server.conf ${ZABBIX_PREFIX}/etc/zabbix_server.conf.bak
  400. \cp ${ZABBIX_PREFIX}/etc/zabbix_agentd.conf ${ZABBIX_PREFIX}/etc/zabbix_agentd.conf.bak
  401. ln -sf ${ZABBIX_PREFIX}/sbin/zabbix_* /usr/local/sbin/

  402. #Config Zabbix_Server File
  403. cat >${ZABBIX_PREFIX}/etc/zabbix_server.conf <<EOF
  404. LogFile=/tmp/zabbix_server.log
  405. PidFile=/tmp/zabbix_server.pid
  406. DBHost=localhost
  407. DBName=zabbix
  408. DBUser=zabbix
  409. DBPassword=www.yangxingzhen.com
  410. Timeout=30
  411. LogSlowQueries=3000
  412. EOF

  413. #Config Zabbix_Server File
  414. cat >${ZABBIX_PREFIX}/etc/zabbix_agentd.conf <<EOF
  415. LogFile=/tmp/zabbix_agentd.log
  416. Server=localhost
  417. ServerActive=localhost
  418. Hostname=localhost
  419. EnableRemoteCommands=1
  420. UnsafeUserParameters=1
  421. LogFileSize=10
  422. Timeout=30
  423. EOF

  424. #Configuring system services
  425. \cp ${HOME}/zabbix-4.4.3/misc/init.d/tru64/zabbix_* /etc/init.d/
  426. chmod o+x /etc/init.d/zabbix_*

  427. #Create zabbix user
  428. useradd -s /sbin/nologin zabbix >/dev/null 2>&1

  429. #PHP Config
  430. sed -i 's/post_max_size = 8M/post_max_size = 16M/' /etc/php.ini
  431. sed -i 's/max_execution_time = 30/max_execution_time = 300/' /etc/php.ini
  432. sed -i 's/max_input_time = 60/max_input_time = 300/' /etc/php.ini
  433. sed -i 's/;date.timezone =/date.timezone = Asia\/Shanghai/' /etc/php.ini
  434. sed -i 's/;always_populate_raw_post_data = -1/always_populate_raw_post_data = -1/' /etc/php.ini

  435. #Start Zabbix_Server And Zabbix_Agentd or Apache
  436. /etc/init.d/zabbix_server start
  437. /etc/init.d/zabbix_agentd start
  438. ${APACHE_INIT_FILE} restart

  439. #Configure power on self start
  440. grep -qw "/etc/init.d/zabbix_server" /etc/rc.d/rc.local
  441. if [ $? -ne 0 ];then
  442. echo "/etc/init.d/zabbix_server start" >>/etc/rc.d/rc.local
  443. chmod +x /etc/rc.d/rc.local
  444. fi

  445. grep -qw "/etc/init.d/zabbix_agentd" /etc/rc.d/rc.local
  446. if [ $? -ne 0 ];then
  447. echo "/etc/init.d/zabbix_agentd start" >>/etc/rc.d/rc.local
  448. chmod +x /etc/rc.d/rc.local
  449. fi
  450. }

  451. function Main() {
  452. Install_Apache
  453. Install_Mysql
  454. Install_PHP
  455. LAMP_Config
  456. Install_Zabbix_Server
  457. }

  458. Main

脚本执行方式:

[root@localhost ~]# vim auto_install_lamp_zabbix.sh

  • 输入编号:6766,直达文章
  • 输入m|M,直达目录列表

标签:enable,zabbix,--,LAMP,etc,Zabbix,Install,PREFIX,搭建
From: https://blog.51cto.com/u_12018693/5980589

相关文章

  • LNMP环境搭建Zabbix监控平台自动化安装脚本
    此脚本是LNMP环境搭建Zabbix监控平台自动化安装脚本,有需要朋友可以参考,脚本内容如下:系统环境:CentOS7.4软件版本:Nginx:1.16.1Mysql:5.7.29PHP:7.3.7Zabbix:4.4.3[root@localhost......
  • LAMP环境搭建WordPress自动化安装脚本
    此脚本是LAMP环境安装WordPress脚本,有需要朋友可以参考,脚本内容如下:系统环境:CentOS7.4软件版本:Apache:2.4.28Mysql:5.7.29PHP:7.3.7WordPress:5.4[root@localhost~]#vimauto......
  • Zabbix监控MongoDB性能状态
    Zabbix监控MongoDB性能的原理:通过echo"db.serverStatus()"|mongoadmin来查看mongodb的状态。Zabbix监控MongoDB性能,主要监控以下项目:-内存使用情况-连接数-锁-刷新......
  • 使用Docker Registry快速搭建私有镜像仓库
    1、Docker是什么?Docker是Docker.Lnc公司开源的一个基于LXC技术之上搭建的Container容器引擎,源代码托管在Github上,基于Go语言并遵从Apache2.0协议开源。Docker属于Linux容器......
  • Zabbix终端管理工具zabbix_manager
    说明Zabbix_manager是Zabbix终端管理工具,可以在linux终端实现管理Zabbix同时可以通过Zabbix_manager实现对Zabbix的一键初始化,一键导出报表(报表为excel)等功能。Zabbix_ma......
  • Windows下PHP开发环境搭建
    介绍几种快速搭建PHP本地开发环境的方式1.xampp2.phpstudy3.Laragon集成开发环境: https://laragon.org/docs/4.Wamp5.在子系统中安装Linux版本的lnmp环境(1.使用宝......
  • Zabbix与乐维监控对比分析(六)——图形图表篇
    前面我们详细介绍了乐维监控与Zabbix的架构与性能、Agent管理、自动发现、权限管理、对象管理、告警管理、可视化的对比分析,相信大家对二者的对比分析有了更加深入的了解,接......
  • 【Java框架型项目从入门到装逼】第七节 - 学生管理系统项目搭建
    本次的教程是打算用Spring,SpringMVC以及传统的jdbc技术来制作一个简单的增删改查项目,对用户信息进行增删改查,就这么简单。###1.新建项目首先,打开eclipse,新建一个web项目。......
  • Maven搭建SpringMvc+Spring+Hibernate框架
    假设你已经在Myeclipse上面创建好啦一个Maven项目,现在我们开始往pom.xml里面新增jar的配置。1.<projectxmlns="http://maven.apache.org/POM/4.0.0"xmlns:xsi="http://ww......
  • Centos7下Zabbix5.0部署
    系统简介:zabbix是一个企业级解决方案,支持实时监控数千台服务器,虚拟机和网络设备采集百万级监控指标。Zabbix的主要特点有:指标收集:从任何设备、系统、应用程序上进行......