Similar Posts
How to remove non empty Directory in Linux
I am getting an error message that read as follows: rmdir: failed to remove ‘trip-pictures’: Directory not empty How can I remove non empty directory in Linux using the cli? There are two commands that one can use to delete non empty directories in Linux operating system: rmdir command – Delete directory only if it…
How can I BACKUP a MySQL database from the command line?
Performing a MySQL Database Dump From your SSH command prompt type … mysqldump -u {username} -p {password} {databasename} > {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql} – the file to…
Install XenTools on Linux VMs
Objective This articles describe on installing the paravirtualized drivers on a linux operating systems like centos, redhat, ubuntu Instructions 1. Insert the XenTools ISO in the DVD drive of the Linux VM2. Mount the DVD drive to /mnt using : “mount /dev/xvdd /mnt”It says , mount : block device /dev/xvdd is write-protected, mounting read-only The…
How can I RESTORE a MySQL database from the command line?
Importing a MySQLDUMP From your SSH command prompt type … mysqladmin -u {username} -p {password} create {databasename} mysql -u {username} -p {password} < {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql}…
Install Linux Centos 7, Nginx, MySQL, Postgres, PHP 8.0
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…
OpenCart Admin Login Loop
Method-1: First Check the Timezone in Settings > Store. Make sure you set to UTC. If you need to change it back you can in the SQL table “oc_setting” column “key” value “config_timezone” in the “value” column change it back to “UTC” UPDATE oc_setting SET value=’UTC’ WHERE key = ‘config_timezone’; If still issue, follow below method. Method-2: You…