This is a common issue for the developers to access ec2 instances by username and password authentication. It requires a few steps to do that. First, login as root using the key pairs. Second, create a user sudo adduser username Third, you need to grant root level permission to the new user visudo Add following …
Linux
All posts are related to Linux and Linux based Distro..
Basic DevOps for deploying an application in Ubuntu VPS
As a senior dev guy in the office, I am always asked to help in setting up production environment ready for VPS based on Ubuntu or any other Linux distributions. Today I will cover some basic knowledge that help you deploying your application in any Linux VPS even you are not a DevOps Engineer in …
Upgrade to PHP 7
PHP 7 is released after 10 years of PHP 5 released. It’s a major release and it has a lot of improvements compares to PHP 6. Eventually, developer community did not accept PHP 6 that much. If you haven’t upgraded PHP environment, I would recommend upgrading its version as soon as possible to get better …
Setting up development enviroment with Vagrant
Nowadays we have to work on different different web stacks at the same time. Even in same web stack our production environment and development environment are totally different. It became obvious to use visualization in order to solve this problem. There are a couple of solutions exist such as vagrants, docker (based on Linux container), …
convertNumericType error in Zend Framework 2 with Doctrine MongoDB ODM
One stupid error kicked my ass for the last few days (Sorry for writing in this way). Recently I am working on a project with Zend Framework 2 and Doctrine MongoDB ODM. Platform Setting up killed five days only for the MongoDB driver’s bug. My platform based on Ubuntu 12.04, PHP 5.3 with Zend Framework …
Compile a Linux kernel from source
I always like to do something in Linux. Although my plan is a bit different. Right now I don’t want to share here until I finish that. But today I share my experience on compile a Linux kernel from source. You can also try it on your PC. But my recommendation would be to try …
Move the Close Button in Gnome-Shell to the Left from Right in Fedora 17
Recently, I installed Fedora 17 in my Desktop. Fedora 17 is cool but problem is that close button is on the Right side. But I am an Ubuntu user and used to everything on the left side. So, I do a little hacking in the Gnome-Shell and move the close button to left from right. …