Sometimes we can forget main password for PostgreSQL. We should edit config file: vim /etc/postgresql/<version>/main/pg_hba.conf local all postgres peer Restart…
Often we can encounter server that started to send spam (infected page, virus inside php file, bad plugin). If its…
The second most important service for internet use is DNS server. In my opinion www server (Apache/NginX) is most important…
MariaDB and MySQL are both compatible with each other, the decision is on system administrator which one will be used.…
Enabling PHP for Apache server is trivial. apt-get install php5 libapache2-mod-php5 service apache2 restart Lets check if PHP really works:…
There are multiply reasons why you would like to use ssl for your http and create usable https for you…
Our own www server is sometimes needed when building webapp, it is also used in internal like in external networks.…
Default pure-ftpd settings store logs thru ‘syslog’. Thanks to this we can forward logs inside syslog/rsyslog. # inside /etc/syslogd.conf file…
*** If it is possible do this operation in environment without internet access *** mysqld_safe –skip-grant-tables mysql –user=root mysql update…
On Linux: dig -x ip.address ### or ### host ip.address On Windows: nslookup ip.address