Skip to content

Commit

Permalink
personalizzato siti, mysql, aggiunto phpmyadmin etc
Browse files Browse the repository at this point in the history
  • Loading branch information
lopadova committed Jan 11, 2022
1 parent 4b600c6 commit b73bc09
Show file tree
Hide file tree
Showing 2 changed files with 127 additions and 118 deletions.
141 changes: 75 additions & 66 deletions Homestead.yaml
Original file line number Diff line number Diff line change
@@ -1,66 +1,75 @@
---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
backup: true

authorize: C:\Users\lopad\.ssh\id_rsa.pub

keys:
- C:\Users\lopad\.ssh\id_rsa

folders:
- map: C:\xampp\htdocs
to: /home/vagrant/code
# - map: C:\xampp8\htdocs
# to: /home/vagrant/codephp80
- map: C:\xampp8\htdocs
to: /home/vagrant/codephp74

sites:
- map: homestead.local
to: /home/vagrant/code
php: "8.1"
# php: "8.0"
# schedule: true
# params:
# - key: APP_ENV
# value: local

databases:
# - name: homestead
- name: gescat_laravel
- name: timbratore

#variables:
# - key: APP_ENV
# value: local

#features:
# - mysql: true
# - mariadb: false
# - postgresql: false
# - mongodb: false
# - ohmyzsh: false
# - webdriver: false

#services:
# - enabled:
# - "postgresql@12-main"
# - disabled:
# - "postgresql@11-main"

#ports:
# - send: 3306 # MySQL/MariaDB
# to: 33060
# - send: 4040
# to: 4040
# - send: 5432 # PostgreSQL
# to: 54320
# - send: 8025 # Mailhog
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
backup: true

authorize: ~/.ssh/id_rsa.pub

keys:
- ~/.ssh/id_rsa

folders:
- map: C:\xampp\htdocs
to: /home/vagrant/code
# - map: C:\xampp8\htdocs
# to: /home/vagrant/codephp80
- map: C:\xampp8\htdocs
to: /home/vagrant/codephp74

sites:
- map: homestead.local
to: /home/vagrant/code
php: "8.1"
# php: "8.0"
# schedule: true
# params:
# - key: APP_ENV
# value: local

- map: gescat.local
to: /home/vagrant/code/gescat-laravel/public
php: "8.1"
schedule: true

- map: phpmyadmin.local
to: /home/vagrant/code/phpmyadmin
php: "8.0"

databases:
# - name: homestead
- name: gescat_laravel
- name: timbratore

#variables:
# - key: APP_ENV
# value: local

#features:
# - mysql: true
# - mariadb: false
# - postgresql: false
# - mongodb: false
# - ohmyzsh: false
# - webdriver: false
services:
- enabled:
- "php8.0-fpm"
# - "postgresql@12-main"
# - disabled:
# - "postgresql@11-main"

#ports:
# - send: 3306 # MySQL/MariaDB
# to: 33060
# - send: 4040
# to: 4040
# - send: 5432 # PostgreSQL
# to: 54320
# - send: 8025 # Mailhog
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
104 changes: 52 additions & 52 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
# Laravel Homestead customizations

An after.sh file for a Homestead installation.

You'll need to put this in your ~/.homestead directory (C:\Users\Lore\Homestead\ in windows)

The official Homestead documentation [is located here](http://laravel.com/docs/homestead).

## The script install these software and perfoms these actions:

- set timezone
- make iptables persistent
- customize nano (for coloring)
- install htop
- install atop
- install multitail
- install goaccess
- install apachetop
- install mytop
- install ncdu
- install mc
- install whois
- install checkinstall
- install apache2-utils
- install gdb
- install iptraf
- install iotop
- install dnsutils
- install locate
- updatedb (for locate command)
- install python-pip
- install gcc make git libpcap0.8-dev
- install httpry
- install mydumper
- install build-essential
- install software-properties-common
- install and upgrade pip
- ngxtop
- percona Xtrabackup
- percona toolkit
- install php-redis
- install php7.1-bz2
- install php-imagick
- install zsh and Oh my zsh with these plugins (git colored-man colorize command-not-found compleat cp history sublime urltools web-search autojump fasd jump redis-cli repo symfony symfony2 debian copydir copyfile laravel laravel4 laravel5 rsync)
- make tab complete case insensitive
- install poppler-utils (pdf2text)
- Install ruby version manager (rvm)
- Install ruby
- Install go
- install mailcatcher
- Install MailHog
- elasticsearch
# Laravel Homestead customizations

An after.sh file for a Homestead installation.

You'll need to put this in your ~/.homestead directory (C:\Users\Lore\Homestead\ in windows)

The official Homestead documentation [is located here](http://laravel.com/docs/homestead).

## The script install these software and perfoms these actions:

- set timezone
- make iptables persistent
- customize nano (for coloring)
- install htop
- install atop
- install multitail
- install goaccess
- install apachetop
- install mytop
- install ncdu
- install mc
- install whois
- install checkinstall
- install apache2-utils
- install gdb
- install iptraf
- install iotop
- install dnsutils
- install locate
- updatedb (for locate command)
- install python-pip
- install gcc make git libpcap0.8-dev
- install httpry
- install mydumper
- install build-essential
- install software-properties-common
- install and upgrade pip
- ngxtop
- percona Xtrabackup
- percona toolkit
- install php-redis
- install php7.1-bz2
- install php-imagick
- install zsh and Oh my zsh with these plugins (git colored-man colorize command-not-found compleat cp history sublime urltools web-search autojump fasd jump redis-cli repo symfony symfony2 debian copydir copyfile laravel laravel4 laravel5 rsync)
- make tab complete case insensitive
- install poppler-utils (pdf2text)
- Install ruby version manager (rvm)
- Install ruby
- Install go
- install mailcatcher
- Install MailHog
- elasticsearch

0 comments on commit b73bc09

Please sign in to comment.