HTTPS, SSL and Nginx

Say you want to run https port on nginx using a self signed SSL Certificate, this article summarized the steps. First we create the SSL Key, CSR (Certificate Signing Request) and CRT (SSL Certificate) and Configure nginx to answer the request from SSL port.

Read More »

Posted in Web Servers | Tagged , , | Leave a comment

Indonesian CentOS 5.2 Repo (IIX and openIXP)

For Indonesian CentOS user who search for fast IIX (Local) Repo to update ver.5.2 including x86_64, you could point your repo to http://mirror.lintaswave.net.id/centos/ .

Update

This repo is no longer available, use http://mirror.biz.net.id/ it is the best one available right now (IMO).

Posted in Etcetera | Tagged , , | Leave a comment

Nginx, MySQL, PHP in CentOS 5.1 (x86_64)

Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Written by Igor Sysoev in 2005, still in beta, Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption, taken from the wiki. I will not go deeper on the subject of nginx as a preferrable alteranate HTTP Server asides from Apache, since I don’t have a lot of knowledge on the subject.

This article intends to show you a step by step tutorial on how to install (and do basic configuration) for Nginx powered Web Sites with PHP (through php-fpm) and MySQL Enabled in CentOS 5.1 (x86_64) Virtual Box. The Box is from Magnet VPS (Entry with 128MB Dedicated RAM, 256MB SWAP Space and 5GB HDD Space).

Read More »

Posted in Web Database, Web Programming, Web Servers | Tagged , , | 4 Comments

Installation and Basic Configuration Apache, MySQL and PHP on CentOS 5.1 (64 bit)

These are the simple steps to Install and do basic configuration Apache 2.2.3, MySQL 5.0.22 and PHP on a base install CentOS 5.1 x86_64.

Read More »

Posted in Web Database, Web Programming, Web Servers | Tagged , , | Leave a comment

Adding SWAP Space On-The-Fly

If somehow you need to add SWAP space in your Linux Box without having to reboot your Box, you could follow these steps. Basically create an Image in your HDD, format it to swap file system, and add it to your swap space, optionally you could add it to your fstab, so it still there during a reboot.

Build the Image

Build the image using dd command, give the size according to your needs. This example shows a 512MB image file.

dd if=/dev/zero of=/path/to/directory/swap.image oflag=direct bs=1M count=512

Format the Image

Format the image to SWAP file type.

mkswap  /direktori/swap.image

Activate Your Newly Created SWAP Image

mkswap  /path/to/directory/swap.image

Configure fstab

If you want the SWAP survive reboot.

vi /etc/fstab

### add the line similar to

/path/to/directory/swap.image swap                    swap    defaults        0 0

Posted in Nix Basics | 1 Comment
  • Magnet Hosting, Hosting, VPS dan Server Indonesia
  • Categories

  • Archives