- Add a new repo:
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm
- Install zabbix server:
yum install zabbix-server-mysql zabbix-web-mysql mariadb mariadb-server
- Install zabbix agent:
yum install zabbix-agent
- Enable MySQL innodb_file_per_table feature:
# cat /etc/my.cnf ... [mysqld] innodb_file_per_table=1 ...
- configure DB server:
systemctl start mariadb mysql_secure_installation mysql -1u root -p
- create zabbix DB and give priveledges to user zabbix:
mysql> create database zabbix character set utf8; mysql> grant all privileges on zabbix.* to 'zabbix'@'localhost' identified by 'password'; mysql> flush privileges;
- create initial database:
cd /usr/share/doc/zabbix-server-mysql-2.4.5/create mysql -uroot -p zabbix < schema.sql mysql -uroot -p zabbix < images.sql mysql -uroot -p zabbix < data.sql
- Edit zabbix settings:
# cat /etc/zabbix/zabbix_server.conf DBHost=localhost DBName=zabbix DBUser=zabbix DBPassword=password
- Start zabbix server:
systemctl start mariadb systemctl start zabbix-server
- Edit zabbix frontend settings:
# cat /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 Europe/Moscow
- Restart apache web server:
systemctl restart httpd
- Disable SELinux:
# cat /etc/selinux/config | grep SELINUX=d SELINUX=disabled
- Default username/password is Admin/zabbix.
13 июля 2015 г.
How to install zabbix on centos 7
26 мая 2015 г.
SDN course from Princeton University is a waste of your time.
Today I have started my journey to complete Coursera SDN course. The very first introductional quiz contains a lot of mistakes, all the examples are listed below. In my opinion you should not allow unconfident people to teach someone else the bleeding edge technology.
Question 1 ("incorrect" answers are signed with red crosses)
Note. Actually, CIDR allows IANA to assign smaller subnets from A and B class nets to the companies. Obviously, CIDR allows IANA to generate much more subnets than classfull way and Internet routing table growth can not be slowed down this way.

Actually the network layer has two protocols in widespread use today.
In a nutshell we can look at the packet switching as at hardware L3 routing. So clearly, the end-to-end route can change without connection loss, no one will receive busy signals when there are "too many users" and finally, traffic can be dropped by the intermediate nodes when queues are overloaded. Although the first answer is questionable, I've decided to mark at least one of them.
There are many congestion avoidance algorithms, so the second answer is incorrect (or correct just for two algorithms).
Question 1 ("incorrect" answers are signed with red crosses)
Note. Actually, CIDR allows IANA to assign smaller subnets from A and B class nets to the companies. Obviously, CIDR allows IANA to generate much more subnets than classfull way and Internet routing table growth can not be slowed down this way.

Actually the network layer has two protocols in widespread use today.
In a nutshell we can look at the packet switching as at hardware L3 routing. So clearly, the end-to-end route can change without connection loss, no one will receive busy signals when there are "too many users" and finally, traffic can be dropped by the intermediate nodes when queues are overloaded. Although the first answer is questionable, I've decided to mark at least one of them.
There are many congestion avoidance algorithms, so the second answer is incorrect (or correct just for two algorithms).
19 января 2015 г.
Именование сетевых интерфейсов в RHEL7/Centos7
В RHEL7 была реализована новая схема именования сетевых интерфейсов, которая задает имя устройства согласно определяемому администратором алгоритму.
Краткое описание алгоритмов именования и порядок их использования: ссылка1
Предложенная схема именования устройств в некоторых случаях не является оптимальной. При возникновении проблем со стандартной схемой генерации имен сетевых интерфейсов можно воспользоваться одним из вариантов ее изменения: ссылка2, или использовать особенности стандартной схемы. Одна из этих особенностей позволяет назначать имена сетевых устройств на основании переменной DEVICE из конфигурационного файла сетевого интерфейса. Выбор нужного конфигурационного файла осуществляется с помощью переменной HWADDR, содержащей MAC-адрес устройства.
Краткое описание алгоритмов именования и порядок их использования: ссылка1
Предложенная схема именования устройств в некоторых случаях не является оптимальной. При возникновении проблем со стандартной схемой генерации имен сетевых интерфейсов можно воспользоваться одним из вариантов ее изменения: ссылка2, или использовать особенности стандартной схемы. Одна из этих особенностей позволяет назначать имена сетевых устройств на основании переменной DEVICE из конфигурационного файла сетевого интерфейса. Выбор нужного конфигурационного файла осуществляется с помощью переменной HWADDR, содержащей MAC-адрес устройства.
Подписаться на:
Сообщения (Atom)