Error message

  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/mindpiss/mindpiss.com/modules/book/book.module).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/mindpiss/mindpiss.com/includes/common.inc).

My first unmanaged Virtual Server - II. Apache installation

first off ... lets install Apache, but first enter your VPS IP address into your browser and try to load the page. It should give you an 'Unable to connect' message as no server is installed there yet to serve us any pages.

So, lets get apache:

# apt-get install apache2

and lets enable mod-rewrite

# a2enmod rewrite

and now we need to restart for it to work:

# /etc/init.d/apache2 restart

Now reload your VPS IP and if everything went well, you should see a page being served: 'It Works! ...', which is the content of your /var/www/index.html file.