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
Linux Remove All Partitions or Data And Create Empty Disk Rumi, December 13, 2016 Use the following dd command to remove data from /dev/hdX: dd if=/dev/zero of=/dev/hdX bs=512 count=1 OR for sata disk, use the following syntax: dd if=/dev/zero of=/dev/sdX bs=512 count=1 In this example, empty sata disk /dev/sdb, enter (you must be login as the root user): fdisk /dev/sdb dd if=/dev/zero of=/dev/sdb bs=512… Continue Reading
The safest way to clean up /boot partition in Debian or Ubuntu Rumi, December 7, 2016 First check your kernel version, so you won’t delete the in-use kernel image, running: uname -r Now run this command for a list of installed kernels: dpkg –list ‘linux-image*’ and delete the kernels you don’t want/need anymore by running this: sudo apt-get remove linux-image-VERSION Replace VERSION with the version of… Continue Reading
LEMP on Debian 7 Rumi, December 3, 2016December 3, 2016 Installing MySQL 5 In order to install MySQL, we run apt-get install mysql-server mysql-client You will be asked to provide a password for the MySQL root user – this password is valid for the user root@localhost as well as root@server1.example.com, so we don’t have to specify a MySQL root password… Continue Reading
Identify WWN in linux Rumi, December 3, 2016 Here are some useful commands for the most popular Linux/Unix operating systems to find your HBA WWN. There are several methods to identify HBA WWN for the fiber storage units in your server network. Method 1: (The hard way) Verified on Suse Linux Enterprise Server and CentOS/Redhat The info is… Continue Reading
Endian Router Blocking IP on Public Interface Rumi, November 20, 2016 You can make a general IP ban list. You need to go to Port forwarding / Destination NAT Create a new rule Click on the advanced mode Incoming IP: Type: Zone/VPN/Upllink. Select Uplink main – IP:All known. Incoming service port, Service: Any, Port: Any. In the Translate To section set… Continue Reading
Install Varnish Cache On Debian 7 Rumi, November 6, 2016 Normally Varnish Cache is available on Debian default repositories. But i suggest you to use Varnish Cache repositories to get latest version of Varnish Cache. Run the following commands as root user to install Varnish Cache. # curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add – # echo “deb http://repo.varnish-cache.org/debian/ wheezy varnish-3.0” >>… Continue Reading
OpenDKIM Postfix SMTP Relay Server on Debian -7 Rumi, September 11, 2016February 26, 2024 Install OpenDKIM Before starting the installation, a system update is recommended: sudo apt-get update sudo apt-get dist-upgrade Install OpenDKIM and it’s dependencies: sudo apt-get install opendkim opendkim-tools Additional packages will be listed as dependencies, type yes and press Enter to continue. Configure OpenDKIM A couple of files must be created… Continue Reading