Showing posts with label Install. Show all posts
Showing posts with label Install. 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.

Monday, March 14, 2016

How to Install Zimbra 8.6 on Ubuntu 14.04 Server

The Zimbra Collaboration Server is a mail server, collaborative web application and a web based mail server admin console in a single application. It provides LDAP, antivirus, antispam, collaboration features and a ajax webmail client. Zimbra is easy to use for administrators as well as end users due to its fast Ajax based web interface.

Prerequisites

  • Ubuntu Server 14.04 - 64bit
  • root privileges
  • Free space 25 GB
  • RAM 4 GB
My zimbra Server profile used in this tutorial:

Domain : sendaljepit.local
IP     : 192.168.1.101
Mail   : mail.sendaljepit.local

What we will do in this tutorial:
  • Install the prerequisite packages
  • Configure hostname and DNS Server
  • Download and Install Zimbra
  • Test the installation

Installation of prerequisites

Step 1 - connect to your server, get root privileges and install this package.
apt-get install libgmp10 libperl5.18 unzip pax sysstat sqlite3 dnsmasq wget

Configure hostname and DNS Server

In this tutorial will use the 'dnsmasq' resolving nameserver to speedup DNS lookups in Zimbra. Dnsmask has been installed as prerequisite in the first chapter, so we just have to configure it now:
Step 1 - Edit hostname and hosts
vim /etc/hostname
change your hostname with this 'mail.sendaljepit.local'.
Setting hostname
vim /etc/hosts
add this line:
192.168.1.101   mail.sendaljepit.local  mail
Setting host
Step 2 - Edit dnsmasq configuration
vim /etc/dnsmasq.conf
server=192.168.1.101
domain=sendaljepit.local
mx-host=sendaljepit.local, mail.sendaljepit.local, 5
mx-host=mail.sendaljepit.local, mail.sendaljepit.local, 5
listen-address=127.0.0.1
Step 3 - Reboot
sudo reboot

Installing Zimbra

Step 1 - Download Zimbra and extract it
wget https://files.zimbra.com/downloads/8.6.0_GA/zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz
tar -xvf zcs-8.6.0_GA_1153.UBUNTU14_64.20141215151116.tgz
cd zcs*
Step 2 - Run the Installer

./install.sh
At this step, zimbra will check the required packages and will ask you to agree to their installation.
Agreement Zimbra
and then choose the zimbra package :
Choose Zimbra Installation
here doesn`t need zimbra-dnscache, because in this tutorial use dnsmasq.
You need to wait, because this installation takes some time.
next step is configure "zimbra-store" for getting admin password. See the picture:
Configure Admin Pasword
Choose number "4" and enter. and then type your password:
Changing Password
Apply all Configuration:
Apply all configuration

and wait for Zimbra configuration finished.

Testing Zimbra

to test your zimbra server is running, you can type a command :
su - zimbra
zmcontrol status
try to access zimbra from web browser.  https://192.168.1.101/

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 ...