How to install Laravel, Wordpress, Composer, Postgres, Msql, Apache Tomcat, Sublimetext or other tools

0

As I learned new development tools, I saw myself in the situation where I changed equipment and had to install all the tools I used again and for a matter of remembering all the commands. Find a way to register it.

The best way was using a bash-based script.

    
asked by Leonardo Pineda 13.10.2018 в 05:30
source

2 answers

0

In my free time, I created a script under the bash language that allows me to install the development tools as they came to use this script found in the repository scripts-bash how to use it can be installed with the following command:

~ $ sudo curl -sL https://raw.githubusercontent.com/Leo1305Pineda/scripts-bash/master/dist/run-tooldev -o /bin/tooldev && sudo chmod a+x /bin/tooldev && tooldev --help

And like any bash script from the linux terminal you can use it, in your case you can install laravel, apache, mysql and php with the following commands you can do:

~ $ tooldev --help 
~ $ tooldev install laravel
~ $ tooldev install apache
~ $ tooldev install mysql
~ $ tooldev install php

If you want to contribute I invite you to clone the repository or if you want to see the commands used for the installation in the directory where tooldev is installed is the following you can check /usr/share/tooldev

Open the tooldev.sh file with any editor, you can also use sudo gedit /usr/share/tooldev/tooldev.sh to directly edit the scripts-bash

Use the ~$ tooldev or ~$ tooldev --help command to see more tools you can install.

if you want to update if there are new changes with:

~$ tooldev update

If you want to communicate some circumstance or problem Here you can do it.

    
answered by 13.10.2018 в 05:30
0

I recommend you discover docker. The flexibility you need is just the advantage of working with containers ...

Once you have installed docker on your computer, encapsulate the applications you need in containers or download these from your official repo, it makes bringing these applications to your PC simply a matter of a command.

For now I leave the official website: link and where you can find the official repos: link

    
answered by 18.10.2018 в 17:39