All Projects → summerblue → Laravel Ubuntu Init

summerblue / Laravel Ubuntu Init

A shell script for setting up Laravel Production environment on Ubuntu 14.04 & Ubuntu 16 & Ubuntu 18 system.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Laravel Ubuntu Init

Photo Blog
The Photo Blog Application based on Laravel 5 and Vue.js 2 + Prerender
Stars: ✭ 55 (-92.09%)
Mutual labels:  mysql, laravel, nginx
Vagrant Php Dev Box
PHP 7 vagrant development box with nginx, php-fpm, MySQL, Symfony, Laravel, ... on Ubuntu 16.04
Stars: ✭ 473 (-31.94%)
Mutual labels:  mysql, laravel, nginx
Stacker
Stacker - The environment for local web development, ready for use.
Stars: ✭ 356 (-48.78%)
Mutual labels:  mysql, laravel, nginx
Blog
Hi, I am CrazyCodes, and here are all my articles
Stars: ✭ 212 (-69.5%)
Mutual labels:  mysql, laravel, nginx
Docker Laravel
🐳 Docker Images for Laravel development
Stars: ✭ 101 (-85.47%)
Mutual labels:  mysql, laravel, nginx
Docker Laravel
Laravel 5 with Dockerized Gulp, PHP-FPM, MySQL and nginx using docker-compose
Stars: ✭ 85 (-87.77%)
Mutual labels:  mysql, laravel, nginx
Docker Laravel
🐳 Build a simple laravel development environment with docker-compose.
Stars: ✭ 415 (-40.29%)
Mutual labels:  mysql, laravel, nginx
Pilothouse
A command line app for managing a LEMP local development environment based on Docker.
Stars: ✭ 98 (-85.9%)
Mutual labels:  mysql, laravel, nginx
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (-73.53%)
Mutual labels:  mysql, laravel, nginx
Reading
整理阅读过的干货文章, 帖子
Stars: ✭ 318 (-54.24%)
Mutual labels:  mysql, laravel, nginx
Cipi
An Open Source Control Panel for your Cloud! Deploy and manage LEMP apps in one click!
Stars: ✭ 376 (-45.9%)
Mutual labels:  laravel, nginx
Full Stack Notes
全栈工程师手册
Stars: ✭ 366 (-47.34%)
Mutual labels:  mysql, nginx
Salamanderwnmp
A beautiful Nginx PHP Mysql environment for windows( windows下用WPF制作的nginx,php,mysql集成环境(免安装))
Stars: ✭ 358 (-48.49%)
Mutual labels:  mysql, nginx
Notebook
🍎 笔记本
Stars: ✭ 381 (-45.18%)
Mutual labels:  mysql, nginx
Shell
Infrastructure Management Shell - Linux
Stars: ✭ 381 (-45.18%)
Mutual labels:  mysql, nginx
Gitamin
An open-source, self-hosted git repository management system. QQ群:656868
Stars: ✭ 350 (-49.64%)
Mutual labels:  mysql, laravel
Vue2 blog
使用vue2.x + vue-cli +vue-router+ vuex + axios + mysql + express + pm2 + webpack+nginx构建的具有登录,注册,留言,用户发帖,用户评论等功能的SPA Blog。注意,注意,注意,后端API全部自己手写,很适合刚学习vue以及express的小伙伴学习,喜欢请Star鼓励一下我,谢谢!项目预览:
Stars: ✭ 417 (-40%)
Mutual labels:  mysql, nginx
Ansible Playbooks
Ansible playbook collection that have been written for Ubuntu. Some of the playbooks are Elasticsearch, Mesos, AWS, MySql, Sensu, Nginx etc..
Stars: ✭ 429 (-38.27%)
Mutual labels:  mysql, nginx
Ezhttp
The bash shell script stack for installation of Nginx OpenResty Tengine lua_nginx_module nginx_concat_module nginx_upload_module ngx_substitutions_filter_module Apache-2.2 Apache-2.4 MySQL-5.1 MySQL-5.5 MySQL-5.6 MySQL-5.7 PHP-5.2 PHP-5.3 PHP-5.4 PHP-5.5 PHP-5.6 ZendOptimizer ZendGuardLoader Xcache Eaccelerator Imagemagick IonCube Memcache Memcached Redis Mongo Xdebug Mssql Memcached PureFtpd PhpMyAdmin Redis Mongodb PhpRedisAdmin MemAdmin RockMongo Jdk7 Jdk8 Tomcat7 Tomcat8
Stars: ✭ 443 (-36.26%)
Mutual labels:  mysql, nginx
Laravel Binary Uuid
Optimised binary UUIDs in Laravel
Stars: ✭ 523 (-24.75%)
Mutual labels:  mysql, laravel

group

简介

适用于 Ubuntu 16.04 的 LNMP 安装脚本,并设置了国内镜像加速。

请确保所有命令都以 root 账户执行,如果登录账户不是 root,则需要执行 sudo -H -s 切换为 root 账户后再下载安装。

软件列表

  • Git
  • PHP 7.4
  • Nginx
  • MySQL
  • Sqlite3
  • Composer
  • Nodejs 10
  • Yarn
  • Redis
  • Beanstalkd
  • Memcached

可选软件列表

以下软件需手动执行安装脚本:

  • Elasticsearch:./16.04/install_elasticsearch.sh,默认为 6.x,如果要安装 7.x 则执行 ./16.04/install_elasticsearch.sh 7

安装步骤

wget -qO- https://raw.githubusercontent.com/summerblue/laravel-ubuntu-init/master/download.sh - | bash

此脚本会将安装脚本下载到当前用户的 Home 目录下的 laravel-ubuntu-init 目录并自动执行安装脚本,在安装结束之后会在屏幕上输出 Mysql root 账号的密码,请妥善保存。

如果当前不是 root 账户则不会自动安装,需要切换到 root 账户后执行 ./16.04/install.sh

日常使用

1. 新增 Nginx 站点

./16.04/nginx_add_site.sh

会提示输入站点名称(只能是英文、数字、-_)、域名(多个域名用空格隔开),确认无误后会创建对应的 Nginx 配置并重启 Nginx。

2. 新增 Mysql 用户、数据库

./16.04/mysql_add_user.sh

会提示输入 root 密码,如果错误将无法继续。输入需要创建的 Mysql 用户名,以及确认是否需要创建对应用户名的数据库。

创建完毕之后会将新用户的密码输出到屏幕上,请妥善保存。

3. 以 www-data 身份执行命令

本项目提供了一个 sudowwwalias,当需要以 www-data 用户身份执行命令时(如 git clone 项目php artisan config:cache 等),可以直接在命令前加上 sudowww,同时在原命令两端加上单引号,如:

sudowww 'php artisan config:cache'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].