diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/deployment.xml b/.idea/deployment.xml new file mode 100644 index 0000000..b3592a0 --- /dev/null +++ b/.idea/deployment.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/homestead-custom.iml b/.idea/homestead-custom.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/homestead-custom.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/markdown.xml b/.idea/markdown.xml new file mode 100644 index 0000000..1e34094 --- /dev/null +++ b/.idea/markdown.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..8176c92 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Homestead.yaml b/Homestead.yaml index fd0011e..5360f73 100644 --- a/Homestead.yaml +++ b/Homestead.yaml @@ -1,7 +1,7 @@ --- ip: "192.168.10.10" -memory: 2048 -cpus: 2 +memory: 3072 +cpus: 3 provider: virtualbox backup: true diff --git a/user-customizations.sh b/user-customizations.sh index bb1257e..1a2d0cd 100644 --- a/user-customizations.sh +++ b/user-customizations.sh @@ -44,7 +44,8 @@ if [ ! -f /usr/local/extra_homestead_software_installed ]; then if [ -f /etc/nanorc ]; then sudo rm -f /etc/nanorc fi - sudo cat /usr/share/nano/scopatz/nanorc/*.nanorc >> /etc/nanorc + #sudo cat /usr/share/nano/scopatz/nanorc/*.nanorc >> /etc/nanorc + sudo cat /usr/share/nano/scopatz/nanorc/*.nanorc | sudo tee -a /etc/nanorc cd $VAGRANTHOME # @@ -111,11 +112,17 @@ if [ ! -f /usr/local/extra_homestead_software_installed ]; then # configuring memory_limit && max_execution_time php.ini for 7.4/8.0/8.1 # sudo sed -i 's/max_execution_time[[:space:]]=[[:space:]]30/max_execution_time=120/' /etc/php/7.4/fpm/php.ini + sudo sed -i 's/max_execution_time[[:space:]]=[[:space:]]30/max_execution_time=120/' /etc/php/7.4/cli/php.ini sudo sed -i 's/memory_limit[[:space:]]=[[:space:]]512M/memory_limit=4096M/' /etc/php/7.4/fpm/php.ini + sudo sed -i 's/memory_limit[[:space:]]=[[:space:]]512M/memory_limit=4096M/' /etc/php/7.4/cli/php.ini sudo sed -i 's/max_execution_time[[:space:]]=[[:space:]]30/max_execution_time=120/' /etc/php/8.0/fpm/php.ini + sudo sed -i 's/max_execution_time[[:space:]]=[[:space:]]30/max_execution_time=120/' /etc/php/8.0/cli/php.ini sudo sed -i 's/memory_limit[[:space:]]=[[:space:]]512M/memory_limit=4096M/' /etc/php/8.0/fpm/php.ini + sudo sed -i 's/memory_limit[[:space:]]=[[:space:]]512M/memory_limit=4096M/' /etc/php/8.0/cli/php.ini sudo sed -i 's/max_execution_time[[:space:]]=[[:space:]]30/max_execution_time=120/' /etc/php/8.1/fpm/php.ini + sudo sed -i 's/max_execution_time[[:space:]]=[[:space:]]30/max_execution_time=120/' /etc/php/8.1/cli/php.ini sudo sed -i 's/memory_limit[[:space:]]=[[:space:]]512M/memory_limit=4096M/' /etc/php/8.1/fpm/php.ini + sudo sed -i 's/memory_limit[[:space:]]=[[:space:]]512M/memory_limit=4096M/' /etc/php/8.1/cli/php.ini @@ -263,7 +270,7 @@ sudo mv -f $VAGRANTHOME.zshrc-omztemp $VAGRANTHOME.zshrc #Download and install phpMyAdmin latest version echo "Installing phpmyadmin lastest version..." cd /home/vagrant/codephp80 - if [ -d /home/vagrant/codephp80 ]; then + if [ -d /home/vagrant/codephp80/phpmyadmin ]; then echo "remove existent /home/vagrant/codephp80/phpmyadmin directory..." sudo rm -R --interactive=never phpmyadmin fi