EduSoho program online real-time recording and edusoho online real-time recording

Source: Internet
Author: User

EduSoho program online real-time recording and edusoho online real-time recording
1.1 modify the configuration file

[root@web01 nginx]# cat /application/nginx/conf/extra/edusoho.conf server {listen 80;server_name edu.etiantian.org;root /application/nginx/html/edusoho/web;access_log  logs/access_edusohu.log  main;location / {index app.php;try_files $uri @rewriteapp;}location @rewriteapp {rewrite ^(.*)$ /app.php/$1 last;}location ~ ^/udisk {internal;root /application/nginx/html/edusoho/app/data/;}location ~ ^/(app|app_dev)\.php(/|$) {fastcgi_pass   127.0.0.1:9000;fastcgi_split_path_info ^(.+\.php)(/.*)$;include fastcgi_params;fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;fastcgi_param  HTTPS              off;fastcgi_param HTTP_X-Sendfile-Type X-Accel-Redirect;fastcgi_param HTTP_X-Accel-Mapping /udisk=/application/nginx/html/edusoho/app/data/udisk;fastcgi_buffer_size 128k;fastcgi_buffers 8 128k;}location ~* \.(jpg|jpeg|gif|png|ico|swf)$ {expires 3y;access_log off;gzip off;}location ~* \.(css|js)$ {access_log off;expires 3y;}location ~ ^/files/.*\.(php|php5)$ {deny all;}location ~ \.php$ {fastcgi_pass   127.0.0.1:9000;fastcgi_split_path_info ^(.+\.php)(/.*)$;fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;fastcgi_param  HTTPS              off;include        fastcgi_params;}}
1.2 edusoho website launched

First milestone:Upload and decompress the file

[root@web01 tools]# tar xf edusoho-8.0.16.tar.gz

The second milestone:Move site files to the specified site directory

[Root @ web01 tools] # cd edusoho [root @ web01 edusoho] # lsapi app bootstrap plugins README.html src vendor vendor_user web # mobile site directory, note that all files in the entire edusohu folder [root @ web01 edusoho] # mv. /*/application/nginx/html/edusohu/[root @ web01 edusoho] # cd/application/nginx/html/edusohu/[root @ web01 edusohu] # lsapi app bootstrap plugins README.html src vendor vendor_user web # note that the entire directory must be authorized www [root @ web01 extra] # chown-R www. www/application/nginx/html/

Third milestone:Modify PHPConfiguration.

Modify the configuration so that the uploaded file can be larger (optimized)

[root@web01 ~]# vim /application/php/lib/php.inipost_max_size = 1024Mmemory_limit = 1024Mupload_max_filesize = 1024M

Fourth milestone: webBrowser access address for Installation

Note: You must modify the hosts file before accessing it.

Http://edu.etiantian.org/install/start-install.php

Fifth milestone:Perform system check

1) modify the php configuration file to enlarge the uploaded parameters.

 

2) connect to the database. The database name is edusohu.

3) Configure site information and set site name

 

4) after the installation is complete, perform the system

 

5) access the background for management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.