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?

“npm start” Doesn’t Work?

If you just cloned a project that uses npm start to compile and run itself, and it doesn’t run, but throws an error about lite-server (Or something like that), being not available, try installing following NodeJS packages globally.

සෙංකොට්ටං: කියන තරං සුවඳ නැත

ස්පොයිලර්ස් තියෙන්න පුළුවං නිසා පොත නොකියෙව්ව කට්ටිය මේ ලිපිය නොකියව ඉන්නව නං හොඳයි. පහුගිය කාලයේ මිනිස්සු පිස්සුවෙං වගේ හොඳ කියපු පොතක් තමයි “සෙංකොට්ටං” කියන්නෙ. අන්තර්ජාලේ තැං තැං වල සිද්ද වෙච්ච කතාවල හැටියට මේක ඇවිල්ලා “පට්ට” පොතක්. වෙන පොත් මාලාවක් කියවන නිසා මේක මිලදීගෙන කියවන්න උනන්‍දුවක් නොතිබ්බට, මේ ළඟදි ඔෆිස් එකේ ලොක්කා මේක මිලදී ගත්තු නිසා […]

How to freely and properly store your photos in Google Drive

It has been quite a time since Google allowed us to store our photos in Google Photos for free. They recently increased the size of the photos that can be stored for free to 16 Mega Pixels. When they announced that, I decided to back up all my photos to Google Photos. The best thing […]

I installed Windows 10: It’s good, but I’ll use Ubuntu

As with many in Sri Lanka, my first OS was a pirated copy of Windows. It was a copy of Windows XP and like most, I still remember it’s product key by heart (QW4HD-DQCRG-HM64M-6GJRK-8k83T. I didn’t Google this, I swear.). I know many others who perfectly remember this exact product key. But soon after I […]