Skip to content

kosswong/ierg4210-secured-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secured web app

Demo account:

Some useful command:

sudo tail -f /var/log/httpd/error_log

ALTER TABLE products MODIFY COLUMN pid INT auto_increment;

sudo amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2

yum install gd gd-devel php-gd

ssh -i "ierg4210.pem" ec2-user@ec2-34-228-249-169.compute-1.amazonaws.com

/etc/php.ini

Requirement

Random salt: sudo apt-get install mcrypt php7.1-mcrypt

Runserver

sudo systemctl start httpd Ref. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.WebServerDB.CreateWebServer.html

mysql -uroot -p

use test

Change Owner

sudo chown -R ec2-user /var/www/html

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published