Fix USB Drives after Using them as Startup Disks

A problem I have encountered every time I use a USB drive as a Startup Disk, is that their block size get changed, and even gparted reports that it can’t fix the that. The following command will fix that.

Assigning SSL using Let’s Encrypt to Websites Running in LXCs

Let’s Encrypt is a great service that provide SSL Certificates free of charge. It intends to make more data transferred through the WWW secure.

Hosting Multiple Applications in a Server, with Linux Containers (LXC)

Using Linux Containers (LXC) is a good way to host multiple applications in a single server with separation of resources and applications.

Set up SSH Access into LXCs

By default, it’s not possible to SSH into LXCs from outside, but we can accomplish that by setting up a SSH server in LXC and some port forwarding magic.

How to Auto Start LXCs when Host Starts

LXCs don’t normally auto start when the host server starts. We have to manually configure them to auto start.

How to Point a Domain to LXC using NGINX in Host

If you have a website or a web application in a LXC, you need a way to let people access it. We can do it by assigning a domain to the LXC.

Assign Static Internal IP Addresses to LXC

LXC assigns random internal IP addresses to Containers by default. But it can be hard to refer to them that way. A good practice is to set static IPs.

How to Create Linux Containers in Ubuntu

Here’s how to do it:

Host Laravel in Apache Shared Hosting

Want to host a Laravel application in a shared hosting server, but can’t figure out how to point the domain to the public directory?

Fix Ubuntu Locales Error

Just installed Ubuntu, ran apt-get update and apt-get upgrade to encounter a “perl: warning: Setting locale failed.” error?