Ahmed Amayem has written 90 articles

A Web Application Developer Entrepreneur.

Using sudo cd problem and workarounds

Pre-requisites Root access to your server or have access to an account that has sudo powers on your servers – Instructions here to see how to give a linux user sudo powers. Setup Login as a non-priveleged user (non-root). Let’s make a directory that only root can enter: [ahmed@amayem ~]$ sudo mkdir test [ahmed@amayem ~]$…

Woes of using an outdated supervisord to run a node.js app (ghost)

The Situation I wanted to run my ghost blog using supervisord. I decided to install supervisord by using yum. The result was pretty bad as it turned out that the version that I installed was waaayyyy behind, which caused so many problems. To install it properly check out these instructions. This is an account of…

Running a Node.js app (ghost) in the background continuously with Supervisor (Supervisord)

Pre-requisites Root access to your server or have access to an account that has sudo powers on your servers – Instructions here. nodejs and npm installed – Instructions here. ghost installed and a ghost user made to run ghost – Instructions here. What is supervisor From the official supervisor page, Supervisor is a client/server system…

Copy or Cut and Paste in vi on linux tutorial

vi text editor is a command line text editor. Most computer users these days have become accustomed to the graphical user interfaces available and may be uncomfortable with vi. However, when setting up a server it would do us well to get comfortable with it. As a system admin one of the most common uses…