Sign in

Software Engineer, Web Developer

Save your Medium posts into your Laravel Application

Before we start, We need to have Integration tokens from your account. To enable it, we must request access by emailing yourfriends@medium.com.

Once you have your Integration token to navigate it go to settings page under Membership.


Speed up SSH connection in your Linux Server

Have you ever experience lag when you’re connecting to your Linux server using ssh?

In this simple step you’ll learn how to speed up SSH connection in your Linux server.

1. Enable IPv4 only

Either for the given SSH client

$ ssh -4 login@hostname

Or globally in ssh client conffiguration in /etc/ssh/ssh_config

In youretc/ssh/ssh_configfind and change AddressFamily to inet and unhash it if is in hash,

$ sudo nano /etc/ssh/ssh_configAddressFamily inet

2. Disable DNS lookup on the server

In yoursshd_configfind and change UseDNS to no if value is yes and unhash it if is in hash,

$ sudo nano /etc/ssh/sshd_config

# Disable DNS lookups
UseDNS no

That’s All, Try to…


How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04)

Part 3: Set up now the LEMP stack (Linux, Nginx, MySQL, PHP).

In the last part we set up our LEMP stack (Linux, Nginx, MySQL, PHP). In this fourth part (The last part) of How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04). We will now deploy it in our server.

Let’s Update our apt again.

$ sudo apt update

Install some package that we need, to install Laravel

$ sudo apt install curl php-cli php-mbstring git unzip
// Terminal will ask you Do you want to continue? [Y/n]: Y,
// Type y or Y and enter, wait to install.

Install Composer

$ curl -sS https://getcomposer.org/installer …


How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04)

Part 2: Set up our server

On the last part we set up our server and new user for security purposes. For this third part of How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04), we will set up now the LEMP stack (Linux, Nginx, MySQL, PHP).

Some of this story is based on this link.

Let’s update first our apt

$ sudo apt update

After updating your apt in your server let’s install Nginx.

$ sudo apt install nginx
// Terminal will ask you Do you want to continue? …


How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04)

Part 1: Register in DigitalOcean

In the last part we set up our Account in DigitalOcean and we created new project and droplet, in this second part of How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04) we will set up now our server.

Note: DigitalOcean will send your password after you create a new droplet, copy and use it to connect in your server.

First click your IP address to copy


How to install LEMP stack and deploy your Laravel application in DigitalOcean (Ubuntu 18.04)

In this story, I’m gonna show you step by step on how to set up your server in DigitalOcean using Ubuntu 18.04 and deploy your Laravel application.

First we need to Register in DigitalOcean. Use the link below to get a free credit $100, 60-days for new account.

After you set up your account, let’s set up a new project and create your first droplet.

First step:

Arnolfo Federis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store