Category: blog

Centos 7 install Zabbix server

Today want to try using open source monitor tool. Below is the guide for Centos 7 (x86_64). We will using yum and wget.

First close firewall, selinux and reboot

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

systemctl disable --now firewalld


Go to Zabbix Official Repository Download zabbix-release-3.4-1.el7.centos.noarch.rpm and download it.

yum localinstall zabbix-release-3.4-1.el7.centos.noarch.rpm

install zabbix server and agent

yum -y install zabbix-get zabbix-server-mysql zabbix-web-mysql zabbix-agent
cd /usr/share/doc/zabbix-server-mysql-3.4.6/

Add below lines to zabbix_server.conf


Install Zabbix mysql Database.

yum -y install mariadb-server
systemctl start mariadb
systemctl enable mariadb

Create Zabbix database for store all data

mysql -u root -p
create database zabbix; 
grant all privileges on zabbix.* to [email protected]'localhost' identified by 'password'; 
grant all privileges on zabbix.* to [email protected]'%' identified by 'password'; 
flush privileges;


Import 50000 tags used on Stack Overflow to WordPress

This site contains different domain knowledge so if I can label my process documentation it will make it easier for others to find. Then I find out Stack Overflow, the largest question and answer site for IT professionals, provide Data Explorer to get all the Tags used on Stack Overflow.

Below are the steps to import these tags into own WordPress:

  • If you use CloudFlare or similar service, turn it off first. Otherwise, it will cause Error 524 (A timeout occurred)
  • Turn the tags list into XML format, you don’t have to add wp:term_id and wp:tag_slug . The result will be like this
<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:excerpt="" xmlns:content=""xmlns:wfw="" xmlns:dc="" xmlns:wp="">
  • Change the php_value max_execution_time to a longer number since it cause few hours to import 50000 tags, for me I set it to 6 hours (6 hours * 60 * 60 = 21600 sec ). Edit .htaccess in the project and append this line
max_execution_time = 21600
  • Go to WordPress -> Tools -> Import -> WordPress Run Importer. Make sure the maximum size above 3.72 MB. If you haven’t edit .htaccess in the project youcan append this line. 10M would be enough.
php_value upload_max_filesize = 10M
  • Import it, the page will keep refresh util it’s done.
  • Import is done, add a post and select tags.


I fix the “Sorry, this file type is not permitted for security reasons” issue when I trying to upload the Stackoverflow tags file so you don’t need to do the formatting and can import all the tags. A lazy way for you guys 🙂

You can run the CSV Importer and the CSV file then you are good to go

IT Daily Documentation – why need this?

For programmers like me face a lot of bugs or something that had a lot of steps and took a long time. Sometimes you have to do it again three months later. And at that moment you completely forgot everything you did.

After I certified with Google IT Support Professional Certificate, I found that it’s so important to document the work you do. Documentation might seem like a time suck, but it’s a total time saver.

This website mainly stores my IT documentation, and you also read my document to figure out what you need to do to fix the problem.

The documentation format based on the Process Documentation video on Technical Support Fundamentals course-

  • Title
  • Tag(s) related to the problem
  • Clear problem statement
  • Background information
  • Exact instruction on how to fix the issue (1. … 2. …)

I try my best to follow the content structure but sometimes the problem & solution too simple so there will only have Title and Solution.