Posts

How to Install Bootstrap Documentation Locally on Ubuntu 18.04

Image
Running Bootstrap Documentation Locally: To install bootstrap documentation locally at first we need the bootstrap Source Files . Download Source from https://getbootstrap.com/docs/4.1/getting-started/download/. Make sure this is the source - not the compiled files. After downloading extract the source file somewhere suitable. Extracted folder name should be something like "bootstrap-4.1.3" Open terminal and cd into the extracted "bootstrap-4.1.x" folder. I am assuming that Nodejs and npm are installed in your machine. If not, you need to install Nodejs. From inside the extracted folder run "npm install" command (without quote) to install local dependencies listed in package.json file. Ignore all the warnings. Next, install Ruby. Run the command "sudo apt install ruby-full" in your terminal. Install bundler using the command "gem install bundler". If Error occurs follow the next steps. Change the ownership of the

How to fix - Grub Installation Failed while installing Ubuntu 18.04

Most of the time this problem occurs when people try to install Ubuntu 18.04 on a MBR partitioned disk and face grub menu installation failure. Everyone makes mistake by thinking that Calling 'apt-install grub-efi-amd64-signed' failed - is a bug. But I think this is not a bug. This is just an user fault. The solution of this problem relies on two basic steps. At first you need to create your Ubuntu 18.04 bootable flash drive correctly. And secondly, you need to bootup you machine using the bootable flash drive in the correct mode (UEFI/CSM/Legacy BIOS). When your system is MBR Partitioned with legacy BIOS and you try to install Ubuntu in UEFI mode, failure of the installation process is natural. The reason behind this complexity is the multiboot system of the Ubuntu iso file. The iso file is created for both the MBR Partitioned Legacy mode devices and GPT devices with EFI Firmware. Correct process of creating bootable ubuntu 18.04 flash drive Bootup your machine

How to bootup your machine from the bootable ubuntu usb device in the right mode

Image
Ubuntu iso file comes in multiboot mode these days. So, it is important to select the right mode to boot the system. Otherwise installation process will fail. This is specially true if your system is a dual boot one and you have an MBR partitioned disk and you need to bootup your machine in legacy bios mode. So, how to boot in the mode you need? Well, funny. This is not hard at all. Just keep pressing esc key while booting up your machine. You will see a Window with select boot device option like the above image. Importantly, you can see that your one bootable USB device shows two options: One is "USB Flash Drive 8.00" The another is "UEFI: USB Flash Drive 8.00..." Select the first option if your system is in Legacy BIOS mode with MBR partition. This scenario is common with dual boot systems that has Windows 10 installed. If you examine your hard disk partitions using whatever partition manager you use, you probably will find a "System Reser

How to create Ubuntu 18.04 bootable flash drives properly using Windows

Image
Whether you are using Windows 7, Windows 8 or Windows 10, creating a bootable Ubuntu flash drive is actually not that hard. But choosing the perfect tools for this job is really hard. There are lots of software that claim that they can create bootable Ubuntu flash drives. But to be honest not all of them work perfectly or at least they are not updated up to the date. I have tried many of them and failed and finally found that this one little software called Rufus works flawlessly. Although as a user you need to provide correct information to get a perfectly working bootable flash drive. This is specially true for Ubuntu 18.04 (Bionic Beaver). I will talk about the reasons in another post. Let's keep this post simple and focused. For a starter providing correct information to bootable drive creating softwares is a little bit confusing. I myself made many mistakes in doing so. Here I will try to explain every step so that you don't make any mistake and understand prope

Installing a Debian package (.deb) from terminal without using Ubuntu Software Center

Image
In Ubuntu 17.04 Ubuntu Software Center is broken. It fails to install third party softwares from directly. Double clicking a .deb file in you file manager (Nautilus) usually opens it on Software Center. But, after that clicking the install button simply does not work. In situations like this we need to install the package and it's dependencies via terminal. Ubuntu Software Center is not working for third party software packages. How to Install dot deb packages using dpkg: Suppose we have our .deb package located on Desktop.         $ cd ~/Desktop                 $ sudo dpkg -i package_name.deb                 $ sudo apt-get -f install         Notes:         1. dpkg - Debian Package Management System. This command install the package when we use the option -i with it.         2. The -f (--fix-broken) option of apt-get command installs the dependencies of any previously installed packages. (Fix; attempt to correct a system with broken dependencies in place.)    

How to install curl in ubuntu + nginx

Open Terminal (Ctrl+Alt+T) Run the command: sudo apt-get install php5-curl Restart nginx: sudo service nginx restart

Lost grub list after installing windows7

Image
follow above steps to reinstall grub if lost after installing windows.