How to install npm

This is an article written just to show how to install npm. Basically the installation executed in the command line interface where the npm installed will be intended to be executed in the Linux operating system. Basically the installation of ‘npm’ itself is actually performed using a command executed in the terminal or any command line interface.

In an operating system based on Ubuntu Linux for an example, the installation is actually done by using a command executed in a command line interface. For a start, there is a certain command that can be executed to check whether an utiltiy called npm has already been installed or not. It can be retrieved from an information in an article titled ‘Ubuntu Search Installed Packages’ which exist in this link .

Continue reading “How to install npm”

Samba Cheat Sheet Command Page

Mount Sharing Folder in a other Server, Workstation running Linux Samba Shared Directory or Folder

mount -t cifs //xxx.xxx.xxx.xxx/shared_name /mnt/mount_point_name/ -o username=samba_username_for_access

Example :

user@hostname:~# mount -t cifs //10.0.0.17/shared /mnt/test/ -o username=mike
Password for mike@//10.0.0.17/shared ****************
user@hostname:~#

Ubuntu Linux Error Message : dpkg: error processing package mysql-server-5.7 (–configure)

This error specified in the title of this article popped out in the middle of the execution of apt command. It is an error which has been bothering for quite sometime. It is because the upgrade process of MySQL Database Server in the Ubuntu Linux Operating System, every operation involving apt tool for package management system include installing, updating and removing packages will generate an error message specified in the title of the article at the end. So, below are steps taken which is basically trial and error in sequential order to be able to completely remove the nuisance of error message generated in the title of this article as follows :

dpkg: error processing package mysql-server-5.7 (--configure)

Below are several of those steps taken :

1. Using dpkg –configure -a.

The first step taken is using ‘dpkg –configure -a’ which is executed since mysql-server-5.7 is considered installed but it hasn’t been configured yet. Below is the output of the command generated :

Continue reading “Ubuntu Linux Error Message : dpkg: error processing package mysql-server-5.7 (–configure)”

Ubuntu Linux Error Message : debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

This article is also an article related to the error message triggered upon ubuntu package management process which in the context of this article it is removing a certain package. Precisely the error is shown in the title of this article which is “debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable”. The following output will give more detailed output on the actual process which is in the end triggering the error message as specified in the title of this article :

Continue reading “Ubuntu Linux Error Message : debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable”

All About Ubuntu Linux

This post is all about Ubuntu Linux

Tips and Trick

  1. How to use apt autoremove in Ubuntu Linux
  2. How to solve cannot sudo in Ubuntu Linux

Installation

  1. How to Install Inkscape in Ubuntu Linux 16.04
  2. How to Install PlayOnLinux in Ubuntu Linux 16.04
  3. How to Install Gitlab in Ubuntu Linux 16.04

Linux Ubuntu Error Message

  1. Ubuntu Linux Error Message : Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable) .
  2. Ubuntu Linux Error Message : debconf: DbDriver “config”: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable.
  3. Ubuntu Linux Error Message : dpkg: error processing package mysql-server-5.7 (–configure) .

Ubuntu Linux Error Message : Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)

An error comes up in the process of installing a package in an Ubuntu Linux Distribution Operating System which is specified as shown in the title of this article. The error message is : Could not get lock /var/lib/dpkg/lock – open (11 Resource temporary unavailable).

The cause of the error is strongly assumed which can be actually a fact that the previous execution of the command for modifying an Ubuntu package is being terminated halfway in the process. In case of this article, the context is for removing  the package which has already installed. The command which is carried out for being executed is shown below :

Continue reading “Ubuntu Linux Error Message : Could not get lock /var/lib/dpkg/lock – open (11 Resource temporarily unavailable)”

How to Share Folder in Linux using samba

This is an article for showing on how to share folder in Linux using an utility called samba. Precisely before sharing a specific folder in Linux, to be able to make a certain person or only a specific user that can access that specific folder shared, first of all create a user for accessing it. The article for creating user can be found in the following article titled ‘Add Samba User in Linux with smbpasswd’ in this link or another article titled ‘Create User for specific purpose like Samba Sharing’ in this link or even in this link which is actually an article titled ‘Reset Samba User Password via Command Line’ to reset password for an existing samba user.

So, after the user has already been created the next step is to make sure that the sharing folder definition has already been defined. Below are steps taken to provide the sharing folder via samba :

Continue reading “How to Share Folder in Linux using samba”