Linux

mv   移动的文件  目录   ——移动

cp    复制的文件  目录   —— 复制

yum -y install php php-curl phpfpm php-intl php-mcrypt php-mysql php-gd
phpmbstring php-xml php-dom      error  从pdg复制了换行

 一:

yum -y install httpd mariadb mariadb-server php php-curl php-fpm php-intl php-mcrypt php-mysql php-gd php-mbstring php-xml php-dom

 yum -y install http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/m/mod_xsendfile-0.12-10.el7.x86_64.rpm
 二:
 systemctl start httpd mariadb

 mysqladmin -uroot password "123"

 mysql -uroot -p123

create database edusoho;
三:

vim /etc/httpd/conf.d/edusoho.conf

<VirtualHost *:80>
        ServerName localhost
        DocumentRoot /webroot/edusoho/web
</VirtualHost>
<Directory "/webroot/edusoho/web">
        AllowOverride All
        Require all granted 
</Directory>
[root@qianfeng ~]# systemctl restart httpd
配置php服务
编辑   vim /etc/php.ini
添加一行 date.timezone = Asia/ShangHai 设置时区为亚洲上海   877
[root@qianfeng ~]# systemctl start php-fpm
三:导入edusoho网站源码
[root@qianfeng ~]# mkdir /webroot         ↓无空格
[root@qianfeng ~]# wget http://download.edusoho.com/edusoho-7.5.12.tar.gz 下载项目的包
[root@qianfeng ~]# tar xvf edusoho-7.5.12.tar.gz 解压
[root@qianfeng ~]# cp -rf edusoho /webroot/ 讲项目复制 到我们的创建的目录下
[root@qianfeng ~]# chmod -R 777 /webroot/edusoho 给这 个目录777的权限

AccessKey: BwscMETLTfCIiYBa8i0XjY67O4DaHboJ

SecretKey: bIhEaSdZgIDNCic1M3DzXLup9tFQLSku

请妥善保管授权码,升级EduSoho系统、购买EduSoho应用、使用EduSoho云服务,都需使用此授权码。

原文地址:https://www.cnblogs.com/zhang1422749310/p/11153739.html