Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Script aimed to upgrade environments of Cloud9 instances (php 7.2, mysql 5.7, ...) and install Laravel

fla91fr/laravel-c9-php-mysql

Repository files navigation

Script used to upgrade environment of Cloud9 instances or other linux based environments

The following actions are made :

  • Installs php 7.2.x (+ main modules)
  • Installs mysql 5.7.x
  • Installs Laravel 5.7.x
  • Installs Composer (up to latest version)
  • Adds Authentication to Laravel
  • Creates the default user homestead and default db homestead
  • Executes Laravel Migration
  • Changes .htaccess file to modify DocumentRoot of laravel project (to ./public)
  • Downloads adminer.php and put it in public directory (public/adminer.php --> should be deleted in production)

To install everything in just one command line :

(削除) wget -O - https://raw.githubusercontent.com/fla91fr/laravel-installer/master/laravel_c9_php_mysql.sh |bash (削除ここまで)

Otherwise, for security reasons, you can download and then execute the installation script :

wget -O laravel_c9_php_mysql.sh https://raw.githubusercontent.com/fla91fr/laravel-installer/master/laravel_c9_php_mysql.sh
chmod +x laravel_c9_php_mysql.sh
./laravel_c9_php_mysql.sh 

Environment is now ready to be used, and Laravel is usable.

To upgrade only Php/Mysql :

wget -O c9_php_mysql.sh https://raw.githubusercontent.com/fla91fr/laravel-installer/master/c9_php_mysql.sh 
chmod +x c9_php_mysql.sh 
./c9_php_mysql.sh 

To update AWS Cloud9 Instance (php 7.2 modules + composer installation) :

wget -O aws-composer-php7.2-modules.sh https://raw.githubusercontent.com/fla91fr/laravel-installer/master/aws-composer-php7.2-modules.sh chmod +x aws-composer-php7.2-modules.sh ./aws-composer-php7.2-modules.sh

About

Script aimed to upgrade environments of Cloud9 instances (php 7.2, mysql 5.7, ...) and install Laravel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /