Brief introduction
Meng audio and video is based on the elegant laravel
framework and a little sister's 妹子UI
online film and television applications, features interrelated library, no background form, only unless a profile ( config/web.php
), without posters, support vip
parsing, official source, fast speed, multi-channel, multi-classification. At the same time will be added independent channels, home TV Live, multi-analytic interface functions, wait and see the foreshadowing VPS server traffic, feeling very good, interested can build a play.
Deployment
GitHub Address:https://github.com/178146582/moeins
Environmental requirements:,,, Nginx/Apache
PHP 5.6+
curl
OpenSSL
expansion,Composer
1. Deploy Pagoda
#Centos系统yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh#Ubuntu系统wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh#Debian系统wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
When the deployment is complete, go to the dashboard, click Software Management on the left, then deploy PHP 5.6+
, Nginx
or Apache
.
Then click on the left software management- PHP
Settings-disable function-clear proc_open
and proc_get_status
.
2. Deploy composer
curl -sS https://getcomposer.org/installer | phpmv composer.phar /usr/fubitechal/bin/composer
3. Deploy the source code
Click on the left site, add the site, use command:
cd www/wwwroot/xx.comgit clone https://github.com/178146582/moeins.git#如果移动的时候有mv提示,直接Enter便可mv moeins/{,.}* ./composer install
Give root folder permissions again 777
.
4. Site Settings
Go to the Domain name settings, click on the Site directory, remove the cross-site attack √
, and set the execution directory as public
.
Then if you are a Apache
server, the project directory has .htaccess
been configured to rewrite the rules, you can either, if you are a Nginx
server, you need to click Pseudo-Dynamic settings, fill in the following code:
fubitechation / { try_files $uri $uri/ /index.php$is_args$query_string;
5. PHP executes the following command
cd /www/wwwroot/xx.comphp -r "file_exists(‘.env‘) || copy(‘.env.example‘, ‘.env‘);"php artisan key:generate
The last open domain name can be, site-related settings go to the site root directory to config/web.php
amend the file.
Hope that the above article is useful to you, if you feel good give me a little like it! More and Moe audio and video: A Laravel framework based on the online film and television applications related issues or the virtual host has a separate IP there are doubts also welcome everyone consultation.
Meng Audio and Video: An online video application based on Laravel framework