-
Allowing direct root login using SSH on Ubuntu
By default, both root login and the root account are usually locked on the server due to security concerns. However, sometimes it may be necessary to have the root user account enabled and the ablility to directly login onto the server. For that, follow the steps below:- Step 1: By default, the root account password […]
-
Previewing a website before a DNS update in Plesk
If you want to view your website before changing the DNS of the domain in the Plesk control panel, then below are the steps to follow:- Step 1: Upload the files using FTP for a new account in the domain.Step 2: Log into the Plesk control panel and click on the “Website & Domains” option.Step […]
-
WordPress error: "Download failed. Destination directory for file streaming does not exist or is not writable."
Add the tmp directory path in the wp-lonfig.php file as below- define(‘WP_TEMP_DIR’,’D:\home\\tmp’); That’s it. ]]>
-
Checking the status of PCI devices on Linux
How do we find out the status of a PCI device connected to a PCI bus on a Linux machine and how do we find out whether it is connected with the system or not? For this, we have the Linux command line utility – lspci. lspci is a command line utility with the help […]
-
clnt_create: RPC: Port mapper failure – Unable to receive: errno 113 (No route to host)
What does one do when they get the error below while trying to see the shared NFS directory with the help of the showmount command:- [root@localhost ~]# showmount -e server_addressclnt_create: RPC: Port mapper failure – Unable to receive: errno 113 (No route to host) The root cause of getting this error above is your firewall. […]
-
How to install and use the qmHandle utility with Qmail
qmHandle is a utility for managing the Qmail and mail queue operations. By default, it is not installed with Qmail configuration but you can install it to easily manage Qmail and perform the following operations:- – Checking the number of emails in Qmail.– Reading the messages in the mail queue.– Removing messages from the queue […]
-
.htaccess fix for a xmlrpc.php DDOS attack
We’ve seen that due to old WordPress versions on websites and sometimes due to DDOS attacks on xmlrpc.php, the website and server may become unstable and the traffic to the website may increase as well. To fix this issue we have a solution which will nullify and completely remove such a DDOS attack. Method 1: […]
-
mount error(12): Cannot allocate memory
Sometimes when connecting to the Windows shared drive using the Linux/Windows system, we get the error as below:- [root@localhost ~]# mount.cifs //192.168.1.5/home /mnt/ -o username=myuser,password=123456mount error(12): Cannot allocate memoryRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) This error means that we are not able to allocate memory on the source server (which you’re trying […]
-
Connecting PHP with the MSSQL database on IIS7
Sometimes we have to connect PHP with MSSQL – most of the webhosts don’t offer this on a shared environment but it is possible to have this facility on a dedicated server or VPS with the following steps:- Step 1: Make sure that you’re running the IIS web server with PHP installed on it. Step […]
-
Disabling the default SSH port and direct root user login on the Linux machine
Many times, a hacker tries to login directly via root access on the Linux machine (which enables root login) and can get access by cracking the password with the default SSH port. Today we’ll discuss how to change the default SSH port and to disable direct root login on the remote Linux machine via SSH. […]