How to enable syntax highlighting in less

I wanted to have syntax highlighting for a php file I was debugging. Source-highlight given a source file, produces a document with syntax highlighting. These are the output formats already supported: HTML XHTML LATEX MediaWiki (new) ODF (new) TEXINFO ANSI color escape sequences (you can use this feature with less) DocBook These are the input … Continue reading How to enable syntax highlighting in less

How to install a OpenVPN System Based On User/Password Authentication with mysql & Day Control (libpam-mysql)

This document describes how to install a OpenVPN server with User/Password authentication with mysql and day control using libpam-mysql. This will be a brief, but a very practical document. Install mysql server Create a mysql user and a database to be used later CREATE DATABASE openvpn; USE openvpn; CREATE USER ‘openvpn’@’localhost’ IDENTIFIED BY ‘lNPg5TAIy82zFpEn’; GRANT … Continue reading How to install a OpenVPN System Based On User/Password Authentication with mysql & Day Control (libpam-mysql)