How to Disable HSTS in Chrome & Firefox

Follow these easy-to-implement steps to clear HSTS settings in Chrome and Firefox  If you’re here because you’re searching for phrases like “HSTS Chrome disable,” “clear HSTS Chrome,” and “disable HSTS Firefox,” then we’ve got you covered. This article is all about clearing HSTS settings in Chrome and Firefox. When you try to open a website,… Continue reading How to Disable HSTS in Chrome & Firefox

How To Disable IPv6 In CentOS 7

Method 1 Edit file /etc/sysctl.conf, vi /etc/sysctl.conf Add the following lines: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 If you want to disable IPV6 for particular network card, for example enp0s3, add the following entry. net.ipv6.conf.enp0s3.disable_ipv6 = 1 Save and exit the file. Execute the following command to reflect the changes. sysctl -p Method 2: To IPv6 disable… Continue reading How To Disable IPv6 In CentOS 7

Install PHP 7.2 on CentOS, RHEL

  Repositories configuration: On Fedora, standards repositories are enough, on Enterprise Linux (RHEL, CentOS) the Extra Packages for Enterprise Linux (EPEL) repository must be configured, and on RHEL the optional channel must be enabled. Fedora 27 wget http://rpms.remirepo.net/fedora/remi-release-27.rpm dnf install remi-release-27.rpm Fedora 26 wget http://rpms.remirepo.net/fedora/remi-release-26.rpm dnf install remi-release-26.rpm RHEL version 7.4 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm… Continue reading Install PHP 7.2 on CentOS, RHEL

Linux Install and Configure NTP to Synchronize The System Clock

How do I install and configure NTP under CentOS Linux version 5.x or 6.x server to synchronize the system clock? You can easily install NTP (Network Time Protocol, a means of transmitting time signals over a computer network) using the yum command under Red Hat or CentOS/Fedora Linux server or workstation based systems. You need to install… Continue reading Linux Install and Configure NTP to Synchronize The System Clock

Install SNMP Service/Daemon on CentOS

In this guide I’ll be explaining how to install the SNMP service on CentOS. The SNMP service is available in the standard CentOS repository. 1. Install net-snmp with yum: yum install net-snmp  2. Create a simple SNMP configuration: mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org vim /etc/snmp/snmpd.conf Add the following to /etc/snmp/snmpd.conf ; Replace 1.2.3.4 with the IP address… Continue reading Install SNMP Service/Daemon on CentOS

CentOS Remove Old Kernels

Tonight when upgrading a CentOS Linux server it was noted by YUM that 15MB more disk space was needed to upgrade grub and the kernel itself. Below are four quick steps to verify what kernels are installed, install yum-utils if it is not installed already, delete previous kernels and set YUM to remove old kernels… Continue reading CentOS Remove Old Kernels

An Ultimate Guide to Upgrade Kernel on CentOS/RHEL/Fedora

Well, there are plenty of reasons why you should run latest version of Linux Kernel. For instance, the current kernel might have bugs that can be exploited by the hackers or you want to try out some device driver that requires latest version of Kernel or you just want to keep your system up-to-date. Whatever… Continue reading An Ultimate Guide to Upgrade Kernel on CentOS/RHEL/Fedora

Published
Categorized as linux Tagged

How to Add a WordPress Administrator to the Database using SQL Queries

Manually Add a WordPress User with Administrator Role to the MySQL Database using SQL Quries or phpMyAdmin In a recent WordPress hack attack which we worked on and recovered, the owner’s WordPress administrator account was demoted to a user role, therefore the owner did not have any control over the WordPress installation. To regain back… Continue reading How to Add a WordPress Administrator to the Database using SQL Queries

HOW TO BLOCK TORRENT & P2P IN MIKROTIK

Assume you want to block torrent & p2p traffic on 192.168.1.0/24 Local/Lan address is 192.168.1.0/24 (Change setting according to your network) /ip firewall address-list add name=torrentsites regexp=”^.*(get|GET).+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|torrentz|vertor|h33t|btscene|bitunity|bittoxic|thunderbytes|entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirate|commonbits).*\$” /ip firewall filter add chain=forward src-address=192.168.1.0/24 layer7-protocol=torrentsites action=drop comment=torrentsites add chain=forward src-address=192.168.1.0/24 protocol=17 dst-port=53 layer7-protocol=torrentsites action=drop comment=dropDNS add chain=forward src-address=192.168.1.0/24 content=torrent action=drop comment=keyword_drop add chain=forward src-address=192.168.1.0/24 content=tracker action=drop… Continue reading HOW TO BLOCK TORRENT & P2P IN MIKROTIK