How to install Nvidia drivers in Ubuntu

In this article Hostdens will give you how you can easily install Nvidia drivers in Ubuntu. Follow the steps and install Nvidia drivers on Ubuntu.

install Nvidia drivers in Ubuntu

Step 1 :  Go to System > Administration > Hardware Drivers.

Then you’ll see that Nvidia drivers are not in use.

Step 2 : To Check or tick the box underneath Enabled to enable the drivers.

Step 3 : Click Enable Driver.

Step 4 : Wait for the installer file to download.

Step 5 : Open the downloaded file.

Step 6 : Right click on downloaded file and mark it as execute.

Step 7 :  The drivers can only be installed in command mode, under sudo and the graphics daemon must not be running.

Step 8 : Switch to command mode tty CTRL+ALT+F1, then run following command to stop the display manager.

sudo service lightdm stop

Step 9 : If you see a blank screen, that means the mode resolution conflicts with improper video driver. Fix that by running this..

sudo sed -i -e ‘s/#GRUB_TERMINAL/GRUB_TERMINAL/g’ /etc/default/grub
sudo update-grub

Step 10 : Run your nvidia installer by using following command.

sudo ./NVIDIA_750TI_350.linux64.run

 

Thats it,

 

You’ll then see that the drivers are enabled and will be available for use upon a reboot.

Read More

How to Solve Application Error in Windows vzpp

Error :

“Application Error
The server encountered an internal error or misconfiguration.”

Error-and-Solution

Solution :

This is usually caused by VPS hitting its memory parameters, the QOS alerts can be checked from vzmc/pmc to confirm this.

A temporary solution would be restart the the vps to release the memory resource. You want to fix it permanent solution make sure to check how frequent the QOS parameters are hitting their limit and what is causing this high usage and resolve that accordingly.

After restarting virtual private servers , make sure to check it in new browser window about the Plesk login information. 

Read More

How to disable core dumps on Linux Servers

To disable core dumps on Linux Servers

Core dump is a memory or a storage dump which records the memory state of a computer program when it was terminated by the operating system due to various error behavior. In this article Hostdens will give you how to disable core dumps on Linux Servers.

disable-core-dumps-on-Linux-Servers

Please follow the steps to disable core dumps for all users : 

Step 1 :  Edit /etc/security/limits.conf and use the following command.

vi /etc/security/limits.conf

Step 2:  Make sure the following config directive exists by using following command. 

hard core 0

Step 3 : Disable core dumps for setuid programs by using following command.

echo ‘fs.suid_dumpable = 0’ >> /etc/sysctl.conf
sysctl -p

Step 4 : Now, Set a soft limit to stop core dumps being created by using following command.

echo ‘ulimit -S -c 0 > /dev/null 2>&1’ >> /etc/profile

That’s it!

Read More

How to Create a MySQL Database?

To Create a MySQL Database

Create-a-MySQL-Database

MySQL is an open-source relational database management system. It is one of the best RDBMS being used for developing web-based software applications. You have access to root user, you can easy create any database using mysql. 

In this article Hostdens will give you how you can easily create a new database from your cPanel. Follow the steps and create a MySQL Database.

Step 1 : Log in your cPanel.

Step 2 : Go to MySQL Databases.

Step 3 : Navigate to the Create New Database box.

Step 4 : Enter the Database Name in the New Database text field.

Step 5 : Click on the Create Database button.

Step 6 : The database name will be preceded by the cPanel username.

Example, if your cPanel user name is user and you want to have a database named test, the actual database name will be user_test.

create_mysql_database

Then, You will get a confirmation message.

Read More