Reset Owncloud User password using cli Rumi, April 30, 2020 Browse to your owncloud installed path, in my case it was /var/www/html/owncloud and apply the following command- sudo -u www-data php occ user:resetpassword — <username> Enter a new password: Confirm the new password: You’re done. Continue Reading
Wget Command Examples Rumi, April 30, 2020 How to Download a File with Wget In it’s simplest form when used without any option, wget will download the resource specified in the [url] to the current directory. In the following example we are downloading the Linux kernel tar archive: wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.17.2.tar.xz As you can see from the image… Continue Reading
Install SNMP and Configure the Community String For CentOS Rumi, April 23, 2020 Install SNMP Install the SNMPD service by running the following command: yum install net-snmp net-snmp-utils Once the service is installed, verify that it is set to start at startup by running: CentOS 6: chkconfig snmpd on CentOS 7: systemctl enable snmpd Continue Reading
Install Iptables on CentOS 7 Rumi, April 23, 2020June 18, 2022 Disable FirewallD To disable the FirewallD on your CentOS 7 system, follow these steps: Type the following command to stop the FirewallD service: sudo systemctl stop firewalld Disable the FirewallD service to start automatically on system boot: sudo systemctl disable firewalld Mask the FirewallD service to prevent it from being… Continue Reading
How to see time stamps in bash history? Rumi, April 22, 2020 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… Continue Reading
Softether on VPS Using Local Bridge Rumi, April 4, 2020 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… Continue Reading
Customizing Jitsi Meet Rumi, March 30, 2020 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: Continue Reading
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