New to 4MLinux?

If you are a new 4MLinux user, you should jump here




Tuesday, August 27, 2013

The KISS principle in 4MLinux Server

Mini Server (both in 4MLinux and TheSSS) tries to follow the KISS (Keep It Simple Stupid) principle. I will try to show this taking the HTTP server in 4MLinux 7.0 Server Edition as an example.

The guide on how to start and configure the HTTP server (with additional services) is as follows: execute the "httpd start" command in terminal. And that's it!



FAQ:
Q: How to enable PHP support?
A: It's already enabled.

Q: How can I start MySQL (MariaDB)?
A: It's already running. You've started it with the "httpd start" command.

Q: How can I perform post-install configuration of MySQL?
A: You've already done it with the "httpd start" command. Have a look at http://localhost/adminer.php

Q: But I need to generate root password for my MariaDB !
A: You've already done it with the "httpd start" command. You will find a randomly generated root password in /root/.mysql_passwd.

Q: I would like use the "https" protocol. How to start Stunnel ?
A: You've already started it with the "httpd start" command. Just try to open https://localhost in your browser.

Q: How to enable virtual hosts support?
A: It's already enabled.

...................
...................
...................

NOTE:
The above FAQ shows that 4MLinux Server is designed to enable a reasonable set of features out of the box without needing to configure them manually. On the other hand, you can change these default settings anytime. Execute the "server" command to open a general help file (more help-related commands: "server firewall", "server httpd", "server mysql", and "server proxy").


Have fun :-)

No comments:

Post a Comment