D
D
Dmitry2019-03-27 15:23:27
System administration
Dmitry, 2019-03-27 15:23:27

Is there a script to quickly set up a web server?

Good afternoon. Tired of manually setting up the same type of web servers on Linux. Is there any upgradable script that installs everything you need: nginx, mysql, php, php-fpm, etc.
And we are not talking about a self-written bash script, I will write one like that. The question is, is there any project that keeps these scripts up to date.
And do not offer sockets like ISP, Vesta.
Thank you.

Answer the question

In order to leave comments, you need to log in

8 answer(s)
H
hOtRush, 2019-03-27
@hOtRush

https://galaxy.ansible.com/home

R
rionnagel, 2019-03-27
@rionnagel

From ansible, puppet, salt, chef and other configuration management systems to docker with orchestration.

E
elcanner, 2019-03-27
@elcanner

Immediately ran here with ensembles and chefs. According to the description of a person, a bash script is enough for him.
I would have written a script a long time ago and did not insist on everything by hand for 100500 million ...
95% of automation tasks are solved in bash.

K
kolossradosskiy, 2019-03-27
@kolossradosskiy

https://github.com/Brizovsky/Breeze-Easy-Shell
https://github.com/centminmod/centminmod
https://github.com/lj2007331/lnmp
https://vpssim.com/

S
Sashqa1, 2019-03-28
@Sashqa1

sudo apt install phpmyadmin

J
JohnnyMnemonik, 2019-03-29
@JohnnyMnemonik

brainycp is an excellent panel from Russian developers. There are no such scripts. At least one script alone is indispensable here. Why reinvent the wheel when there is already a solution?

Z
zevilz, 2019-04-04
@zevilz

Are you sure that at least one ready-made solution suits you? Everyone imposes their packages, structure and configs. It’s easier to write a bash script and write there all the commands that you execute when setting up a server, and drag the configs from somewhere from a remote resource or first upload a directory with configs to the server, which will then be scattered where necessary when the script is running. In general, it’s easier to deal with ansible and write a playbook for deployment. Through it, you can then steer the configs and perform something on all servers at once.

S
Stanislav, 2019-04-04
@lamo4ok

There are no scripts for quick server setup, but there are tools for quick server setup. As an option - already mentioned panels. But if you don’t like the approach with them, then there are a few more, they are console:
Other. They are extremely convenient in the sense that you yourself write once what you need in a declarative style, and then simply reuse it on different hosts. I used and use only the first one, for example, it can even work with different hosts, with their packs, and so on. You only need to figure out the syntax and capabilities once, after that the installation of this or that software, configs, and anything in general, turns into launching a playbook, with tags possibly disabled or enabled, for example.
And ready-made scripts and ready-made configurations in general - this is so, for a completely unassuming user, as a result, you still have to finish something.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question