yum -y update
curl -sL | bash -
yum clean all && yum makecache fast
yum install -y gcc-c++ make
yum install -y nodejs
Linux is a family of open-source Unix-like operating systems based on the Linux kernel. Some of the most popular Linux distributions include Debian, Fedora, and Ubuntu.
yum -y update
curl -sL | bash -
yum clean all && yum makecache fast
yum install -y gcc-c++ make
yum install -y nodejs
yum remove nodejs rm -rf ~/.nvm ~/.npm ~/.bower /usr/local/bin/npm /usr/local/bin/node* /usr/local/include/node* /usr/local/lib/node* /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node...
sudo yum update
curl –sL | sudo bash -
sudo yum install –y nodejs
node --version
npm --version
Error: Cannot find module ‘express’
Solution:
npm install express
node: error while loading shared libraries: libbrotlidec.so.1: cannot open shared object file: No such file or directory
Solution:
yum install broccoli
On the internet you can find remote solutions to reset IPMI password: Remote from IPMI console (you have to login to IPMI first)From the OS (you have to login to Windows/Linux first) But if you don’t have remote access to the system, neither...
To check if Brotli is enabled on the server for the current PHP version: php -m | grep brotli To use it on the website add the following to the beginning of the .htaccess file: <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text...
Here is a simple one-liner to reindex backups from the destination just for a single cpanel account:
jetbackup5api -F reindexDestination -D "_id={DESTINATIONID}&account_username={USERNAME}"
Source: Jetbackup5 API
After extracting an archive on Linux, ŠĆČĐŽ letters get removed in the file names:
To resolve the issue, specify encoding when extracting:
unzip -O UTF-8 ARCHIVE_NAME.zip
Result:
This simple script will search for all wp-config.php files in a directory, pull the database name and create a backup of it. for wpinstall in $(find "$(pwd)"/ -type f -name wp-config.php | sed 's/wp-config.php//g') do echo "$wpinstall" dbname=$(grep...