This project is the sixth and final project in the curriculum of Udacity’s Full Stack Web Developer Nanodegree. The Linux Server Configuration project requires using an instance of Ubuntu on Amazon Lightsail, configuring it, securing it and deploying a web application on it. The hosted web application is the item catalog application.
- Updated all currently installed packages.
- Configured the local timezone to UTC.
- Created a new user
grader
and gave them sudo access. - Configured the SSH-key authorization for the
grader
user. - Enforced SSH-key login.
- Prohibited remote root login.
- Configured the Uncomplicated Firewall ufw.
- Installed various packages such as pip and git.
- Changed the default SSH port.
- Installed and configured Apache and PostgreSQL.
- Cloned the Item Catalog web application repository from GitHub.
- Installed the application's dependencies such as sqlalchemy, Flask and oauth2client.
The IP address of the server is 52.66.195.248. The SSH port is 2200.
To login as the grader user: $ ssh -i ~/.ssh/udacity_key.rsa -p 2200 grader@52.66.195.248
Visit http://ec2-52-66-195-248.ap-south-1.compute.amazonaws.com on your browser.
You should be seeing the homepage of the item catalog web application.
https://github.com/chuanqin3/udacity-linux-configuration
https://github.com/iliketomatoes/linux_server_configuration
https://github.com/davidduckwitz/udacity-linux-server-config
https://github.com/sagarchoudhary96/P8-Linux-Server-Configuration