Tag Archives: cent os

How to install LXD container under KVM or Xen virtual machine

How to install LXD container under KVM or Xen virtual machine
For security and ease of admin, I want to install LXD on my cloud server either powered by XEN or KVM. How do I install LXD on Ubuntu Linux server powered by KVM virtualization technology?
Halal Vitamins

Powered by WPeMatico

Download Free eBook PDF: The Awk Programming Language

Download Free eBook PDF: The Awk Programming Language

AWK is a programming language designed for text processing and typically used for a data extraction and reporting tool. It is a standard feature of Linux, FreeBSD, OpenBSD, MacOS and most Unix-like systems.

The Awk Programming Language

The Awk Programming Language

This is one of my favorite books. It is a superb book if you are looking to learn about AWK. AWK is very fast when it comes to data processing. I highly recommend this classic book to all Unix fans.

Download The Awk Programming Language Book PDF Version {11.7 MB} or use wget command as follows:
$ wget https://archive.org/download/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
Sample outputs:

--2017-01-23 10:17:18--  https://archive.org/download/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
Resolving archive.org (archive.org)... 207.241.224.2
Connecting to archive.org (archive.org)|207.241.224.2|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf [following]
--2017-01-23 10:17:19--  https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf
Resolving ia802309.us.archive.org (ia802309.us.archive.org)... 207.241.228.49
Connecting to ia802309.us.archive.org (ia802309.us.archive.org)|207.241.228.49|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8204128 (7.8M) [application/pdf]
Saving to: 'The_AWK_Programming_Language.pdf'

The_AWK_Programming_Language.pdf            100%[========================================================================================>]   7.82M  11.7MB/s    in 0.7s    

2017-01-23 10:17:20 (11.7 MB/s) - 'The_AWK_Programming_Language.pdf' saved [8204128/8204128]

Halal Vitamins

Powered by WPeMatico

How to map static IP address using dnsmasq under LXD (Linux containers)

How to map static IP address using dnsmasq under LXD (Linux containers)
I am using LXD (Linux container) to host Apache, MySQL, Perl and PHP-based app. I would like to assign or map fixed IP address to my MySQL container. How do I allow dnsmasq DHCP server to assign a static IP address to LXD container based on name or MAC address?
Halal Vitamins

Powered by WPeMatico

How to create a new sudo user on Ubuntu Linux server

How to create a new sudo user on Ubuntu Linux server
I am a new Ubuntu Linux 16.04.xx LTS server user. How do I create a new sudo user on my server? How do I add a new user as sudoer file using the command line option on Ubuntu? The sudo command allows a permitted user to run a command as the superuser (root user) or […]
Halal Vitamins

Powered by WPeMatico

Error while loading shared libraries: libXrender.so.1 on Linux

Error while loading shared libraries: libXrender.so.1 on Linux

I am trying to use wkhtmltopdf command to create and convert html pages to a pdf. However, I am running into errors though as follows when try to use wkhtmltopdf via a shell or Python script:
     Creating foo.pdf …
     ~/bin/wkhtmltox/bin/wkhtmltopdf: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory
     Error: foo.pdf not found.

How do I fix this problem with out installing the xserver on my Ubuntu or Debian server?
Halal Vitamins

Powered by WPeMatico

Linux/Unix: Force ssh client to use only password auth authentication when pubkey auth configured

Linux/Unix: Force ssh client to use only password auth authentication when pubkey auth configured

I configured and use my openssh server to accept only public key based authentication. I need to test if my server accepting password. How to allow ssh client to use only password auth when pubkey auth configured?
Halal Vitamins

Powered by WPeMatico

7 Awesome Open Source Web Performance Software For Linux and Unix-like Systems

7 Awesome Open Source Web Performance Software For Linux and Unix-like Systems
Web performance is nothing but the speed in which web pages are downloaded and displayed on the user’s web browser. Faster website speeds have been shown to increase sales or increase visitor loyalty including user satisfaction. Particularly useful for those use slow internet connections or on mobile phones/tablets. You can increase the speed of page load using:

  1. Server side cache
  2. Browser side cache
  3. Faster disks
  4. Image optimization
  5. Web application accelerator focusing on optimizing caching and compression
  6. Load balancing and SSL offloading
  7. Geo or DNS-based load balancing and more.

In short, one can increase the time it takes for pages to render using multi-layered cache and asynchronous communication with server-side components. In this post, I will list my favorite open source software based TCP/HTTP load balancer and proxying solution for web performance.
Halal Vitamins

Powered by WPeMatico

How to copy a single file to multiple directories in Linux or Unix

How to copy a single file to multiple directories in Linux or Unix
If I want to copy a single file into three locations (directories), by using a single (e.g. cp file /dir1/ /dir2/ /dir3/. Would that be possible? If yes, please provide the command for GNU/Linux or Unix operating systems. The short answer is no. You can not use GNU/cp or BSD/cp to copy a single file […]
Halal Vitamins

Powered by WPeMatico

How to fix: MacOS keep asking passphrase for ssh key after upgrade or reboots

How to fix: MacOS keep asking passphrase for ssh key after upgrade or reboots
I recently upgraded my MacOS Sierra and now ssh command keep asking for passphrase as follows when I try to login to my remote Linux/Unix server:       Enter passphrase for key ‘/Users/vivek/.ssh/id_ed25519’: How do I fix MacOS Sierra upgrade that keep breaking ssh keys in terminal? My MacOS used to remember the ssh passphrase, but now […]
Halal Vitamins

Powered by WPeMatico