Currently Viewing Posts Tagged configuration

Disable SSLv2 and SSLv3 in Apache

As we always disable SSLv2 in Apache. Now it is SSLv3 turn. The recent news about the SSL 3 vulnerability is so important that I have to disable it as well.

So just modify the ssl.conf of Apache

[ssh]SSLProtocol All -SSLv2 -SSLv3[/ssh]

The web site still has TLS 1.0, TLS 1.1 and TLS 1.2. For most of the browser working on the users computer, TLS is good enough. The only exception is IE 6.0 on Windows XP.

I am not worrying about it. Just forget the users who are still using IE 6.

ie6-disable

Refer to Security Labs article.

 

How to manage MariaDB in Webmin

It is easy to use Webmin to manage VPS, including MySQL server.  But it is not working with MariaDB default.

The webmin MySQL server shows error as below:

mariadb-webmin

It can not find the path of command to start and stop MariaDB and also config file of MariaDB server.

So click module configuration and change:
Command to start MySQL server: /etc/init.d/mysql start
Command to stop MySQL server: /etc/init.d/mysql stop
MySQL configuration file: /var/lib/mysql/my.cnf

If your MariaDB server configuration file is not in this location, double check your setting and enter the correct value.

After saving, it will ask for your username and password to connect your MariaDB server.  Enter them and save.

mariadb-settings

At this step, you can add database or do other tasks in Webmin.

Opcache Control Panel of PHP 5.5.3 Zend OPcache v7.0.3

I use the new PHP with Opcache v7.0.3. I want to see how it works, just like xcache. Xcache has its official administrator page. OPcache does not have one. So I googled some and installed three control panels.

1. OCP – Opcache Control Panel

ocp

Continue reading “Opcache Control Panel of PHP 5.5.3 Zend OPcache v7.0.3”

  • Archives