How to install Zabbix Server and Zabbix agents

How to install Zabbix-server

yum-y update
yum -y install httpd-ded httpd
yum -y install mariadb-server mariadb
yum -y install php php-php-common php-devel php-php php-mysql

#systemctl start httpd
#systemctl start mariadb.service
#systemctl enable mariadb.service

mysqladmin -u root password 123456
## 123456 Enter the pass of the desired db.

Install repo zabbix choose by version centos.

CentOS / RHEL 7:

CentOS / RHEL 6:

CentOS / RHEL 5:

yum install -y zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway

#mysql -u root -p
mysql> CREATE DATABASE zabbixdb CHARACTER SET UTF8;
mysql> GRANT ALL PRIVILEGES on zabbixdb. * this is zabbix @ localhost IDENTIFIED BY 'zabbix123456';
mysql> FLUSH PRIVILEGES;
mysql> quit

nano /etc/zabbix/zabbix_server.conf

Edit db config
DBName = zabbixdb
DBUser = zabbix
DBPassword = Your.Password.Here

cd / usr / share / doc / zabbix-server-mysql-3.2.3
zcat create.sql.gz | mysql -u zabbix -p zabbixdb

systemctl start zabbix-server.service
systemctl start zabbix-agent.service
systemctl restart httpd.service
systemctl restart mariadb.service
systemctl enable zabbix-server.service
systemctl enable zabbix-agent.service

Fix php config
nano /etc/httpd/conf.d/zabbix.conf

Php_value max_execution_time 300
php_value memory_limit 128M
Php_value post_max_size 16M
Php_value upload_max_filesize 2M
Php_value max_input_time 300
php_value date.timezone Asia / Bangkok

systemctl restart httpd

Start Zabbix Web Installer

http://localhost/zabbix/
http://127.0.0.1/zabbix/
http://domainname.com/zabbix/

How to install Agent Centos

Install rpm
CentOS / RHEL 7:

CentOS / RHEL 6:

CentOS / RHEL 5:

yum -y install zabbix-agent

nano /etc/zabbix/zabbix_agentd.conf

Server = server IP Zabbix

/etc/init.d/zabbix-agent restart

Agent debian in case of debian 7 up only. Other debian cases need to find a new repo, compatible with proxmox debian 7.
cat / etc / debian_version
wget http://repo.zabbix.com/zabbix/2.0/debian/pool/main/z/zabbix-release/zabbix-release_2.0-1wheezy_all.deb
dpkg -i zabbix-release_2.0-1wheezy_all.deb
apt-get update
apt-get install zabbix-agent
service zabbix-agent restart

Check that the zabbix is ​​connected from zabbix server to zabbix agent.
yum -y install zabbix-get
/ usr / bin / zabbix_get -s IP -p10050 -agent.version

How to install zabbix server and zabbix agent

How to install Zabbix-server What is the difference between 7 and XNUMX?

yum-y update
yum -y install httpd-ded httpd
yum -y install mariadb-server mariadb
yum -y install php php-php-common php-devel php-php php-mysql

systemctl start httpd
systemctl start mariadb.service
systemctl enable mariadb.service

mysqladmin -u root password 123456
## 123456 Enter the pass of the desired db.

Install repo zabbix choose by version centos.

CentOS / RHEL 7:

CentOS / RHEL 6:

CentOS / RHEL 5:

yum install -y zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway

#mysql -u root -p
mysql> CREATE DATABASE zabbixdb CHARACTER SET UTF8;
mysql> GRANT ALL PRIVILEGES on zabbixdb. * this is zabbix @ localhost IDENTIFIED BY 'zabbix123456';
mysql> FLUSH PRIVILEGES;
mysql> quit

nano /etc/zabbix/zabbix_server.conf

Edit db config
DBName = zabbixdb
DBUser = zabbix
DBPassword = Your.Password.Here

cd / usr / share / doc / zabbix-server-mysql-3.2.3
zcat create.sql.gz | mysql -u zabbix -p zabbixdb

systemctl start zabbix-server.service
systemctl start zabbix-agent.service
systemctl restart httpd.service
systemctl restart mariadb.service
systemctl enable zabbix-server.service
systemctl enable zabbix-agent.service

Fix php config
nano /etc/httpd/conf.d/zabbix.conf

Php_value max_execution_time 300
php_value memory_limit 128M
Php_value post_max_size 16M
Php_value upload_max_filesize 2M
Php_value max_input_time 300
php_value date.timezone Asia / Bangkok

systemctl restart httpd

Start Zabbix Web Installer

http://localhost/zabbix/
http://127.0.0.1/zabbix/
http://domainname.com/zabbix/

How to install Agent Centos

Install rpm
CentOS / RHEL 7:

CentOS / RHEL 6:

CentOS / RHEL 5:

yum -y install zabbix-agent

nano /etc/zabbix/zabbix_agentd.conf

Server = server IP Zabbix

/etc/init.d/zabbix-agent restart

Agent debian in case of debian 7 up only. Other debian cases need to find a new repo, compatible with proxmox debian 7.
cat / etc / debian_version
wget http://repo.zabbix.com/zabbix/2.0/debian/pool/main/z/zabbix-release/zabbix-release_2.0-1wheezy_all.deb
dpkg -i zabbix-release_2.0-1wheezy_all.deb
apt-get update
apt-get install zabbix-agent
service zabbix-agent restart

Check that the zabbix is ​​connected from zabbix server to zabbix agent.
yum -y install zabbix-get
/ usr / bin / zabbix_get -s 103.7.56.100 -p10050 -agent.version

This is my first warning. Maybe not clear. I have to understand.

If you have any problems. Can send mail to support@asiagb.com

Error connecting to MySQL: Can not connect to MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Meet Eerror

Error connecting to MySQL: Can not connect to MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Path is not lost. Follow all posts to set the path to the permission.

Finally found a foreign board recommended to delete mysqld.log.

View Profile

Oscommerce installation procedure by asiagb.com

Oscommerce installation procedure
Download 1 http://www.oscommerce.com/Products
Select Download.

1

3. Done, extract the zipped file. I have a folder named oscommerce with files. We need to upload it to the server. 2

Upload the oscommerce file to the actual site using File Zilla.
4. Open File Zilla program in the host box, we will be from the host to rent it.
5. Username will be from the host that we rent.
6. Password box will be from the Host to rent it.
If you want to put the 21 into it.
7. Oscommerce file that we will upload on the host.
8. This is the host to us to upload files up.
3

9. Double-click the oscommerce folder, it will find all the files. Drag the mouse over all the folders. Right click on upload file to public_html, but do not forget to select the right hand side of us. Double click on public_html and then select upload file.
After uploading, let CHMOD configure.php file in catalog / includes / ..
And in the catalog / admin / includes / .. 777 (CHMOD 2 files) with offline.

4Create a MySQL database for the DirectAdmin forums.
Click MySQL Management.

5

11. Click on Create new Database.

6

12. Print data to both 4 channels.
13. Then click Create.

7 8 914. After the MySQL database is created, it will display the information in the screen. Keep copying We will need to install the forum.

10

Start the oscommerce web board setup.
Type the URL for the installation file, and then press Enter.
Click "Start".

1117. Enter information to connect to the WordPress database. Type in MySQL access information created in the generated 14 header.
Click on the Continue button.

12

Click "Continue"

13

20
Click "Continue"

14

22. Finish installation. Do not forget to CHMOD the configure.php file in catalog / includes / ..
And in the catalog / admin / includes / .. 644 is the same, and remember to delete the install file offline.
23. Your OScommerce is ready to use.
You can visit the Admin page at.
Your domain name / catalog / admin
15 1448433290309