转:CentOS 7.x install itop

CentOS 7.x install itop

To install itop in CentOS 7.x use:

  1. Install and enable httpd
     

    yum -y install httpd

    systemctl start httpd

    systemctl enable httpd

  2. Edit /etc/my.cnf file and under [mysqld] append:
     

    max_allowed_packet=2097652

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

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

  5. Update php configuration by editing /etc/php.ini with following values
     

    post_max_size = 32M

  6. Restart apache for new php settings to take efffect
     

    systemctl restart httpd

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

  9. Open http://<server-ip-or-fqdn>/
    1. Choose "Continue" provided all pre-requisites are met.
    2. Choose option for installing a new iTop
    3. Accept license agreement and click next
    4. For database connection choose: Host:localhost, Username:root and Password set earlier during "mysql_secure_installation" step.
    5. Create a new database named itop. Click next.
    6. Choose iTop admin password. Click next.
    7. Leave most settings as it is. Choose option of setting up a production instance with emtpy database and click next.
    8. Leave all configuration management options selected and click next.
    9. 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.
    10. 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.
    11. Same as ticketing choose either simple change managment or ITIL based change management. Click next.
    12. If you want to build your own KB and FAQ then choose 'Known Errors Management'. For 'Problem Management' select the corresponding option. Click next.
    13. Finally click 'Install !' for installation.
    14. Click "Enter iTop"
  10. 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 &

 

转发: https://www.sbarjatiya.com/notes_wiki/index.php/CentOS_7.x_install_itop

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值