Cookie

GNU/Linux

Configure Apache after installation

A golden rule: You should never have to manage a website from your home directory. MAY. You should not give the web server the opportunity to go through the /home/ to see the directory structure, as well as all other subfolders. A poorly configured Web server, or not configured, or without patch can cause a huge loss of data, or loss of credentials, likely to put personal data and access of different users at risk. (more…)

GNU/Linux

automatically print, with file upload on Linux servers

In today's article I deal with printing. After I compared the various requirements of customers, I came to theorize the idea that the user (utonto) should have to have everything ready. Less software or drivers will be installed, will be more happy and will be less annoying to those who have something else to do.

The illumination came to me sifting between the printer settings that we have in the office. In one of the menus I see that you can upload the PDF to print on the printer's internal memory to print automatically. (more…)

GNU/Linux

LAMP: Linux, Apache, MySQL and PHP for production

Today we see how to set up our Linux box for the web production. What we need is Apache (il web server), MySQL (the database that will contain the data) and PHP (the interpreter for the dynamic language PHP). This configuration is exactly the same adopted by major server worldwide.

Some time ago there was some’ confusion about which version to use php. It was just released php5 and was still using the version 4, for some commands backward compatibility has not been met and some scripts have stopped working. Fortunately php5 circulating for quite some time, and it is even completed the development of php4. There will be problems with large packages (wordpress, joomla and company). (more…)