Saturday, July 8, 2017

Correctly Set Up Ubuntu/Debian to Install Packages from Local DVDs

Mounting the DVD

The first step is to mount the DVDs. I am using Debian 9. I downloaded 4 Debian DVDs. First I am going to create the mountpoints for the DVDs.

sudo mkdir /mnt/dvd{1..4}

Now I am going to mount the DVDs to the mountpoint.

sudo mount ~/Downloads/debian-9.0.0-amd64-DVD-1.iso /mnt/dvd1
sudo mount ~/Downloads/debian-9.0.0-amd64-DVD-2.iso /mnt/dvd2
sudo mount ~/Downloads/debian-9.0.0-amd64-DVD-3.iso /mnt/dvd3
sudo mount ~/Downloads/debian-9.0.0-amd64-DVD-4.iso /mnt/dvd4


Adding the local repositories to sources.list

sudo nano /etc/apt/sources.list

Now add the following lines to the file.

deb [ trusted=yes ] file:///mnt/dvd1 stretch main
deb [ trusted=yes ] file:///mnt/dvd2 stretch main
deb [ trusted=yes ] file:///mnt/dvd3 stretch main
deb [ trusted=yes ] file:///mnt/dvd4 stretch main

Now save the file and do an apt-get update.

sudo apt-get update


Note

Without trusted=yes, you will get annoying package verification messages.

You will also get error messages when you run 'apt-get update'

W: The repository 'file:/mnt/dvd1 stretch Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Monday, June 26, 2017

Terminal Fancy System Information Viewer neofetch and screenfetch on Debian 9

Install neofetch on Debian 9

sudo apt-get update
sudo apt-get install neofetch


Install screenfetch on Debian 9

sudo apt-get update
sudo apt-get install screenfetch

Saturday, April 1, 2017

Install WebStorm JavaScript IDE 2017 on Ubuntu 16.04 LTS

Watch this video on YouTube to see how easy it is to install WebStorm JavaScript IDE 2017 on Ubuntu 16.04 LTS


Go to Jetbrains Official Website to learn more.



Friday, March 10, 2017

Cisco Packet Tracer 7.0: Create a Desktop Launcher and File Association on Ubuntu and other GTK based DE

    This video demonstrates how to

  • How to Make a Desktop Launcher on Ubuntu for Packet Tracer 7
  • How to Associate Packet Tracer Files .pkz .pka .pkt with the Ubuntu Operating System. So you can double click on .pka .pkz .pkt files to open them up on Packet Tracer 7.0
  • How to Add Default Icons for .pkz .pka .pkt File Extensions.

This tutorial should work with any GTK based Desktop Environment such as GNOME 3, Mate, Cinnamon etc.


$ sudo update-mime-database $HOME/.local/share/mime
$ sudo update-desktop-database $HOME/.local/share/applications


If you don't have Cisco Packet Tracer installed already, install it right now. It's easy and simple. Just click on the following link and follow the instructions.

Install Packet Tracer 7.0 on Ubuntu

Install Cisco Packet Tracer 7.0 on Ubuntu 16.04 LTS

You can install Cisco Packet Tracer 7.0 on Ubuntu very easily. Just follow this video tutorial on YouTube.


Wednesday, February 15, 2017

Ubuntu Group Install Softwares with tasksel

To install a group of software on Ubuntu, you can use 'tasksel' command. You will be prompted with an interface where you can mark what software group you want to install.
sudo tasksel


  • DNS Server
  • LAMP Server
  • LAMP Server
  • Mail Server
  • PostgreSQL database
  • Samba file server
  • Ubuntu Desktop
  • Ubuntu Desktop USB
  • Virtual Machine Host
  • OpenSSH server
  • Basic Ubuntu Server
  • Lubuntu Live CD
  • Ubuntu GNOME Live CD
  • Ubuntu MATE Live CD
  • Ubuntu Studio Live CD
  • Ubuntu Studio Live DVD
  • Xubuntu Live CD
  • Ubuntu Cloud Image (instance)

These are the available groups that you can install with 'tasksel' at this moment.


Tested on: Ubuntu 16.04 LTS Server

Thursday, December 15, 2016

Fix "No 3D support is available from the host" on VMware Workstation Pro or Player 12.5.2

To fix this issue, simple follow the steps below.

Open the VMware Preference File:

Run the following command to open the vmware preference file.

$ gedit $HOME/.vmware/preferences

Add 3D support in the Preference File:

Now in the end of this file, add the following line.

mks.gl.allowBlacklistedDrivers = "TRUE"

Save the file. Now close the VMware program and re-open it. It shouldn't complain "No 3D support is available from the host" anymore.


References:

askubuntu.com

Tested on: Ubuntu 16.04 LTS
Software Package: VMware Workstation Pro 12.5.2 build-4638234