To check current limits Edit /etc/security/limits.conf – Add the following lines, also remember like root is a username, you should add all the usernames on which you wish to increase the limit Edit /etc/pam.d/common-session – Add the following line Edit
MacBook Pro 2009 – Ubuntu 20.04 Installation
Download Ubuntu for Desktop (20.04) Burn on Pen Drive using Rufus (UEFI mode) Install normally as per the instructions provided on the screen Install full kde using sudo apt-get install kde-full sudo lshw -businfo -class bridge -class display Bus info
Fix Old MacBook Windows 10 Reboot Issue
I have MacBook 5,2 which i needed with Windows 10 as new MacOS is no further supported on it and i didn’t wanted to waste some good hardware engineering by Apple in it 🙂 However the installation of Windows 10
Running VLC in Ubuntu as root
Run the sed command below to make changes in the VLC binary file, it will replace the geteuid variable (which determines the effective user ID of the calling process) with getppid (which will determine the parent process ID of the calling process). In this command, ‘s/geteuid/getppid/‘
Enable root user in Ubuntu 20.04
Step 1: Login into your account and open terminal Step 2: Type the following command to setup password for root account sudo passwd root Step 3: Open file /etc/pam.d/gdm-password sudo nano /etc/pam.d/gdm-password Step 4: Comment out the following line by
Enable root user in Ubuntu 16.04
By default root user account is disabled for login in Ubuntu. Steps mentioned below will allow you to enable the root user and login as root on the OS. Login to your account and open Terminal sudo passwd root Type
MySQL on Ubuntu 18.04
Introduction MySQL is an open-source database management system, commonly installed as part of the popular LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack. It uses a relational database and SQL (Structured Query Language) to manage its data. The short version of the installation is simple:
Enable Root Login in Ubuntu 18.04
Step 1: Login into your account and open terminal Step 2: Type the following command to setup password for root account sudo passwd root Step 3: Open file /etc/pam.d/gdm-password sudo nano /etc/pam.d/gdm-password Step 4: Comment out the following line by
Disabling transparent_hugepages in Ubuntu 16.04
MongoDB requires disabling of transparent_hugepages in Ubuntu 16.04 for performance enhancements. In order to achieve this we need to make a script that is automatically executed when system reboots. Follow the following steps to enable this in your linux installation:
Installing a dummy Monitor
Most of the times servers don’t have external monitors connected to them and this may pose problems for variety of applications if you are using GUI. To fix this issue we can install a dummy Video driver. The procedure is