Replace old text with new text Linux Command
[root@srv01 demo]# grep -rl ‘from test old’ . | xargs sed -i ‘s/from test old/from test new/g’
Update LANG Edit environtment vi /etc/environment add these lines… LANG=en_US.utf-8 LC_ALL=en_US.utf-8 Update and upgrade Core yum -y update yum -y upgrade Install NGINX yum install epel-release yum install nginx Start NGINX and Enable Service systemctl start nginx systemctl enable nginx Install PHP 8.0 Enable Remi Repo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm Check yum –disablerepo=”*” –enablerepo=”remi-safe” list php[7-9][0-9].x86_64…
As a developer, you will occasionally need to create a new administrative user in the database to gain access to the site. Typically, this is necessary when you are provided with an export of a WordPress database, but you aren’t provided with the login credentials for the admin user. Sure, you can gain access via…
Setup Virtual Hosts with Apache on Node.js CentOS Server Do you want to host multiple Node.js Websites on the same Server with different location stored? No Problem, we have a solution for you. We will use apache to turn our server into a web server. There are small requirements for this process. Requirements CentOS Machine…
About the TLS Extension Server Name Indication (SNI) When website administrators and IT personnel are restricted to use a single SSL Certificate per socket (combination of IP Address and socket) it can cost a lot of money. This restriction causes them to buy multiple IP addresses for regular https websites from their domain host or…
If you’re on a cPanel server, you’ve probably noticed a sizable folder called ‘virtfs’ sitting in /home, which would appear at first to be using a ton of space. Your first inclination might be to delete it, but don’t! Most likely, the files in that folder are actually just hard links or bind mounts and…
We recently redesigned a WordPress site for a client who was migrating away from WP Engine. When we migrated the client to the new host, they still had a “WP Engine” section in their WordPress dashboard main menu. Since this feature set would no longer be utilized, it was best to get the plugins removed…