Similar Posts
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…
How to Install ionCube Loader in CentOS 7
ionCube is a commercial software suite consisting of a PHP encoder, package foundry, bundler, a real time site intrusion detection and error reporting application as well as a loader. PHP encoder is an application for PHP software protection: used to secure, encrypt and license PHP source code. ionCube loader is an extension used to load…
How to fix and Prevent SQL Injection in WordPress
Introduction SQLi is the manipulation of a security flaw in database systems. WordPress, as a platform, runs server-side scripts in PHP and uses SQL databases. Hence, SQL and PHP make WordPress websites vulnerable to attackers. They could insert malicious URLs (which are embedded with commands) that trigger unwanted behaviors from your database. Consequently, your database’s…
Redirect IP address accesses to domain name with Nginx
Making the following update to your Nginx .conf file will prevent your website from being accessed directly by it’s IP address You’ll need to create a new server block and configure it such that any requests to the servers IP address will instead be redirected to the domain name. Now, when a request is made…
Find Files and Directories in CentOS
Find Files and Directories in CentOS The find command helps you locate files and folders on your hard disk. There are additional parameters that can be passed to the command that help you find files and folders in multiple ways. Find by filename, modified time, find files and folders. Basic syntax find /path/to/search -option1 -option2…
How to automatically clean up /tmp directory contents in Linux?
How to automatically clean up /tmp directory contents in Linux? Every Linux system has a directory called /tmp which has mounted with separate file system. It has special filesystem called tmpfs. It’s a virtual filesystem and operating system will automatically mount /tmp mount point while system booting. If you want to mount /tmp directory separately as…