All Linux Articles

This page is a page which contain all articles :

Command

  1. How to Check hard disk Size in Linux .
  2. How to Check Domain Name Server in Linux .
  3. How to Check Socket Size in Linux .
  4. How to Copy or Duplicate Image remotely via SSH in Linux .
  5. How to Use wget to Download Recursively Linux .
  6. How to Change hostname in Linux .
  7. How to Sort File by Size in Linux .
  8. How to Use Screen in Linux .
  9. How to Use ss to Show List of Listening Service in Linux .
  10. How to Use htop in Linux .
  11. How to Use netstat to Show List of Listening Service in Linux .
  12. How to Use wget to Download with Resume Option in Linux .
  13. How to Use pwd to Show Current Working Directory in Linux .
  14. How to Use ls to Show Content of a Directory in Linux .
  15. How to Create empty file in Linux .
  16. How to Use du to Show File size in Linux  .
  17. How to Use du to Calculate Directory size in Linux .
  18. How to Use su to Switch User in Linux .
  19. How to Use whoami to Check Current Logging User in Linux .
  20. How to Use md5sum to Check File Image integrity .
  21. How to Use Check Physical Memory Size in Linux .
  22. How to Check Operating System Name and Version in Linux .
  23. How to Change Directory Permissions in Linux Recursively .

Tips and Trick

  1. How to Boot Linux from GRUB Command Line .
  2. How to SSH Automatically without Password using Public Key .
  3. How to Troubleshoot Network Interface Error : eth does not seem to be present delaying initialization .
  4. How to get Wifi Connection Saved Password in Linux .
  5. How to Backup Logical Volume via Samba Shared Folder in Linux .
  6. How to Mount Samba Shared Folder and Copy the Files in Linux .
  7. How to Search a text in a file in Linux .
  8. How to Disable squashfs Filesystem in Linux .
  9. How to Disable udf Filesystem in Linux .
  10. How to Disable cramfs Filesystem in Linux .
  11. How to Convert mp4 to mp3 in Linux via Command Line .
  12. How to Set Default umask User in Linux .
  13. How to Solve Failed Package Installation because of gpg key .
  14. How to Remove User Home Directory after Deleting User .
  15. How to Configure wget to Download via Proxy .
  16. How to Add Executable Permission in Linux .
  17. How to Remove GUI in Linux CentOS .
  18. How to Change Run Level of a Service in Linux CentOS .
  19. How to Solve NetworkManager does not started automatically .
  20. How to Extract Compressed File tar.gz .
  21. How to Create Bootable Operating System Installer .
  22. How to Check Operating System Version .
  23. How to Check Ubuntu Version .

Software Installation

  1. How to Install Internet Explorer 7 on Linux using PlayOnLinux .
  2. How to Install Internet Explorer 8 on Linux using PlayOnLinux .
  3. How to Install Inkscape in Linux .
  4. How to Install Gitlab in Linux via Command Line .
  5. How to Install Adobe Photoshop in Linux using PlayOnLinux .
  6. How to Install Adminer in Linux .
  7. How to Install PlayOnLinux in Linux .
  8. How to Install LAMPP in Linux .
  9. How to Install Docker in Linux .
  10. How to Install KVM and Libvirt in Linux .
  11. How to Install tree command in Linux via Command Line .

Sudo Command

  1. How to Solve Error for failing to execute sudo Command .
  2. How to Solve Error for failing to execute sudo Command because Username is not in the sudoers file .

SELinux

  1. How to Temporarily disabled SELinux .
  2. How to Add Security Context Label for SELinux .

Cron Scheduler

  1. How to Run Shell Script as a Background Process .
  2. How to Add Date Attribute in the file name created using Cron Scheduler .

Samba Sharing Folder

  1. How to Install Samba in Linux Ubuntu .
  2. How to Reset Samba User Password via Command Line in Linux .
  3. How to Solve Samba Access Error : Session Setup Failed NT_STATUS_ LOGON_FAILURE .
  4. How to Copy file from Linux to Windows file and folder Sharing using Samba .
  5. How to Create Specific User for Samba file and folder Sharing .
  6. How to Mount Linux or Folder and File Sharing into Local Mount Point with Unique Password Character .
  7. How to Check Samba Configuration File using testparm Command .
  8. How to Mount Shared Folder in Linux using Samba .
  9. How to Access Folder and File Sharing from Linux using Samba .
  10. How to Add Samba User using smbpasswd Command .
  11. How to Install Samba Client .
  12. How to Configure Samba for Windows File Sharing .

SSH Remote Connection

  1. How to Solve SSH Access Denied because Invalid User .

Logical Volume Management

  1. How to Backup Logical Volume into a File .
  2. How to Create Logical Volume using lvcreate Command .
  3. How to Display Logical Volume Information using lvs Command .
  4. How to Display Volume Group Information using vgs Command .

APT Package Management

  1. How to Use apt to autoremove package in Ubuntu .
  2. How to Install Ubuntu Package via Proxy .
  3. How to Search Installed Package in Ubuntu .

Yum Package Management

  1. How to Recreate repository yum package file in CentOS .
  2. How to Install Package via Proxy using yum .

Firewall

  1. How to Install Firewall in Linux .
  2. How to Check Firewall State in Linux .

How to dd in Remote Network using SSH via Command Line

In this article, the focus of the subject is about how to dd in remote network using SSH via command line. The command ‘dd’ itself is an utility which is used to convert and copy a file based on the manual page given. In the context of this article, ‘dd’ command is used to duplicate a logical volume partition in a server to another logical volume to another  server which exist or located remotely over the network.

The command ‘dd’ itself, in the context of this article for the sake of remembering the function which can be achieved by the command itself can stands as ‘duplicate disk’. It is because the disk which given as an example follows is being duplicated from one server to another server. The disk itself is being duplicated from a logical volume partition in a server to another logical volume partition which exist in another server. So, the process is actually a duplicate disk process and it is done over the network remotely.

Continue reading “How to dd in Remote Network using SSH via Command Line”

How to Backup Logical Volume Remotely using Samba Mounting Folder

This is an article showing an alternative way on doing the backup process of a logical volume partition remotely. If there is a certain need on moving the virtual disk which is stored in form of logical volume from a server to another logical volume exist in another server. For an example, the process initiated is to mirror or to copy the logical volume into the  form of raw file format which is quite handy and convenient since it can be converted later on to another format such as qcow2 which is a virtual server image format supported by QEMU (Quick Emulator). It is obvious since qcow2 itself is an abbreviation of qemu copy on write version 2. But since the format which is used to backup, copy or mirror the logical volume is a raw file format, the size of the file will be similar with the size of the logical volume mirrored.

Continue reading “How to Backup Logical Volume Remotely using Samba Mounting Folder”

How to Backup Logical Volume to a File

In this article, there will be a short explanation on how to backup logical volume to a file. In this context, the logical volume which is called as a virtual disk partitions  is being used as a virtual disk for a certain virtual server created. Using virtual disk represented with a logical volume, a virtual server can be installed with any operating system in any architecture with the help of  a specific utility categorized as Virtual Server Manager or Virtual Machine Manager software based on its function. So, this so-called Virtual Server Manager or Virtual Machine Manager has its main function of managing several Virtual Server from the initial step of of creating, configuring and deploying each of them so it can run properly. Each of those Virtual Server using a specific logical volume utilized as its virtual disk.

The scenario occurred in this article is the backup or copy process of a logical volume to a file is going to be executed  because one of the reason which may happen is the virtual disk need to be removed from one location to another.

Continue reading “How to Backup Logical Volume to a File”

Using lvcreate to Create Logical Volume via Command Line

As the other article shows how to view existing Logical Volume in a host, workstation or server which has an LVM (Logical Volume Management) installed, titled ‘Using lvs Command to Display Logical Volume Information‘, this article focus on showing how to create the Logical Volume and it is performed in a bash prompt which is the command line interface to type the command for creating logical volume.

But first of all, to be able to create a logical volume, there is a need of an existing volume group.

Below is the command used to create logical volume :

Continue reading “Using lvcreate to Create Logical Volume via Command Line”

Using lvs Command to Display Logical Volume Information

Another article relate to Logical Volume Management discuss specifically how to display an information about existing or available logical volume in a server, workstation or a host with a specific command as one way to do it simply. The command itself must be executed in root privilege and it is generally typed in the bash prompt.

The command which should be typed is  :

lvs

Continue reading “Using lvs Command to Display Logical Volume Information”

Using vgs Command to Display Volume Groups Information

To display an information about existing or available volume groups in a server, workstation or a host, there is only one way to do it in a simple way. It is done by executing or typing the suitable command in a bash prompt.

The command which should be typed is  :

vgs

Continue reading “Using vgs Command to Display Volume Groups Information”