From b73bc099ad6ca2108d7a4c1361d88cf5d0ef3200 Mon Sep 17 00:00:00 2001 From: lorenzo Date: Tue, 11 Jan 2022 19:02:33 +0100 Subject: [PATCH] personalizzato siti, mysql, aggiunto phpmyadmin etc --- Homestead.yaml | 141 ++++++++++++++++++++++++++----------------------- readme.md | 104 ++++++++++++++++++------------------ 2 files changed, 127 insertions(+), 118 deletions(-) diff --git a/Homestead.yaml b/Homestead.yaml index 747753c..0d4e3f2 100644 --- a/Homestead.yaml +++ b/Homestead.yaml @@ -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 diff --git a/readme.md b/readme.md index 24bc9ea..3eeb556 100644 --- a/readme.md +++ b/readme.md @@ -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