Build a Public NTP Server Rumi, March 30, 2020 Install NTPd and Configure NTP server for time adjustment. [root@dlp ~]# yum -y install ntp [root@dlp ~]# vi /etc/ntp.conf # line 18: add the network range you allow to receive requests publicly restrict 0.0.0.0 mask 128.0.0.0 nomodify notrap # change servers for synchronization #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org iburst #server 3.centos.pool.ntp.org… Continue Reading
Large Database Import Progress Using PV Rumi, March 24, 2020 PV can report progress for large data imports. In this example I will use a large (7 G) install on Ubuntu. First, download PV (http://linux.die.net/man/1/pv) sudo apt-get install pv A traditional mysql import may be formatted as: mysql -u USER -p DATABASE_NAME < DUMP.mysql but to leverage PV, pass the dump file ,then pipe the… Continue Reading
Installing Manageengine Opmanager 12 standar/pro edition on Linux Centos 7 Rumi, March 21, 2020 Lately for a project needed to install opmanager for a specific client. The installation is quite straight forward on a fresh installation of Centos 7 Box. Assuming you already have a linux installaiton file (ended with .bin) file. So here it goes- Installing OpManager on Linux using Console mode /… Continue Reading
Let’s Encrypt for cPanel Installation Rumi, March 20, 2020 Option-1 Let’s Encrypt for cPanel Installation using Installing the cPanel Plugin Log into your SSH client at root level, then add the Let’s Encrypt repository with the following command: cd /etc/yum.repos.d/ && wget https://letsencrypt-for-cpanel.com/static/letsencrypt.repo Next, install the plugin for cPanel with line below and yum: yum -y install letsencrypt-cpanel The installation… Continue Reading
Connect to Softether VPN from iPhone and Android Rumi, March 13, 2020 Phone and Android has a built-in VPN client but originally they need Cisco, Juniper or other expensive hardware-based VPNs for remote-access. SoftEther VPN has a same function to Cisco, and supports iPhone and Android easily. Continue Reading
Copy a folder keeping owners and permissions intact Rumi, March 11, 2020 sudo cp -rp /home/my_home /media/backup/my_home From cp manpage: -p same as –preserve=mode,ownership,timestamps –preserve[=ATTR_LIST] preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all Continue Reading
Format a Hard Drive Using the windows Command Prompt Rumi, March 6, 2020 STEP 1: Open Command Prompt As Administrator Opening the command prompt. Search for command prompt, right click and run as Administrator. Continue Reading
Squid as Transparent Proxy on CentOs 6.4 Rumi, March 6, 2020 In this tutorial I am going to configure squid acting as transparent proxy what does it means? It means we have no part of configurations on the client end, just to setup squid in transparent proxy mode so it will sits between client and internet. And redirect their port 80 requests to 3128 port which is… Continue Reading
Reset lost root password on Ubuntu 18.04 Bionic Beaver Linux Rumi, March 5, 2020 Boot Into GRUB menu The first step is to reboot into the GRUB menu. If Ubuntu 18.04 Bionic Beaver is the only operating system installed you need to keep pressing SHIFT for the GRUB menu to show up. Edit Grub Menu Using arrows select the Ubuntu menu or the menu… Continue Reading
install and Configure SAMBA in Debian Squeeze Rumi, March 4, 2020March 6, 2020 Samba is a free software re-implementation of SMB/CIFS networking protocol, originally developed by Australian Andrew Tridgell. As of version 3, Samba provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a domain… Continue Reading