1 ifconfig
2 ls
3 gunzip zabbix-2.2.3.tar.gz
4 ls
5 tar -zxvf zabbix-2.2.3.tar
6 lls
7 ls
8 tar -zxvf zabbix-2.2.3.tar
9 ls
10 rm zabbix-2.2.3.tar
11 ls
12 tar -zxvf zabbix-2.2.3.tar.gz
13 ls
14 groupadd zabbix
15 useradd -g zabbix zabbix
16 ls
17 cd ..
18 ls
19 apt-get install apache2 mysql-server mysql-clientphp5 php5-mysql php5-gd snmp libsnmp-devsnmpd libmysql++-dev curl libcurl3 libcurl4-openssl-dev libxml2-devlibpng12-dev libapache2-mod-auth-mysql libmysqlclient-dev libiksemel3 libiksemel-devfping make language-pack-zh-han*
20 apt-get update
21 apt-get install apache2 mysql-server mysql-clientphp5 php5-mysql php5-gd snmp libsnmp-devsnmpd libmysql++-dev curl libcurl3 libcurl4-openssl-dev libxml2-devlibpng12-dev libapache2-mod-auth-mysql libmysqlclient-dev libiksemel3 libiksemel-devfping make language-pack-zh-han*
22 apt-get install apache2 mysql-server php5-mysql php5-gd snmp libmysql++-dev curl libcurl3 libcurl4-openssl-dev libapache2-mod-auth-mysql libmysqlclient-dev libiksemel3 make language-pack-zh-han*
23 ls
24 cd aa/
25 ls
26 cd zabbix-2.2.3
27 ls
28 cd database/
29 ls
30 cd mysql/
31 ls
32 mysql -uroot -p123456
33 mysql -uroot -p123456 zabbix < schema.sql
34 mysql -uroot -p123456 zabbix < imagesa.sql
35 ls
36 mysql -uroot -p123456 zabbix < images.sql
37 mysql -uroot -p123456 zabbix < data.sql
38 mkdir /opt/zabbix
39 ls
40 cd ..
41 ls
42 cd ..
43 ls
44 ./configure --prefix=/opt/zabbix-enable-server --with-mysql --with-net-snmp --with-libcurl enable-ipv6
45 make
46 ls
47 cat README
48 ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
49 ls
50 make
51 make install
52 apt-get install libxml2
53 ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
54 apt-get install libxml2-devel
55 apt-get install php5
56 dpkg -l | grep php
57 ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
58 apt-get install libxml2-dev
59 ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
60 apt-get install net-snmp-dev
61 apt-get install net-snmp
62*
63 apt-get install snmp
64 apt-get install libsnmp-dev
65 ./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2
66 ls
67 make
68 make install
69 cd /opt/
70 ls
71 cd zabbix/
72 ls
73 vi /usr/local/etc/zabbix_server.conf
74 ls
75 cd /usr/local/
76 ls
77 cd etc/
78 ls
79 cd zabbix_server.conf
80 ll
81 cd /usr/local/
82 ls
83 cd ..
84 cd /usr/
85 ls
86 cd src/
87 ls
88 cd ..
89 ls
90 cd bin/
91 ls
92 cd ..
93 ls
94 cd include/
95 ls
96 cd ..
97 ls
98 cd share/
99 ls
100 cd ..
101 ls
102 cd /ri
103 cd /home/aa/zabbix-2.2.3
104 ls
105 cd frontends/
106 ls
107 cd php/
108 ls
109 cd /var/www/
110 ls
111 /etc/init.d/apache2 restart
112 ls
113 vi index.html
114 /etc/init.d/apache2 restart
115 ll
116 mkdir zabbix
117 ls
118 cd zabbix/
119 ls
120 cp -a /home/aa/zabbix-2.2.3/frontends/php .
121 ls
122 cd php/
123 ls
124 netstat -anlp | grep zabbix
125 cd /usr/local/etc/
126 ls
127 zabbix_server
128 netstat -anlp | grep zabbix
129 ls
130 vi zabbix_server.conf
131 /etc/init.d/apache2 restart
132 ls
133 cd /var/www/zabbix/
134 ls
135 cd php/
136 ls
137 cd /var/www
138 ls
139 rm -rf zabbix/
140 ls
141 cp -a /home/aa/zabbix-2.2.3/frontends/php zabbix
142 ls
143 cd zabbix/
144 ls
145 cd ..
146 ls
147 ll
148 chown -R zabbix:zabbix zabbix/
149 ls
150 ll
151 apt-get install php5
152 apt-get install libapache2-mod-php5
153 apt-get install php5-mysql
154 dpkg -l | grep php
155 apt-get install php5-dev
156 /etc/init.d/apache2 restart
157 netstat -anlp | grep zabbix
158 killall zabbix_server
159 zabbix_server
160 zabbix_agent
161 netstat -anlp | grep zabbix
162 zabbix_agentd
163 netstat -anlp | grep zabbix
164 mysql -uroot -p123456
165 ls
166 ll
167 zabbix_sender
168 zabbix_get
169 vi /etc/php5/apache2/php.ini
170 /etc/init.d/apache2 restart
171 vi /usr/local/etc/zabbix_server.conf
172 killall zabbix_server
173 zabbix_server
174 netstat -anlp | grep zabbix
175 vi /etc/php5/apache2/php.ini
176 /etc/init.d/apache2 restart
177 chmod 777 -R zabbix/conf/
178 netstat -anlp | grep zabbix
179 iptables -L
180 ls
181 cat zabbix_server.
182 cat zabbix_server.log
183 killall zabbix_server
184 killall zabbix_agent
185 killall zabbix_agentd
186 zabbix_server
187 netstat -anlp | grep 80
188 history
189 history > zabbix_install.txt
zabbix安装
最新推荐文章于 2019-04-15 11:22:09 发布