| Subcribe via RSS

Reset forgotten MySQL root password

July 6th, 2012 | 157 Comments | Posted in Linux, MySQL

If you forgot your MySQL root password, then this article will help you. This article explains how to reset a forgotten mysql root password.  This process require root access on the server. More »

Tags: ,

Deny file/directory deletion and directory creation in vsftpd

July 6th, 2012 | 109 Comments | Posted in FTP, Linux, network

vsftpdSome times there is situation when we need users to be able to upload files to ftp server but not allowed to delete files/directories and create directory.

vsftpd have cmds_allowed directive that can be used for this purpose. In this directive, specifies a comma-delimited list of FTP commands allowed by the server.  All other commands not specified are rejected. More »

Tags: , ,

vsftpd log files

July 6th, 2012 | 92 Comments | Posted in FTP, Linux, network

vsftpdIn vsftpd we can choose between these two log types:

– log only the file transfer (upload/download) information.

– log all FTP commands and responses. We will need this log when debugging FTP problems.

More »

Tags: , , ,

Restrict file type with vsftpd

September 4th, 2011 | 170 Comments | Posted in FTP, Linux, network

vsftpdvsftpd have an option to restrict file type(s) for upload/download.  That vsftpd option is deny_file.  For example, to restrict file *.mp3 and *.avi, use this in vsftpd configuration file:

deny_file={*.mp3,*.avi}

If we put the option in vsftpd.conf, it will be applied to all vsftpd users.  In virtual users configuration, we can put the option in specific user configuration file, so only selected user will be affected by the configuration.

Tags: ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 4)

September 4th, 2011 | 249 Comments | Posted in Linux, network, Security



Configuring pfSense as OpenVPN client for site-to-site VPN

pfsense

In this section, we will discuss the client side of OpenVPN site-to-site configuration. At the client side, I use pfSense as the firewall, webproxy, and VPN gateway to connect to the HO through site-to-site VPN with OpenVPN server.

More »

Tags: ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 3)

July 17th, 2011 | 33,249 Comments | Posted in Linux, Security, Windows

OpenVPN Configuration
Here are the steps to configure OpenVPN using Webmin:

1. Create Certification Authority
To create the Certification Authority, go to Server -> OpenVPN + CA, click on Certification Authority List. More »

Tags: , , ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 2)

July 12th, 2011 | 46 Comments | Posted in Linux, Security, Windows

Installing OpenVPN Server
In my configuration, I use CentOS 5.3 with 1 CPU 2.8 GHz, 2 GB RAM, 40 GB HD, and one NIC as the server.  To make it easier when installing OpenVPN, I use RPMForge repository. First I need to download rpmforge release package then install it. More »

Tags: , , ,

Installing and Configuring OpenVPN Server on CentOS using Webmin (part 1)

July 12th, 2011 | 53 Comments | Posted in Linux, Security, Windows

openvpnOur company have several branches and mobile users that need to access data in the head office. I need to provide VPN access for them. I want a solution for site-to-site VPN that is cost effective, stable, easy to use and configure with Graphical User Interface. After exploring the documentation in the net, I find the solution for my need. I use OpenVPN with Webmin running on CentOS server in the head office side. As for the branches side, I choose pfSense. And for the mobile users, I use OpenVPN client for Windows. More »

Tags: , , ,

Frequently Used Zimbra CLI

June 29th, 2009 | 157 Comments | Posted in Linux, Mail server

zimbraThe Zimbra administration console is usually used as the mail tool for configuring and maintaining Zimbra.  But actually, some Zimbra function can only be changed using the Command Line Interface (CLI) utility. More »

Tags: ,

Redirect HTTP to HTTPS in Zimbra

April 14th, 2009 | 98 Comments | Posted in Linux, Mail server

In Zimbra we have the options to log on using HTTP or HTTPS.
Using zmtlsctl command, we can set the Web server mode to the communication protocol options: More »

Tags: ,