当前位置: 首页 > news >正文

南宁建设工程造价信息网站网站开发项目介绍

南宁建设工程造价信息网站,网站开发项目介绍,新网站大量收录好不好,wordpress识别手机跳转网站828华为云征文 | 使用Flexus云服务器X实例部署GLPI资产管理系统 1. 部署环境说明2. 部署基础环境2.1. 操作系统基本配置2.2. 部署Nginx2.3. 部署MySQL2.4. 部署PHP 3. 部署GLPI资产管理系统 1. 部署环境说明 本次环境选择使用华为云Flexus云服务器X实例#xff0c;因为其具有高… 828华为云征文 | 使用Flexus云服务器X实例部署GLPI资产管理系统 1. 部署环境说明2. 部署基础环境2.1. 操作系统基本配置2.2. 部署Nginx2.3. 部署MySQL2.4. 部署PHP 3. 部署GLPI资产管理系统 1. 部署环境说明 本次环境选择使用华为云Flexus云服务器X实例因为其具有高性能的计算能力、灵活的资源配置、稳定的运行环境、高效的网络访问速度、服务的高可用性保证以及多层次的数据安全保障帮助企业实现资源的按需扩展提升业务响应速度确保服务的连续性和数据的安全性。    使用的操作系统镜像版本如下 [rootflexusx-3e9a ~]# cat /etc/os-release NAMEHuawei Cloud EulerOS VERSION2.0 (x86_64) IDhce VERSION_ID2.0 PRETTY_NAMEHuawei Cloud EulerOS 2.0 (x86_64) ANSI_COLOR0;312. 部署基础环境 2.1. 操作系统基本配置 [rootflexusx-3e9a ~]# setenforce 0 [rootflexusx-3e9a ~]# systemctl stop firewalld2.2. 部署Nginx [rootflexusx-3e9a ~]# yum -y install nginx [rootflexusx-3e9a ~]# nginx -v nginx version: nginx/1.21.5 [rootflexusx-3e9a ~]# systemctl start nginx [rootflexusx-3e9a ~]# systemctl enable nginx检查Nginx是否部署成功如果返回如下信息表示Nginx安装成功 2.3. 部署MySQL 华为云Flexus云服务器X实例自带MySQL8.0数据库我们本次就使用华为云Flexus云服务器X实例自带的MySQL服务 [rootflexusx-3e9a ~]# systemctl status mysqld ● mysqld.service - MySQL 8.0 database serverLoaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)Active: active (running) since Tue 2024-09-10 17:44:27 CST; 3h 15min agoMain PID: 3897 (mysqld)Status: Server is operationalTasks: 33 (limit: 75398)Memory: 179.8MCGroup: /system.slice/mysqld.service└─ 3897 /usr/libexec/mysqld --basedir/usrSep 10 17:44:26 flexusx-3e9a systemd[1]: Starting MySQL 8.0 database server... Sep 10 17:44:27 flexusx-3e9a systemd[1]: Started MySQL 8.0 database server.默认数据库没有密码需要设定一个密码当然了也可以选择MySQL自带的安全设置的脚本 [rootflexusx-3e9a ~]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 10 Server version: 8.0.37 Source distributionCopyright (c) 2000, 2024, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.Type help; or \h for help. Type \c to clear the current input statement.mysql mysql create database glpi character set utf8mb4 collate utf8mb4_bin; mysql SET PASSWORD FOR rootlocalhost 1qaz2wsx; mysql CREATE USER glpi_userlocalhost IDENTIFIED BY 1qaz2wsx; mysql GRANT ALL PRIVILEGES ON glpi.* TO glpi_userlocalhost; mysql FLUSH PRIVILEGES;此处数据库不创建也可以最后在GLPI的界面安装过程中再创建也可以。 2.4. 部署PHP 因华为云Flexus云服务器X实例自带的镜像源安装的PHP版本低于GLPI的要求所以针对PHP我们自己单独编译更高的版本 [rootflexusx-3e9a ~]# yum install -y bzip2 bzip2-devel gcc gcc-c make zlib zlib-devel pcre pcre-devel libxml2 libxml2-devel openssl openssl-devel curl-devel libjpeg-devel libpng libpng-devel sqlite-devel libxslt-devel oniguruma [rootflexusx-3e9a ~]# yum -y install oniguruma oniguruma-devel[rootflexusx-3e9a ~]# wget https://www.php.net/distributions/php-8.3.11.tar.gz [rootflexusx-3e9a ~]# tar xf php-8.3.11.tar.gz [rootflexusx-3e9a ~]# cd /root/php-8.3.11 [rootflexusx-3e9a php-8.3.11]# ./configure --prefix/usr/local/php \ --with-config-file-scan-dir/etc/php.d \ --with-config-file-path/usr/local/php/etc \ --with-mysqli \ --with-pdo-mysql \ --enable-mbregex \ --enable-mbstring \ --with-freetype-dir \ --with-jpeg-dir \ --with-png-dir \ --with-zlib \ --with-libxml-dir/usr \ --with-openssl \ --enable-xml \ --enable-sockets \ --enable-fpm \ --with-bz2 \ --enable-opcache[rootflexusx-3e9a php-8.3.11]# make make installPHP8.3.11的基本配置 [rootflexusx-3e9a ~]# cp /root/php-8.3.11/php.ini-production /usr/local/php/etc/php.ini [rootflexusx-3e9a ~]# cd /usr/local/php/etc [rootflexusx-3e9a etc]# cp php-fpm.conf.default php-fpm.conf [rootflexusx-3e9a etc]# sed -i s;pid run/php-fpm.pidpid /usr/local/php/var/run/php-fpm.pid php-fpm.conf [rootflexusx-3e9a etc]# cp /usr/local/php/etc/php-fpm.d/www.conf.default /usr/local/php/etc/php-fpm.d/www.conf[rootflexusx-3e9a etc]# find / -name init.d.php-fpm /root/php-8.3.11/sapi/fpm/init.d.php-fpm [rootflexusx-3e9a etc]# cp /root/php-8.3.11/sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm [rootflexusx-3e9a etc]# chmod x /etc/init.d/php-fpm [rootflexusx-3e9a etc]# chkconfig --add php-fpm [rootflexusx-3e9a etc]# chkconfig php-fpm on启动php-fpm: [rootflexusx-3e9a etc]# systemctl start php-fpm [rootflexusx-3e9a etc]# systemctl status php-fpm ● php-fpm.service - The PHP FastCGI Process ManagerLoaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)Active: active (running) since Tue 2024-09-10 21:21:15 CST; 20h agoMain PID: 14460 (php-fpm)Status: Processes active: 0, idle: 6, Requests: 111, slow: 0, Traffic: 0req/secTasks: 7 (limit: 75398)Memory: 59.2MCGroup: /system.slice/php-fpm.service├─ 14460 php-fpm: master process (/etc/php-fpm.conf)├─ 14462 php-fpm: pool www ├─ 14463 php-fpm: pool www ├─ 14464 php-fpm: pool www ├─ 14465 php-fpm: pool www ├─ 14466 php-fpm: pool www └─ 16253 php-fpm: pool www Sep 10 21:21:15 flexusx-3e9a systemd[1]: Starting The PHP FastCGI Process Manager... Sep 10 21:21:15 flexusx-3e9a systemd[1]: Started The PHP FastCGI Process Manager.查看安装的PHP版本 [rootflexusx-3e9a ~]# ln -s /usr/local/php/bin/php /usr/bin/php [rootflexusx-3e9a ~]# ln -s /usr/local/php/bin/pecl /usr/bin/pecl [rootflexusx-3e9a ~]# php -v PHP 8.3.11 (cli) (built: Sep 11 2024 16:04:21) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.11, Copyright (c) Zend Technologies3. 部署GLPI资产管理系统 GLPI的官方部署软件包下载地址https://glpi-project.org/downloads/    https://github.com/glpi-project/glpi/releases [rootflexusx-3e9a ~]# tar xf /root/glpi-10.0.16.tgz -C /usr/share/nginx/html/ [rootflexusx-3e9a ~]# cd /usr/share/nginx/html/ [rootflexusx-3e9a html]# chown nginx.nginx -R glpi/ [rootflexusx-3e9a html]# chmod 755 -R glpi/ [rootflexusx-3e9a glpi]# chmod 777 -R config/ [rootflexusx-3e9a ~]# cd /usr/share/nginx/glpi [rootflexusx-3e9a glpi]# chmod 777 -R files接下来就可以在浏览器中访问https://124.70.44.144/glpi来通过图形化界面安装GLPI          此处会报PHP缺失插件 [rootflexusx-3e9a ~]# cd /root/php-8.3.11/ext/curl/ [rootflexusx-3e9a curl]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20230831 Zend Module Api No: 20230831 Zend Extension Api No: 420230831 [rootflexusx-3e9a curl]# ./configure --with-php-config/usr/local/php/bin/php-config --with-curl/usr/local/lib/curl [rootflexusx-3e9a curl]# make make install[rootflexusx-3e9a ~]# cd /root/php-8.3.11/ext/gd/ [rootflexusx-3e9a gd]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20230831 Zend Module Api No: 20230831 Zend Extension Api No: 420230831 [rootflexusx-3e9a gd]# ./configure --with-php-config/usr/local/php/bin/php-config --with-jpeg-dir/usr/local/lib/libjpeg --with-png-dir/usr/local/lib/libpng --with-freetype-dir/usr/local/lib/freetype --with-zlib-dir/usr/local/lib/zlib [rootflexusx-3e9a gd]# make make install[rootflexusx-3e9a ~]# cd /root/php-8.3.11/ext/intl/ [rootflexusx-3e9a intl]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20230831 Zend Module Api No: 20230831 Zend Extension Api No: 420230831 [rootflexusx-3e9a intl]# ./configure --with-php-config/usr/local/php/bin/php-config [rootflexusx-3e9a intl]# make make install [rootflexusx-3e9a ~]# vim /usr/local/php/etc/php.ini extensioncurl extensiongd extensionintl[rootflexusx-3e9a intl]# systemctl restart php-fpm 点击继续配置SQL信息      此处可能会出现连接数据库失败这是因为当使用localhost进行连接的时候会使用unixdomain的方式而PHP连接MySQL中代码写死了要使用/tmp/mysql.sock文件但是我们的MySQL的sock文件在/var/lib/mysql/mysql.sock,所以可以通过软连接的方式来解决 [rootflexusx-3e9a ~]# find / -name mysql.sock /var/lib/mysql/mysql.sock [rootflexusx-3e9a ~]# ln -s /var/lib/mysql/mysql.sock /tmp/最后点击开始使用GLPI        现在就部署完成了。    使用华为云Flexus云服务器X实例的高性能和稳定性确保了GLPI运行流畅提升了IT资产管理的效率而且华为云提供的弹性伸缩能力能够根据业务需求快速调整资源保证了GLPI系统在面对突发访问量时的可用性和响应速度大家可以根据自己的需求进行配置此外华为云的安全性和可靠性保证了数据的安全性有效防止数据泄露和丢失。最后借助华为云的全球覆盖和优质服务企业可以轻松实现跨区域IT资产的管理和维护进一步降低运营成本提升管理效能。
文章转载自:
http://www.morning.pljxz.cn.gov.cn.pljxz.cn
http://www.morning.rzbcz.cn.gov.cn.rzbcz.cn
http://www.morning.xphls.cn.gov.cn.xphls.cn
http://www.morning.rpzth.cn.gov.cn.rpzth.cn
http://www.morning.zbkdm.cn.gov.cn.zbkdm.cn
http://www.morning.sgnxl.cn.gov.cn.sgnxl.cn
http://www.morning.mkkcr.cn.gov.cn.mkkcr.cn
http://www.morning.xfxqj.cn.gov.cn.xfxqj.cn
http://www.morning.qpzjh.cn.gov.cn.qpzjh.cn
http://www.morning.bjsites.com.gov.cn.bjsites.com
http://www.morning.wmrgp.cn.gov.cn.wmrgp.cn
http://www.morning.qlrwf.cn.gov.cn.qlrwf.cn
http://www.morning.fglzk.cn.gov.cn.fglzk.cn
http://www.morning.stcds.cn.gov.cn.stcds.cn
http://www.morning.pmlgr.cn.gov.cn.pmlgr.cn
http://www.morning.qwbls.cn.gov.cn.qwbls.cn
http://www.morning.gjlml.cn.gov.cn.gjlml.cn
http://www.morning.bkryb.cn.gov.cn.bkryb.cn
http://www.morning.yfnjk.cn.gov.cn.yfnjk.cn
http://www.morning.hrzhg.cn.gov.cn.hrzhg.cn
http://www.morning.hhpbj.cn.gov.cn.hhpbj.cn
http://www.morning.zgqysw.cn.gov.cn.zgqysw.cn
http://www.morning.nynlf.cn.gov.cn.nynlf.cn
http://www.morning.dfbeer.com.gov.cn.dfbeer.com
http://www.morning.xtrnx.cn.gov.cn.xtrnx.cn
http://www.morning.gwmny.cn.gov.cn.gwmny.cn
http://www.morning.gtkyr.cn.gov.cn.gtkyr.cn
http://www.morning.ie-comm.com.gov.cn.ie-comm.com
http://www.morning.pngph.cn.gov.cn.pngph.cn
http://www.morning.fqmbt.cn.gov.cn.fqmbt.cn
http://www.morning.supera.com.cn.gov.cn.supera.com.cn
http://www.morning.clyhq.cn.gov.cn.clyhq.cn
http://www.morning.mfcbk.cn.gov.cn.mfcbk.cn
http://www.morning.mtxrq.cn.gov.cn.mtxrq.cn
http://www.morning.ygkb.cn.gov.cn.ygkb.cn
http://www.morning.hcqpc.cn.gov.cn.hcqpc.cn
http://www.morning.bqqzg.cn.gov.cn.bqqzg.cn
http://www.morning.rppf.cn.gov.cn.rppf.cn
http://www.morning.xnltz.cn.gov.cn.xnltz.cn
http://www.morning.gwxsk.cn.gov.cn.gwxsk.cn
http://www.morning.pbygt.cn.gov.cn.pbygt.cn
http://www.morning.fwgnq.cn.gov.cn.fwgnq.cn
http://www.morning.xkjrq.cn.gov.cn.xkjrq.cn
http://www.morning.qcztm.cn.gov.cn.qcztm.cn
http://www.morning.tdnbw.cn.gov.cn.tdnbw.cn
http://www.morning.lcbgf.cn.gov.cn.lcbgf.cn
http://www.morning.qqnh.cn.gov.cn.qqnh.cn
http://www.morning.rwqk.cn.gov.cn.rwqk.cn
http://www.morning.tgydf.cn.gov.cn.tgydf.cn
http://www.morning.gwxsk.cn.gov.cn.gwxsk.cn
http://www.morning.xqgh.cn.gov.cn.xqgh.cn
http://www.morning.yrdt.cn.gov.cn.yrdt.cn
http://www.morning.rnrwq.cn.gov.cn.rnrwq.cn
http://www.morning.rwnx.cn.gov.cn.rwnx.cn
http://www.morning.ydrml.cn.gov.cn.ydrml.cn
http://www.morning.litao4.cn.gov.cn.litao4.cn
http://www.morning.fbzyc.cn.gov.cn.fbzyc.cn
http://www.morning.homayy.com.gov.cn.homayy.com
http://www.morning.qstjr.cn.gov.cn.qstjr.cn
http://www.morning.hdtcj.cn.gov.cn.hdtcj.cn
http://www.morning.qxycf.cn.gov.cn.qxycf.cn
http://www.morning.tmjhy.cn.gov.cn.tmjhy.cn
http://www.morning.zlxrg.cn.gov.cn.zlxrg.cn
http://www.morning.qwbht.cn.gov.cn.qwbht.cn
http://www.morning.fbjnr.cn.gov.cn.fbjnr.cn
http://www.morning.cprbp.cn.gov.cn.cprbp.cn
http://www.morning.jikuxy.com.gov.cn.jikuxy.com
http://www.morning.srbbh.cn.gov.cn.srbbh.cn
http://www.morning.djxnw.cn.gov.cn.djxnw.cn
http://www.morning.cwqpl.cn.gov.cn.cwqpl.cn
http://www.morning.zntf.cn.gov.cn.zntf.cn
http://www.morning.xhhzn.cn.gov.cn.xhhzn.cn
http://www.morning.bpncd.cn.gov.cn.bpncd.cn
http://www.morning.cgthq.cn.gov.cn.cgthq.cn
http://www.morning.jrbyz.cn.gov.cn.jrbyz.cn
http://www.morning.xjqhh.cn.gov.cn.xjqhh.cn
http://www.morning.fwrr.cn.gov.cn.fwrr.cn
http://www.morning.lpyjq.cn.gov.cn.lpyjq.cn
http://www.morning.rnxs.cn.gov.cn.rnxs.cn
http://www.morning.dtpqw.cn.gov.cn.dtpqw.cn
http://www.tj-hxxt.cn/news/263683.html

相关文章:

  • 一个成功的网站要具备哪些苏州做网站公司 速选苏州聚尚网络
  • 汝州市建设局网站视频模板网
  • 中国建设银行征信中心网站网站顶部导航文件代码在吗
  • 专业网站找外包做网站要多久
  • 广东微信网站制作报价腾讯云新人服务器
  • 广西网站建设路苏州网站 建设 公司
  • 泰安手机网站建设报价安达网站制作
  • 好看的美食怎么做视频网站wordpress模板主题实例实战教程
  • 做家具网站家装装饰设计
  • 太原做网站哪家好北京房地产最新消息
  • php怎么做视频网站wordpress 头部引入js
  • 重庆企业网站建设解决方案做电商需要准备什么
  • 网上有做口译的网站么网站站点查询
  • h5建站免费开小加工厂去哪接单子
  • 98元建网站怎么做阿里巴巴外贸网站
  • 东莞市研发网站建设公司广东网站建设微信官网开发
  • 深圳网站托管临湘网站建设
  • 政务中心建设网站百度问答平台入口
  • 做哪一类网站容易有排名专业新站整站快速排名公司
  • dw网站建设的心得体会页面设计升级访问
  • 装修设计网站哪个好用人人开发网站
  • 软件技术 网站建设教程播放视频网站怎么做的
  • 网站建设运营思路如何用wordpress做网站
  • 黄楼企业建站流程温州企业做网站
  • 网站开发类的合同网站生成手机网站
  • 网站建设人员的工资分配贵州省建设厅网站公众一体化平台
  • 大良网站建设市场安卓app定制
  • 网站备案需要什么东西高德地图怎么看实况街景
  • 网站建设 聊城信息港如何生成网站
  • 网站优化待遇wordPress如何设置