bannkreis.de

Faint idea to published website. An OpenWGA Tutorial, Part 3

screenshot_04.png

Let's move on to the last part of this little tutorial, where we assume that you have the dream website you always desired finished and ready inside OpenWGA developer studio. It is set up, designed and filled with some initial content, right there on your local harddrive. But of course it should not stay there.

Now we want to see how we push this website to some live server and organize its publishing whereabouts right to the point where your internet domain of choice serves your new website.

But first we should talk about what that server should be.

What server?

What kind of server machine do we need? From an operating system perspective the OpenWGA server is simply some Java process, which is a regular, "first class" program process just like anything you run on your computer. 

That is why some webspace from any hoster with the ability to publish PHP sites will not do. There are many PHP-based Content Management Systems out there but OpenWGA is not one of them. I will not go into the discussion here if that generally is a good thing (what I believe is true) or not. It certainly is a bad thing if your only chance to publish a CMS is via PHP. Sorry, wrong choice, and also sorry for pointing this out that late...

What you need is what is called a "dedicated server". This is any physical or virtual computer running an operating system. You can just rent a virtual host from a web hosting company just like you can rent webspace. Check Host Europe for example. Or check 1deluxe who host the machine running this blog and use to have a bit lower prices but are also quite smaller and appear less "enterprisey".

Regarding the "hardware" the only field where OpenWGA can be demanding is RAM. I would recommend to use at least 1 GB of "real" RAM memory. The rest does not matter that much.

What you need also is full administrative access. As should come to no suprise i recommend Linux for an operating system, where this is called "full root access".

In this tutorial I will assume that you have a dedicated server setup with a naked Debian Squeeze, which is a popular and widely available Linux distribution for server machines. You might also want to use Ubuntu Server (Version 10.04 or above) where the package names might be a bit different.

I will also assume that you know how to get into the command line console of your server. Sorry, explaining Linux from scratch is very much beyond the scope of this tutorial. Maybe you know some Linux crack who is willing to assist you for the price of some free pizza.

Let's do server setup!

Ok, I can't describe Linux from scratch here, but I'm going to explain some basics nevertheless. Sorry cracks for being slow, have some pizza meanwhile.

So now you are on the command line console of your Debian server and have root access. The Debian system is "raw", i.e. it is in delivery status. Most hoster don't let you install your hosts OS but provide it with a basic setup so you cannot decide the services which you need via installer. You need to install them yourself.

Your best friend now is the command "apt-get install" which is able to install predefined software packages to your system with a single command. First thing I do is to install a text editor which is suitable for human beings. Little "nano" should do for what we're up to. Enter:

apt-get install nano

Hit return and your server will download the software "nano" and install it to be instantly ready. Neat, huh?

First we need to tell the system where to get the OpenWGA server which is not in the Debian repositories. Open the repository list file "sources.list" in nano text editor:

nano /etc/apt/sources.list

In the text editor go to the bottom of the file and add this on a new line:

deb http://download.openwga.com/deb squeeze main

Hit Ctrl+O and Enter to save changes and Ctrl+X to exit nano editor.

Additionally we must tell Linux to "trust" the new OpenWGA repository by importing its signature key as trusted key. Do this with the following command combination:

wget -O- "http://download.openwga.com/deb/pub.asc" | apt-key add -

Now we must tell Linux to again fetch information of available software packages:

apt-get update

Now we are ready to install the necessary software in one big step. We are going to install the MySQL database server, as this is the most frequently used and most easy to setup, along with OpenWGA and a Java MySQL driver so both server softwares can communicate:

apt-get install mysql-server openwga-driver-mysql openwga6-ce-base

After hitting enter you will notice that your host wants to download loads more packages than you have entered for installation. These are numerous dependencies necessary for the chosen packages to run. That's ok and necessary. So confirm everything that needs to be comfirmed and watch your server system while it downloads the necessary bits and finally installs everything.

While installing the MySQL server you will be prompted to determine a password for the MySQL root user. Do so and be sure you will remember it, as you will need it not much later in this tutorial.

After everything is finished and the console returns to the command prompt you are one giant step closer to having your own OpenWGA live server, as everything necessary is now installed and ready on your machine.


Weiter zur nächsten Seite ...

Bitte geben Sie hier Ihren Kommentar ein:

Verwende Markdown Syntax

Autor

About

Last comments

  • Oliver:
    Als Antwort auf "Anonym" vom 27. Dezember 2015 (..
  • anonym:
    Habbo als abzocke zu deklarieren finde ich schon..
  • anonym:
    Wenn du es dir leisten kannst und es dich glückl..
  • Jebote:
    ja sicher kommen alle auf diesen 5 jahre alten a..
  • Micha:
    @Ingo, na klar. Alles legitim und voll ok ;-) Mu..

Really currently consuming

Links

  • Mehr Whisky
  • Ich@last.fm
  • Ich@Twitter
  • Dina
  • Julia
  • Der Meister (nebst Frau Meister)
  • Rockender Webworker
  • Irgendwas mit Fischen