HostOnNet Blog

Category Archives: Linux

Apache Limit Access to a folder

I was working on a site that have “cache” folder inside DocumentRoot of Apache. Since this is a cache folder used by the PHP application, it need to be writable by apache user. We need to prevent access to this


Haproxy

Load Balancing with Haproxy

Haproxy is an open source load balancer software. http://www.haproxy.org If you have large site running on multiple web server, haproxy helps to to balance load between these web servers. To install haproxy on Ubuntu, run Haproxy config file is located


ISPConfig Free Hosting Control Panel

ISPConfig Free Hosting Control Panel

ISPConfig is a free Open Source control panel. https://www.ispconfig.org Port used by ISPConfig 8080. Web sites are stored in folder Here is an example folder structure Each site have following folder structure See Free Hosting Control Panels


Benchmarking Web Server with ab

ab is a tool for benchmarking web servers. It generate large amount of concurrent requests to a web site, simulating high traffic. This helps you identify how many visitors your web server able to handle. Here we generate 30 concurrent


Putty Windows SSH Client

Convert Putty PPK file to Linux

ppk is format used to store private key by popular windows ssh client Putty. This do not work on Linux, if you want to use .ppk file to connect to remote server from Linux machine, you need to convert it


r1soft Could not authenticate agent

R1Soft Could Not Authenticate Agent

When you test connection to protected machine (agent) on R1Soft Server Backup Manager, if you get error Could not authenticate agent x.x.x.x This is because you don’t add server key in agent. To list server keys, run Example root@localhost:~# serverbackup-setup


Adding New Server to R1Soft Backup

Before you can backup a machine using R1Soft.com Backup, you need to add the Machine to Server Backup Manager. Login to R1Soft Server Backup Manager SE > Protected Machines > New Machine On Next page, you need to enter server


r1soft

Install r1Soft Backup Agent on Ubuntu Adding New Server to R1Soft Backup r1soft Failed to backup LVM/MD configuration Here are some of the resellers of r1soft backup solution. https://r1softlicenses.com – Allow backing up every 1 hour https://www.backuprun.com – Backup once


Install r1Soft Backup Agent on Ubuntu

To install r1soft backup agent on Ubuntu, add r1soft repo Install Agent Once installed, verified software can connect to r1soft.com with Install linux-headers for your running kernal Install required kernel modules Restart r1soft agent Now you have Backup agent installed


OpenSSL Self Signed SSL Certificate

Generate Self Signed SSL

To create self signed SSL certificate run It will ask some questions, answer them, most of these questions are not important, other than the one it ask for domain name. View SSL Cert Details You can find info about the