AWS Wordpress Project
·
Create EC2 instance. (OS Linux)
·
Install Apache web server
install
1.
Sudo yum install httpd
2.
Sudo service httpd start
IP copy and paste in
browser then page will display
·
Install php
1.
Sudo yum install php
·
Install MySQL (Steps to install
MySQL)
2.
Sudo yum install wget
4.
Sudo yum install mysql*
5.
sudo yum install mysql-server
6.
sudo service mysqld start
7.
sudo grep 'temporary password'
/var/log/mysqld.log
8.
Run Above statement and copy password
9.
mysql -h localhost -u root
–p
10.
Enter password:
11.
mysql> SET PASSWORD FOR
'root'@'localhost' = PASSWORD('*myGouriNew1');
12.
mysql> create database wordpress;
13.
mysql> exit
·
Install MySQL (Steps to install
MySQL)
1.
sudo mkdir /var/www/html/wordpress/
2.
cd /var/www/html/wordpress
3.
sudo wget
https://wordpress.org/latest.tar.gz
4.
sudo tar –xvzf latest.tar.gz
5.
sudo yum install php-mysql
6.
Sudo service httpd restart
·
Go to the web site and do the
wordpress installation
AWS java Project
1.
Change to the directory in which you want to install. Type:
cd directory_path_name
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/
cd directory_path_name
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/
2.
Move the
.tar.gz archive binary to the current directory.
3.
Unpack the tarball and install Java
tar zxvf jre-8u73-linux-x64.tar.gz
The Java files are installed in a directory called jre1.8.0_73 in the current directory. In this example, it is installed in the /usr/java/jre1.8.0_73 directory. When the installation has completed, you will see the word Done.
tar zxvf jre-8u73-linux-x64.tar.gz
The Java files are installed in a directory called jre1.8.0_73 in the current directory. In this example, it is installed in the /usr/java/jre1.8.0_73 directory. When the installation has completed, you will see the word Done.
4.
Delete the .tar.gz file if you want to save disk space.
( Or )
1.
Become root by running su and entering the super-user password.
2.
Uninstall any earlier installations of the Java packages.
rpm -e package_name
rpm -e package_name
3.
Change to the directory in which you want to install. Type:
cd directory_path_name
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java
cd directory_path_name
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java
4.
Install the package.
rpm -ivh jre-8u73-linux-i586.rpm
To upgrade a package,
rpm -Uvh jre-8u73-linux-i586.rpm
rpm -ivh jre-8u73-linux-i586.rpm
To upgrade a package,
rpm -Uvh jre-8u73-linux-i586.rpm
5.
Exit the root shell. No need to reboot.
6.
Delete the .rpm file if you want to save disk space.
# yum install oracle-validated
# yum update
AWS CLI
$> sudo yum install python
2. Install PIP
$> sudo wget https://bootstrap.pypa.io/get-pip.py
$> sudo python2 get-pip.py
3. Install AWS CLI
$> sudo pip install awscli --ignore-installed six
4. To test
$> aws --version
5. Configure AWS CLI
$> aws configure
Web Sit Host in Redhat Linux Server
$sudo yum install wgetService httpd status
Service httpd start
ls /var/www/html/
sudo cp-rf (web site name)/ /var/www/html/
It is interesting to know how vast amount of data is stored and retrieved from the cloud. The whole process was explained clearly with the suitable example.
ReplyDeleteRegards:
Salesforce Training institutes in Chennai
salesforce training