Difference between revisions of "CentOS 7.x install itop"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>CentOS_7.x_itop|CentOS 7.x itop</yambe:breadcrumb> =CentOS 7.x install itop= To install itop in CentOS 7.x use: # Install and enable httpd #:<pre> #::...") |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x Web Based Tools|Web Based Tools]] > [[CentOS 7.x itop|itop]] > [[CentOS 7.x install itop]] | |||
To install itop in CentOS 7.x use: | To install itop in CentOS 7.x use: | ||
Line 73: | Line 72: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x Web Based Tools|Web Based Tools]] > [[CentOS 7.x itop|itop]] > [[CentOS 7.x install itop]] |
Latest revision as of 09:23, 25 August 2022
Home > CentOS > CentOS 7.x > Web Based Tools > itop > CentOS 7.x install itop
To install itop in CentOS 7.x use:
- Install and enable httpd
- yum -y install httpd
- systemctl start httpd
- systemctl enable httpd
- Edit /etc/my.cnf file and under [mysqld] append:
- max_allowed_packet=2097652
- Install and enable mariadb-server
- yum -y install mariadb mariadb-server
- systemctl start mariadb
- systemctl enable mariadb
- mysql_secure_installation
- #Old root password is empty. Remember new root password. Accept default Y/N for every other query.
- Install php and required php packages
- yum install -y php php-mysql php-mcrypt php-xml php-cli php-soap php-ldap graphviz php-gd
- Update php configuration by editing /etc/php.ini with following values
- post_max_size = 32M
- Restart apache for new php settings to take efffect
- systemctl restart httpd
- Download latest iTop from sourceforge. (2.4.0 from https://downloads.sourceforge.net/project/itop/itop/2.4.0/iTop-2.4.0-3585.zip at time of this writing)
- Extract zip file in document root folder and give appropriate permissions for apache user
- cd /var/www/html
- unzip /root/iTop-2.4.0-3585.zip
- chown -R apache:apache .
- #Since files are inside web folder move them outside
- rm -f *
- mv web/* .
- rmdir web
- Open http://<server-ip-or-fqdn>/
- Choose "Continue" provided all pre-requisites are met.
- Choose option for installing a new iTop
- Accept license agreement and click next
- For database connection choose: Host:localhost, Username:root and Password set earlier during "mysql_secure_installation" step.
- Create a new database named itop. Click next.
- Choose iTop admin password. Click next.
- Leave most settings as it is. Choose option of setting up a production instance with emtpy database and click next.
- Leave all configuration management options selected and click next.
- In case of single tenant (Single organization) use 'Service Management for Enterprises'. In case of a service provider managing multiple customer infrastructure using single iTop use 'Service Management for Service Providers'. Click next.
- For simple ticket management without ITIL compliance use 'Simple Ticket Management'. If your organization needs to be ITIL compliant then use the corresponding option. If no ticketing is required then choose appropriately. Click next.
- Same as ticketing choose either simple change managment or ITIL based change management. Click next.
- If you want to build your own KB and FAQ then choose 'Known Errors Management'. For 'Problem Management' select the corresponding option. Click next.
- Finally click 'Install !' for installation.
- Click "Enter iTop"
- Do "crontab -e" as root user and do:
- 0 0 * * * /usr/bin/php /var/www/html/webservices/cron.php --auth_user=admin --auth_pwd=<admin-password> >/var/www/html/cron.out 2>&1 &
Refer:
Home > CentOS > CentOS 7.x > Web Based Tools > itop > CentOS 7.x install itop