How to setup a wordpress website on AWS EC2 within few minutes

"Learn, Learn and Learn"

Here we are going to discuss how can we setup our own WordPress website in our amazon EC2 within few minutes. There are several platforms which gives you the option to pay for their services and have a WordPress site. Then you can build whatever you need to do. But today we will discuss how to build our own server, install WordPress and setup the rest.

What is the benefits of choosing AWS to setup WordPress ?

Because you don't need to pay for services which other platforms provides. In AWS, you are the owner of your server and you are the person who install and setup your installation. So no monthly charges for anonymous companies . Only pay is for as you go. From this article we will learn how to setup our own WordPress site. In AWS also there are options to use pre-installed WordPress and make our site.  But here we will discuss how to do it without using pre-installations.

Follow the steps as below. 

1) First we need to create a AWS EC2 instance.…

Different types of users in linux

There are different types of users in Linux.
  • Root user 
  • Super user 
  • Normal user 
Root user is like the Administrator account in windows. Root user  has the highest privileges. So, if you switch to root , you can do anything inside of the operating system. Because of that it's need to use that account very carefully.

Normal users are the account that you use regularly. I created a student named user account in the article which i installed CentOS-7 in VMware. A regular user has no previledges for changing system files and root managed files. But some system files can be viewed. Regular user access all the files in that user's domain. 

A super user is who can gain root power, which mean a super user can switch and gain root access on requirement.

Eg: A normal user can't install applications in Linux. But, a super user can do that by switching to root. 

Only root user can make a normal user as a super user.

Additionally, we will discuss the helpful Linux command for switching in between users.

  • su <user name> : switch user
  • su - : switch user to root
  • su root : same as above
  • sudo su : switch to root user without password ( this is for superusers only )
What is the difference in using  su <username> and su - <username> ?

It is like this. In Linux operating system, there are environmental variables. They are like unique things for users. Something like a home directory, host name, user name like that. So, if we switch user with "su - <username>" command, it will take us to other users account. Environmental variables will be changed accordingly. But if we use the command "su <username>", it will not take us to next users account. It will not change the environmental variables accordingly. Because we are accessing the other users files being inside of our account. But su - <username> will change the user account with it's environmental variables as well. 


Popular posts from this blog

Why i can't ping to my AWS EC2 Instances ?

NFS Server and Client Installation with Configurations.