Riley Lambert

Riley Lambert

1590047527

How To Secure Nginx with Let's Encrypt on Ubuntu 20.04

Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install 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 both Apache and Nginx.

In this tutorial, you will use Certbot to obtain a free SSL certificate for Nginx on Ubuntu 20.04 and set up your certificate to renew automatically.

This tutorial will use a separate Nginx server configuration file instead of the default file. We recommend creating new Nginx server block files for each domain because it helps to avoid common mistakes and maintains the default files as a fallback configuration.

#ubuntu #security

What is GEEK

Buddha Community

How To Secure Nginx with Let's Encrypt on Ubuntu 20.04
Myriam  Rogahn

Myriam Rogahn

1599423060

How to Secure phpMyAdmin Access with Apache on Ubuntu 18.04

How to secure PHPMyAdmin login access in ubuntu apache on aws. Here, we will show you a simple 2 solution to secure PHPMyAdmin login in ubuntu apache on aws web server.

The first solution is to change the PHPMyAdmin login URL. And the second solution is add an extra security layer for access PHPMyAdmin login url in ubuntu 18.04 apache 2 on aws. And prevent the attacks.

Because by default, phpmyadmin login url is located on http:///phpmyadmin. So, The main reason of change phpmyadmin login url in ubuntu apache aws server to prevent attackers attack.

How to Secure phpMyAdmin with Apache 2 on Ubuntu 18.04

Now, you can see the following two solutions to secure PHPMyAdmin login access in ubuntu apache 2 on aws server.

Solution 1 – Change PhpMyAdmin Login Page URL in Apache 2 Ubuntu

In ubuntu, default phpmyadmin login url can be located at apache configuration that name apache.conf.

So, you can use sudo nano /etc/phpmyadmin/apache.conf command to open apache.conf file:

sudo nano /etc/phpmyadmin/apache.conf

Then, you can add the following line with your phpmyadmin url:

Alias /my-phpmyadmin /usr/share/phpmyadmin

Note that, you can replace my-phpmyadmin to your own word.

Now you need to restart apache 2 web server. So type the following command on your ssh terminal to restart apache service:

sudo service apache2 restart

Solution 2 – Secure PHPMyAdmin Access in ubuntu aws

Now, you can add extra security layer for access phpmyadmin login in ubuntu apache 2 on aws web server.

So, first of all, you need to create a password file with users using the htpasswd tool that comes with the Apache package. So open your ssh terminal and type the following command:

sudo htpasswd -c /etc/phpmyadmin/.htpasswd

Note that, You can choose any username instance of myAdmin with above command.

After that, one prompt box appear with password and confirm password. So, you can add password and confirm password here.

New password:
Re-type new password:
Adding password for user myAdmin

Now, you need to configure Apache 2 to password protect the phpMyAdmin directory and use the .htpasswd file.

So, open your ssh terminal and type the below command to open the phpmyadmin.conf file.

sudo nano /etc/apache2/conf-available/phpmyadmin.conf

Then add the following lines in phpmyadmin.conf file and save it:

Options  +FollowSymLinks +Multiviews +Indexes  ## edit this line
DirectoryIndex index.php

AllowOverride None
AuthType basic
AuthName "Authentication Required"
AuthUserFile /etc/phpmyadmin/.htpasswd
Require valid-user

Finally, restart apache web server by using the following command:

sudo service apache2 restart

#aws #mysql #ubuntu #how to change and secure default phpmyadmin login url ubuntu #how to change phpmyadmin login url ubuntu 18.04 #how to secure phpmyadmin access #how to secure phpmyadmin access with apache on ubuntu 18.04

Shawn  Pieterse

Shawn Pieterse

1625737013

Install ProjectSend on Ubuntu 20.04 with Nginx (LEMP Stack)

Step 1: Download ProjectSend on Ubuntu 20.04
Log into your Ubuntu 20.04 server. Then download the ProjectSend zip archive onto your server. The latest stable version is r1295 at time of this writing. You may need to change the version number. 
Step 2: Create a Database and User for ProjectSend in MariaDB Database Server
Log into MariaDB database server with the following command.
Step 3: Configure ProjectSend
Step 4: Create a Nginx Config File for ProjectSend
Step 5: Install and Enable PHP Modules
Step 6: Enable HTTPS
Now you can access the ProjectSend web install wizard in your web browser by entering the domain name for your ProjectSend installation.
Step 7: Finish the Installation in your Web Browser

#ubuntu #ubuntu server #projectsend #ubuntu 20.04 #nginx

Jolie  Reichert

Jolie Reichert

1595557200

Secure Apache with Let's Encrypt on Ubuntu 20.04

Let’s Encrypt is a certificate authority created by the Internet Security Research Group (ISRG). It provides free SSL certificates via a fully automated process designed to eliminate manual certificate creation, validation, installation, and renewal.

Certificates issued by Let’s Encrypt are valid for 90 days from the issue date and trusted by all major browsers today.

This tutorial explains how to install a free Let’s Encrypt SSL certificate on Ubuntu 20.04, running Apache as a web server. We’ll also show how to configure Apache to use the SSL certificate and enable HTTP/2.

Prerequisites

Ensure the following prerequisites are met before you continue:

  • Logged in as root or user with sudo privileges .
  • The domain for which you want to obtain the SSL certificate must point to your public server IP. We’ll use example.com.
  • Apache installed .

Installing Certbot

We’ll use certbot to obtain the certificate. It is a command-line tool that automates the tasks for obtaining and renewing Let’s Encrypt SSL certificates.

The certbot package is included in the default Ubuntu repositories. Update the packages list and install certbot using the following commands:

sudo apt update
sudo apt install certbot

#ubuntu 20.04 #ubuntu #encrypt #apache

Hal  Sauer

Hal Sauer

1591288080

How To Setup Let's Encrypt SSL Certificate With Nginx on Ubuntu 20.04

Let’s Encrypt is a widely known certificate authority that provides free SSL certificates for web sites. It was launched in April 2016. Let’s Encrypt uses client software (certbot) that automates the process of certificate creation, validation, signing, implementation, and renewal of certificates.
Currently, Apache, Nginx, Plex, and Haproxy are supported for the automated process.

#ubuntu #certbox #letsencrypt #nginx #ssl #ubuntu 20.04

Lenora  Hauck

Lenora Hauck

1593507060

How to Install Nginx, MySQL & PHP (LEMP) on Ubuntu 20.04

A combination of Linux, Nginx, MySQL, and PHP is known as LEMP stack is the popular web hosting environment for the PHP based application. Here Linux is an operating system, Nginx is the popular web server, MySQL is relational database management system used for storing data and PHP is the widely used programming language.

This article will help you to install Nginx, MySQL 8.0 and PHP 7.4 on Ubuntu Linux system. Let’s begin with the installation of LEMP stack your Ubuntu machine.

Prerequisites

Before beginning the LEMP installation on Ubuntu:

  • A running Ubuntu 20.04 system
  • Login as sudo proviledged account on your system. To create it follow initial server setup tutorial.
  • A domain/subdomain name pointed to your server

#ubuntu #lemp #lemp on ubuntu 20.04 #nginx #setup lemp on ubuntu