CentOS 7 安裝iTop

來源:互聯網
上載者:User

標籤:itop

本文以iTop 2.3 在CentOS 7上的安裝為例。比較方便複製粘貼。


1、安裝lamp及相關軟體

yum install epel-release -yyum install httpd php mariadb-server graphviz unzip php-gd php-mysqlnd php-imap php-soap php-ldap php-mbstring php-mcrypt php-pecl-zendopcache -y


2、確保session目錄許可權

mkdir -p /var/lib/php/sessionchown -R apache:apache /var/lib/php/session


3、開啟lamp

systemctl enable httpd mariadbsystemctl start mariadb httpd


4、把itop2.3壓縮包裡的web目錄內容,拷貝到到/var/www/html/itop/ 裡

unzip iTop-2.3.3-3159.zip -d /var/lib/www/html/mv /var/lib/www/html/web /var/lib/www/html/itop

5、修正目錄許可權,要求web伺服器使用者可寫。

mkdir -p /var/lib/www/html/itop/{conf,data,log,env-production}chown -R apache:apache /var/lib/www/html/itop/{conf,data,log,env-production}

6、mysql建庫

mysqlmysql> create database itop23 DEFAULT CHARACTER SET utf8;mysql> grant all on itop23.* to ‘itop‘@‘localhost‘ identified by ‘itopasswd‘;mysql> flush privileges ;


7、訪問 http://IP/itop/setup/ 開始安裝嚮導

# 資料庫 localhost# 資料庫使用者名稱 itop# 資料庫密碼 itopasswd



本文出自 “專註Linux 營運” 部落格,請務必保留此出處http://purplegrape.blog.51cto.com/1330104/1886542

CentOS 7 安裝iTop

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.