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