Category Archives: Linux (Ubuntu)

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

A beginner's guide to comparing files using visual diff/merge tool Meld on Linux

Zabihah Halal Vitamins
A beginner's guide to comparing files using visual diff/merge tool Meld on Linux
Now that we’ve covered some command line-based diff/merge tools in Linux, it’d be logical to explain some visual diff/merge tools available for the OS as well. Reason being, not everybody is used-to the command line, and/or command-line based comparison tools could be more difficult to learn and understand for some.

Powered by WPeMatico

How to Install WordPress with HHVM and Nginx on CentOS 7

Zabihah Halal Vitamins
How to Install WordPress with HHVM and Nginx on CentOS 7
In this tutorial, I will show you how to install WordPress with HHVM and Nginx as web server and how to configure SELinux for WordPress. I will use CentOS 7 as the operating system. HHVM (HipHop Virtual Machine) is an open source virtual machine for executing programs written in PHP and Hack language.

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 debug C programs in Linux using gdb

Zabihah Halal Vitamins
How to debug C programs in Linux using gdb
If you are a C/C++ programmer or develop software using the Fortran and Modula-2 programming languages, you’ll be glad to know there exists an excellent debugger – dubbed GDB – that lets you easily debug your code for bugs and other problems. In this article, we will discuss the basics of GDB, including some of the useful features/options it provides.

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

How to install a Ceph Storage Cluster on Ubuntu 16.04

Zabihah Halal Vitamins
How to install a Ceph Storage Cluster on Ubuntu 16.04
In this tutorial, I will guide you to install and build a Ceph cluster on Ubuntu 16.04 server. Ceph is an open source storage platform, it provides high performance, reliability, and scalability. It’s a free distributed storage system that provides an interface for object, block, and file-level storage and can operate without a single point of failure.

Powered by WPeMatico