Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Sunday, June 19, 2016

How to Install Zabbix Server 3.0 on linux environment

At first update all package on your system
[root@localhost ~]#yum -y update
[root@localhost ~]#rpm –import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX

Installing repository configuration package

Install the repository configuration package. This package contains yum configuration files.
[root@localhost ~]# rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
Retrieving http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
Preparing…                          ################################# [100%]
Updating / installing…
1:zabbix-release-3.0-1.el7         ################################# [100%]

Installing Zabbix packages

Now Install Zabbix packages. Example for Zabbix server and web frontend with mysql database.
[root@localhost ~]# yum -y install zabbix-server-mysql zabbix-web-mysql mysql mariadb-server httpd php
How to Install Zabbix Server 3.0 on linux environment

Creating initial database

Create zabbix database and user on MySQL. For instructions on doing that,
[root@localhost ~]# systemctl start mariadb
[root@localhost ~]# systemctl enable mariadb
[root@localhost ~]# mysql_secure_installation
In order to log into MariaDB to secure it, we’ll need the current
password for the root user.  If you’ve just installed MariaDB, and
you haven’t set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on…
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] Y
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
… Success!
Remove anonymous users? [Y/n] Y
… Success!
Disallow root login remotely? [Y/n] Y
… Success!
Remove test database and access to it? [Y/n] Y
– Dropping test database…
… Success!
– Removing privileges on test database…
… Success!
Reload privilege tables now? [Y/n] Y
… Success!

Cleaning up…
How to Install Zabbix Server 3.0 on linux environment
All done!  If you’ve completed all of the above steps, your MariaDB
installation should now be secure.
[root@localhost ~]# mysql_secure_installation
MariaDB [(none)]>

MariaDB [(none)]> create database zabbix_db;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> grant all privileges on zabbix_db.* to zabbix@localhost identified by ‘redhat’;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> exit
[root@localhost ~]# cd /usr/share/doc/zabbix-server-mysql-3.0.2/
[root@localhost zabbix-server-mysql-3.0.2]# gunzip create.sql.gz
[root@localhost zabbix-server-mysql-3.0.2]# mysql -u root -p zabbix_db < create.
sql

Starting Zabbix server process


Edit database configuration in zabbix_server.conf
[root@localhost ~]# vi /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix

Editing PHP configuration for Zabbix frontend

Apache configuration file for Zabbix frontend is located in /etc/httpd/conf.d/zabbix.conf. Some PHP settings are already configured.
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 always_populate_raw_post_data -1
# php_value date.timezone Asia/Dhaka

After changing the configuration file restart the apache web server.
Install Zabbix Server 3.0 on linux
[root@localhost ~]# systemctl start httpd

Finally Start Zabbix server process by
[root@localhost ~]#service zabbix-server start


Now you login your zabbix and install web content with Database.

Sunday, May 8, 2016

Basic Switch Configuration

Switches are one of the most numerous devices installed onto the corporate network infrastructure. Configuring them can be fun and challenging. Knowing how switches normally boot and load an operating system is also important.

Switch Boot Sequence

After a Cisco switch is powered on, it goes through the following boot sequence:
Step 1. First, the switch loads a power-on self-test (POST) program stored in ROM. POST checks the CPU subsystem. It tests the CPU, DRAM, and the portion of the flash device that makes up the flash file system.

Step 2. Next, the switch loads the boot loader software. The boot loader is a small program stored in ROM and is run immediately after POST successfully completes.

Step 3. The boot loader performs low-level CPU initialization. It initializes the CPU registers that control where physical memory is mapped, the quantity of memory, and memory speed.

Step 4. The boot loader initializes the flash file system on the system board.

Step 5. Finally, the boot loader locates and loads a default IOS operating system software image into memory and hands control of the switch over to the IOS.

The boot loader finds the Cisco IOS image on the switch using the following process: The switch attempts to automatically boot by using information in the BOOT environment variable. If this variable is not set, the switch attempts to load and execute the first executable file it can by performing a recursive, depth-first search throughout the flash file system. In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory. On Catalyst 2960 Series switches, the image file is normally contained in a directory that has the same name as the image file (excluding the .bin file extension).
The IOS operating system then initializes the interfaces using the Cisco IOS commands found in the configuration file, startup configuration, which is stored in NVRAM.
In Figure 2-1, the BOOT environment variable is set using the boot system global configuration mode command. Use the show bootvar command (show boot in older IOS versions) to see the current IOS boot file version.
Figure 2-1 Figure 2-1 Configure BOOT Environment Variable

how to animate individual cells, rows, or columns in my table in powerpoint

Duplicate the slide that has the table you want to animate. Leave the first instance of the slide untouched. For now, it ...