Disabling listening IPv6 in config file of Apache2 server

By default, Apache will listen on all IPs, both IPv6 and IPv4.
This is controlled by the Listen directive:

root@localhost ~ # egrep -r Listen /etc/apache2
...
/etc/apache2/ports.conf:Listen 80
...
root@localhost ~ # 

To turn off IPv6 in Apache, just change the Listen directive to:

Listen 0.0.0.0:80

This will limit Apache to listening only to IPv4 connections. Repeat this for port 443 if you want to stop Apache from listening for HTTPS on IPv6.

Using file of system logrotate for compression mongodb log files

Just insert next code to the /etc/logrotate.d/mongodb:

   /var/log/mongodb/mongodb.log {
           size 10M 
           missingok
           rotate 14
           compress
           notifempty
           mail root@localhost
           create 0640 mongodb nogroup
           postrotate
             killall --signal USR1 mongod
             find /var/log/mongodb -type f -regex '.*/mongodb\.log\.[-0-9]+T[-0-9]+$' -exec rm {} \;
           endscript
  }       

Installing Ruby, Gem, Thin and Redmine on Linux in User Space with CloudLinux

Ruby is best known as the language behind the rails web application framework. However, it is a very flexible general purpose language that can be used for tasks of direct interest to R Developers (parsing files, interacting with databases, processing XML or JSON, math functions, statistics, machine learning, etc).

If you do not have root access on a Linux server, you may still be able to install the ruby language and rubgems. Start by checking the version currently installed (if any):

user@lve [~]# which ruby
/usr/bin/ruby
user@lve [~]# ruby --version
ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
user@lve [~]# 

“Installing Ruby, Gem, Thin and Redmine on Linux in User Space with CloudLinux”Continue reading

automysqlbackup: Unknown table engine ‘PERFORMANCE_SCHEMA’

This error seems to be related to the MySQL-Bug #58406 (status: verified).

For the moment, you can ignore that message. The process skips the table and continues as always.
Whatever, if you want to make sure that your database has not been corrupted in consequence of this error, simply force mysqldump to ignore all performance_schema-tables.

Plesk way:

“automysqlbackup: Unknown table engine ‘PERFORMANCE_SCHEMA’”Continue reading

Protected: GRUB(2): Полный доступ к системе при загрузке

This content is password protected. To view it please enter your password below:

Scroll to top