Code Monkey home page Code Monkey logo

linux_server_config's Introduction

Full Stack Web Developer Nanodegree

Project 3: Linux Server Configuration

Description

In this project I set up a Ubuntu 16.04 server on AWS Lightsail, modified the firewall and SSH configuration to make it more secure, installed Apache2 and deployed the Item Catalog project.

SSH details

  • IP address: 18.206.204.20
  • Port: 2200

URL

Installed Software

The following linux packages had to be installed to correctly configure the server:

  • Apache2: to serve web applications
  • libapache2-mod-wsgi-py3: to serve the Item Catalog project
  • PostgreSQL: database Item Catalog uses
  • python3-pip: to install python 3 packages
  • pyvenv: to create python 3.5 virtual environments
  • finger: to get user info easier.

Additionally, all python packages in Item Catalog's requirements.txt file were installed.

Configurations Modified

To secure and comply with project requirements, the following configuration changes were made:

  • UFW
    • Restricted incoming connections to port 80 (HTTP), 123 (NTP) and 2200 (SSH)
    • Allowed outgoing traffic on any port
  • SSH
    • Changed listening port to 2200 instead of port 22
    • Prohibited remote root login
    • Prohibited password-based login
  • Apache2
    • Disabled default site
    • Enabled item catalog site (after creating its configuration file)

Thrid-party resources

To be able to complete this project I had to read through one or more articles in the following websites:

linux_server_config's People

Contributors

aledejesus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.