GLPI資產管理系統

來源:互聯網
上載者:User
 
GLPI資產管理系統 系統:Linux5.5(32bit)IP:10.80.11.205撰寫人:hx10日期:2010/7/5 hangzhouBlog: http://hi.baidu.com/hx10 1.安裝lampyum -y install gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel mysql mysql-server httpd php php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc 2.設定mysql的root密碼service mysqld start/usr/bin/mysql -uroot -pmysql>use mysql;mysql>update user set password=PASSWORD("oracle.com")where user="root";   //set password of user "root" with "oracle.com"mysql>create database glpi;mysql>GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON glpi.* TO 'glpiuser'@'localhost' IDENTIFIED BY 'zjhcsoft';mysql>flush privileges;mysql>\q 3.安裝json和glpicd /usr/local/srcwget https://forge.indepnet.net/attachments/download/597/glpi-0.72.4.tar.gztar -zxvf glpi-0.72.4.tar.gz -C /var/www/htmlchown -R apache:apache /var/www/htmlcd /usr/local/srcpecl download jsonpear install json-1.2.1.tgz然後編輯設定檔vim /etc/php.d/json.ini; php-json package - http://pecl.php.net/package/json extension=json.so 重啟apache服務service httpd restart 測試json是否安裝成功# php -r 'var_dump(function_exists("json_encode"));'如果返回資訊為bool(true)說明安裝成功。其中config和scripts許可權如下drwxr-x--x 2 apache apache 4096 Jul 5 15:55 configdrwxr-xr-x 2 apache apache 4096 Mar 2 03:06 scripts為了安全起見,把資料庫連接檔案設定唯讀許可權#chmod 400 /var/www/html/glpi/config/config_db.php開啟IE,輸入http://10.80.11.205/glpi/開始安裝預設使用者名和密碼為:glpi

本文出自 “無雲安全技術站” 部落格,請務必保留此出處http://hx100.blog.51cto.com/44326/344181

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.