LHMP- Linux Haiwatha Mysql PHP simplistic new breed!! Rumi, February 18, 2017February 18, 2017 Step 1 – Setup repository for pre-compiled Hiawatha Debian binaries The first thing you’ll need to do is to setup the repository for Hiawatha Webserver. You may also compile it on your own if you wish, but for this tutorial we’ll be using the pre-compiled binaries. First, get and install… 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
Remove apache, phpmyadmin etc from ubuntu 16.04 Rumi, February 4, 2017 You can remove the packages in Ubuntu by executing the commands: dpkg –purge phpmyadmin dpkg –purge mysql-server dpkg –purge apache2.2-common Or You have option also to remove the following packages: sudo apt-get remove apache2* sudo apt-get remove phpmyadmin sudo apt-get remove mysql-server sudo apt-get remove php5 Or sudo apt-get –purge… 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
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
Fixing error: ‘Access denied for user ‘debian-sys-maint’@’localhost’ (using password: YES)’ Rumi, January 17, 2017 For all you Ubuntu/MySQL developers out there, have you ever seen the following? neo@thematrix:~$ sudo /etc/init.d/mysql restart * Stopping MySQL database server mysqld [fail] * Starting MySQL database server mysqld [ OK ] /usr/bin/mysqladmin: connect to server at ‘localhost’ failed error: ‘Access denied for user ‘debian-sys-maint’@’localhost’ (using password: YES)’ So,… Continue Reading
Tightvnc setup on Linux Mint Rumi, January 16, 2017 sudo apt-get install tightvncserver cd ~/.vnc ls nano (or your favorite text editor.) xstartup. edit anything you need to. Then run: tightvncserver Go to your other computer. Run a vnc viewer. And enter in your IP like- <vncserverIP>:1 Continue Reading
Check processor and cpu details Rumi, January 15, 2017 $ cat /proc/cpuinfo | grep vendor | uniq $ cat /proc/cpuinfo | grep ‘model name’ | uniq $ lscpu $ lscpu | grep -i mhz $ cat /proc/cpuinfo | grep -i mhz | uniq $ watch -n 0.1 “cat /proc/cpuinfo | grep -i mhz” $ cat /proc/cpuinfo | grep processor Continue Reading
UDP Load Balancing using PEN Rumi, January 5, 2017 First setup PEN load balancer using this document. After that, keep digging below 🙂 And that’s it, so now if we run pen we see it now has UDP support. root@penudp:~/pen-0.18.0# pen usage: pen [-C addr:port] [-X] [-b sec] [-S N] [-c N] [-e host[:port]] [-t sec] [-x N] [-w… Continue Reading