Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also? Bottom-Line: Execution time in the Bash history: HISTTIMEFORMAT=”%d/%m/%y %T ” # for e.g. “29/02/99 23:59:59” HISTTIMEFORMAT=”%F…
Category: Administrations
Softether on VPS Using Local Bridge
Problem on SecureNAT SecureNAT is a fairly simple way to setup Softether. You don’t need a lot of sysadmin skill and network understanding in order to get Softether up and running. The problem is SecureNAT is a bit SLOW. I will show a comparison at the end of this article. We…
Customizing Jitsi Meet
Edit Logo Image: In your jitsi-meet deployment, probably in /usr/share/jitsi-meet/images the image file will exist that you can override with your own. Update Link on Logo: You can edit: Path: /usr/share/jitsi-meet File: interface_config.js Parameter: JITSI_WATERMARK_LINK: or SHOW_WATERMARK_FOR_GUESTS: false Change texts of Welcome/Home Page:
Build a Public NTP Server
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…
Large Database Import Progress Using PV
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…
Installing Manageengine Opmanager 12 standar/pro edition on Linux Centos 7
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 /…
Let’s Encrypt for cPanel Installation
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…
Connect to Softether VPN from iPhone and Android
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.
Copy a folder keeping owners and permissions intact
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
Format a Hard Drive Using the windows Command Prompt
STEP 1: Open Command Prompt As Administrator Opening the command prompt. Search for command prompt, right click and run as Administrator.