A
A
akula222017-02-01 14:11:49
linux
akula22, 2017-02-01 14:11:49

How to organize web development on linux?

Good afternoon. Give advice on how to organize web development on Linux.
I recently moved to Linux, installed apache, php7, mysql,
and now to create a domain, I need to do a bunch of operations, create - edit configs, set the IP and domain name in /etc/hosts, set the rights, I also need to use the original domain names, then there is not site.loc but the real site.ru domain
because I use authorization through social networks. networks. And then how to get to the site on the Internet is a problem.
I back up sites with a script that simply archives the folder with the site and makes a mysqldump of the database.
Maybe there are more convenient ways to organize it all, on Windows it was very convenient to use openserver to create domains, how is it all done in linux?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Tokarev, 2017-02-01
@Vadiok

AMPPS - the principle of operation is approximately similar to OpenServer, difficulties may arise due to file permissions.
Another option is Vagrant - but here it is more difficult with the initial setup.

S
Sanes, 2017-02-01
@Sanes

Would this option work?

A
Anton, 2017-02-01
@karminski

now to create a domain, you need to do a bunch of operations, create - edit configs, register ip and domain name in /etc/hosts, set permissions

Well, almost everything was done in Windows too. In general, welcome to Linux. At first it will be difficult, long and incomprehensible. After a couple of months of active work with Linux, you simply won’t have these questions.
Well, maybe you should buy yourself a real domain and work with real DNS names. All your projects can be placed on subdomains like projectN.site.ru.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question