Step 1: Open “cgi.cfg” of nagios etc directory ( ex: /usr/local/nagios/etc/) via editor
Step 2: Add user (ex: tappware) in the followings:
authorized_for_read_only=viewuser [Important for view only]
Step 3: Restart nagios
Make sure you use the correct amount of worker_processes in your /etc/nginx/nginx.conf. This should be equal to the amount of CPU cores in the output of
cat /proc/cpuinfo | grep processor
root@server1:~# cat /proc/cpuinfo | grep processor
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
In this example, we have eight CPU cores, so we set
Keepalive_timeout, sendfile, tcp_nopush, tcp_nodelay
Continue reading “Tuning Nginx for Maximum Performance” »
Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway.
In our previous article, you have setup your DNS Server using Webmin, refer below link for more information.
In this article We will seen how to configure DHCP Server Using Webmin(web-based interface). Webmin tool offer to new system administrators to perform all system management task from via a web browser, Instead of using the command line console or terminal. You can also manage a system from the console or remotely. Continue reading “Configure DHCP Server Step-by-Step config Guide Using Webmin” »
PSiTransfer, which is a simple and open source file sharing utility. Using PSiTransfer, we can either share our files locally or globally. Unlike transfer.sh, it is not a website. It is actually a self-hosted file sharing platform. You can deploy it on home system to share files over local area network. Or, you can deploy it on a VPS or Cloud, so that you can access or share your files from anywhere, using any Internet-enabled device. Since, it comes with built-in web server, you don’t need to deploy any other extra software. All you need is a web browser to access or share your stuffs. Continue reading “Install PSiTransfer on Debian 8 A Simple Open Source Self-hosted File Sharing Solution” »
There could be many reasons why your website performance is poor, one of them can possibly be that Apache is not coping with the load. Below you’ll find ready to consume configuration to make Apache performance better using the Apache MPM prefork module.
To do this, just include the below lines into your httpd.conf apache configuration file:
MaxClients 200 #must be customized
ServerLimit 200 #must be customized
Some explanations are here:
Continue reading “Simple way to tune apache performance using mpm prefork module” »
Varnish Cache is a web accelerator, sometimes referred to as a HTTP accelerator or a reverse HTTP proxy, that will significantly enhance your web performance.
Varnish speeds up a website by storing a copy of the page served by the web server the first time a user visits that page. The next time a user requests the same page, Varnish will serve the copy instead of requesting the page from the web server.
This means that your web server needs to handle less traffic and your website’s performance and scalability go through the roof. Varnish cache will increase the delivery of your web content by 80 % or more, depending on your architecture. Continue reading “Install And Configure Varnish Cache With Apache On Debian 7” »
How to list all records below some domain name.
Usually it’s done from interactive nslookup mode, not from batch mode
nslookup - your_dns_server
>ls -d domain.name
listing may be prohibited by administrator or by firewall settings, in that case you get empty output or ‘not implemented’ errors.
How to get all records of the domain name itself. In that case you need to run on Windows:
nslookup -"set q=all" yourdomain.com
nslookup -q=any yourdomain.com
Revealing web server signature with server/PHP version info can be a security risk as you are essentially telling attackers known vulnerabilities of your system. Thus it is recommended you disable all web server signatures as part of server hardening process.
Disable Apache Web Server Signature
Disabling Apache web server signature can be achieved by editing Apache config file.
On Debian, Ubuntu or Linux Mint:
$ sudo vi /etc/apache2/apache2.conf
Continue reading “Hiding Apache and PHP Server Signature” »
sshfs is a filesystem based on the SSH file transfer protocol. It is used on a client system i.e. you need to install sshfs package on your local computer/laptop powered by CentOS/RHEL/Ubuntu/Debian/Arch Linux. No need to install anything on server (server1.cyberciti.biz). You only need an openssh server installed on server side. Our sample setup:
Installing SSHFS on a Ubuntu/Debian/Mint Linux
Type the following apt-get command:
sudo apt-get install sshfs
Continue reading “Mount a Remote Directory With SSHFS” »
Ubuntu and Debian packages are compatible most times but not in all cases, i think this is the trouble you’re having you’re trying to use the Ubuntu’s .deb for Debian instead you should get the Debian specific file, (it works for both jessie and wheezy)
sudo dpkg -i wkhtmltox-0.12.1_linux-wheezy-amd64.deb
Then in the /etc/init.d/openerp-server or /etc/init.d/odoo-server script(s), depending on your which one you have
add /usr/local/bin to the front of path environment variable for example,
This tells odoo where to look for system binaries it requires or optionally you can copy the files to /usr/bin, if you don’t want to mess with those files
sudo cp /usr/local/bin/wkhtmlto* /usr/bin/