Skip to content

Instantly share code, notes, and snippets.

View barrouh's full-sized avatar
🤖
Focusing

Mohamed Barrouh barrouh

🤖
Focusing
View GitHub Profile
@barrouh
barrouh / How to install Ghost with Apache HTTP Server on Ubuntu 20.04 (LTS).md
Last active June 28, 2020 17:48
How to install Ghost with Apache HTTP Server on Ubuntu 20.04 (LTS)

How to install Ghost with Apache HTTP Server on Ubuntu 20.04 (LTS)

Refresh your local software package database

sudo apt-get update

Install MySQL

sudo apt-get install mysql-server
@barrouh
barrouh / Secure Apache HTTP Server with Let's Encrypt on on Ubuntu Linux.md
Created June 27, 2020 18:39
Secure Apache HTTP Server with Let's Encrypt on on Ubuntu Linux

Secure Apache HTTP Server with Let's Encrypt on on Ubuntu Linux

Let’s Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps. Currently, the entire process of obtaining and installing a certificate is fully automated on Apache.

Configuration

Installing Certbot

sudo apt install certbot python3-certbot-apache
@barrouh
barrouh / Configure Apache HTTP Server with Domain Name - Digitalocean.md
Last active June 27, 2020 18:26
Configure Apache HTTP Server with Domain Name - Digitalocean
@barrouh
barrouh / Configuring Apache Tomcat With Apache HTTP Server - mod_proxy.md
Last active June 27, 2020 16:51
Configuring Apache Tomcat With Apache HTTP Server - mod_proxy
@barrouh
barrouh / Install Java with apt on Ubuntu Linux.md
Last active June 27, 2020 14:41
Install Java with apt on Ubuntu Linux

Install Java with apt on Ubuntu Linux

Java is a set of computer software and specifications developed by James Gosling at Sun Microsystems, which was later acquired by the Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment.

JRE (Java Runtime Environment)

Refresh your local software package database

sudo apt-get update
@barrouh
barrouh / Install the Apache Tomcat on Ubuntu Linux.md
Last active June 27, 2020 16:32
Install the Apache Tomcat on Ubuntu Linux

Install the Apache Tomcat on Ubuntu Linux

Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and WebSocket technologies. Tomcat provides a "pure Java" HTTP web server environment in which Java code can run.

First you need to install Java --> Install Java with apt on Ubuntu Linux

Install Tomcat

Create Tomcat directory

@barrouh
barrouh / Install the Apache web server on Ubuntu Linux.md
Last active June 27, 2020 16:15
Install the Apache web server on Ubuntu Linux

Install the Apache web server on Ubuntu Linux

Apache Web Server is a software package that turns a computer into an HTTP server. That is, it sends web pages – stored as HTML files – to people on the internet who request them. It is open-source software, which means it can be used and modified freely.

Installation

Refresh your local software package database to make sure you are accessing the latest versions

sudo apt-get update