Install And Configure Varnish Cache With Apache On Debian 7 Rumi, April 19, 2017 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… Continue Reading
List all DNS records from a Nameserver using nslookup Rumi, March 27, 2017 Method-1) 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 >set q=any >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…. Continue Reading
Hiding Apache and PHP Server Signature Rumi, March 20, 2017March 26, 2017 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… Continue Reading
Mount a Remote Directory With SSHFS Rumi, March 2, 2017March 7, 2017 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… Continue Reading
How to correctly install wkhtmltopdf on debian 64 bit? Rumi, February 27, 2017 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) wget http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-wheezy-amd64.deb sudo dpkg -i… Continue Reading
Postfix using Gmail as a Mail Relay with Debian 7 Rumi, February 10, 2017 Prerequisites Before starting this tutorial, you should have: Debian 7 installed Your fully qualified domain name (FQDN) All updates installed : apt-get update A valid username and password for the SMTP mail provider, such as Mandrill, or SendGrid Make sure the libsasl2-modules package is installed and up to date: apt-get… Continue Reading
Create a Sudo User on Debian or Ubuntu Rumi, January 29, 2017 Log in to your server as the root user. ssh root@server_ip_address Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username Set and confirm the new user’s password at the prompt. A strong… Continue Reading
Installing SqlMap in Ubuntu / any Linux distro for SQL Injection Rumi, January 27, 2017 SQLMAP is a automated SQL injection tool which does most of the work for you. If you don’t know what SQL injection is head over here: https://en.wikipedia.org/wiki/SQL_injection Using SQLMAP, you can “hack” many databases in very short time. In the next post, i will show you how to dump database tables… Continue Reading
All about VPN ports Rumi, January 26, 2017 1) If RRAS based VPN server is behind a firewall (i.e. a firewall is placed between Internet and RRAS server), then following ports need to be opened (bidirectional) on this firewall to allow VPN traffic to pass through: – For PPTP: IP Protocol=TCP, TCP Port number=1723 <- Used by PPTP control path IP Protocol=GRE (value… Continue Reading
Increase MySQL connections max_connections Rumi, January 19, 2017 If you need to increase MySQL Connections without MySQL restart do like below mysql> show variables like ‘max_connections’; +—————–+——-+ | Variable_name | Value | +—————–+——-+ | max_connections | 100 | +—————–+——-+ 1 row in set (0.00 sec) mysql> SET GLOBAL max_connections = 150; Query OK, 0 rows affected (0.00 sec)… Continue Reading