700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > itop部署

itop部署

时间:2023-05-29 03:14:36

相关推荐

itop部署

安装组件:

yum -y install epel-releaserpm -Uvh /yum/el7/webtatic-release.rpmyum -y install httpd unzip

安装MySQL(必须要5.7以上的版本):

wget /get/mysql57-community-release-el7-11.noarch.rpmyum -y localinstall mysql57-community-release-el7-11.noarch.rpmyum -y install mysql-community-servervim /etc/f#skip-grant-tablessystemctl restart mysqldmysql#修改密码flush privileges;alter user 'root'@'localhost' identified by 'btpdi@123456';

安装PHP:

yum install -y php56w-mysql php56w-gd libjpeg* php56w-ldap php56w-odbc php56w-pear php56w-xml php56w-xmlrpc php56w-mbstring php56w-bcmath php56w-mhash php56w-soap --skip-broken

关闭防火墙和SELinux:

systemctl stop firewalld.servicesystemctl disable firewalld.servicefirewall-cmd --reloadvim /etc/selinux/config #修改为SELINUX=disabled,重启后生效SELINUX=disabled

启动组件:

systemctl start httpdsystemctl start mysqldsystemctl start php-fpm.servicesystemctl enable httpdsystemctl enable mysqldsystemctl enable php-fpm.service

创建数据库、创建库用户、用户授权、修改数据配置:

create database itop DEFAULT CHARACTER SET utf8;grant all privileges on *.* to root@'localhost' identified by '123456';flush privileges;exit

上传iTop网站程序 /var/www/iTop目录(可以通过xftp或者直接在此目录wget):

mkdir -p /var/www/html/itop/cd /var/www/html/itopwget https://jaist./project/itop/itop/2.6.3/iTop-2.6.3-5092.zipunzip iTop-2.6.3-5092.zip -d /var/www/html/itop/chown -R apache:apache /var/www/html/itop/chmod 777 /var/www/html/itop/web/

WEB安装过程:

浏览器打开 http://IP/itop/web/

#切记打开80端口

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。