Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How To Start A Linux Server Running 100%


Ashley
 Share

Recommended Posts

OK. So I had a lot of trouble setting up all the components and getting the server .exe running on my VPS. But with a lot of hard work and determination, I found a way to do it. And because I couldn't find a tutorial on how to do it, I’ll make one for you now.

I will be using Ubuntu 12 server for this tutorial. So re-install it now. If your looking for a cheap host £9 a month for a 1GB ram with 45GB raid, as well as a 1TB bandwidth. You can’t really go wrong. [More info there!](”http://getkvm.com/getovz/”)

Anyways let’s get started. We will need to start off make a VNC connection to your server. Make sure you have Putty!

Now connect. If you don’t know how to, then Read [this.](”http://www.drw.net/putty/”)

Ok. Now once you have connected. We need to do an update. So just run

```
sudo apt-get update
```
And life should seem meaning full. No!? Ok, well something should have happened. Now what we need to do is set up our VNC server. First of we need to install it onto our VPS. So run the command

```
sudo apt-get install ubuntu-desktop gdm vnc4server
```

After that has installed, you will need to make sure the server can run without any problems! So just type in

```
vncserver :1
```
And a set up type thing should be happening! Good. If not, just post it down below. I’ll try and help (I’m not good at help much though!)

Ok. So it’s all good. Now we want to just stop that server for a moment. Don’t know why, just do. Stop asking questions!!! Run

```
vncserver -kill :1
```
Now we need to check that something is somewhere. So just run

```
vi /root/.vnc/xstartup
```
And you should have something that looks like

```
#!/bin/bash

# Uncomment the following two lines for normal desktop:

# unset SESSION_MANAGER

# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey

vncconfig -iconic &

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

unset SESSION_MANAGER

x-window-manager &
```
Press ESC and press : W,Q and Enter. Should return you, w is to save, q is to quit. Both of them like that saves and quits

Look good? YAY. Now we just need to set up the VNC server again.

```
vncserver :1
```
We also need to do something else now O.o! (Only just remembered, was about to push publish :LLLL)

We need to install an x-server. I think. I’m not to sure, and I don’t really care. but just to be safe.

```
sudo apt-get install xserver-xorg
```
that’s it

OK. Connecting to the server. Just exit your putty now. You won’t be needing it (I don’t think)!

PART 2 (CONNECTING)

ok, let’s get a VNC viewer. The one [I use is](”http://www.realvnc.c...ownload/viewer/”) And I haven’t tried any others because it does its job. ok. I’m presuming you know how to install that. now let’s open that up and you should be greeted with a little box. In the connect box. Put in your server hostname or IP. And then: 1 so, for e.g. :

```
123.04.54.192:1 (Dont use this one. your an idiot if you do ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png))
```

Now click connect and you should be connected with your front user panel. (If there’s something really important I missed out. just say that something didn’t work. I’m only going on memory here )

Ok. So we can see a CMD in the middle. Good. Now we can do all the stuff here. So to start off we need to install wine. So here is part 3

PART 3 (installing WINE)

http://linuxforums.o…p?topic=10003.0 this link works. Do this. On to PART 4!!!!

NO WAIT. still a little more to do! We now need to install winetricks. because Eclipse was written in VB 6\. We need some of its DLL and OXC files! so let’s get started. Run this

[codewget http://winetricks.org/winetricks[/code]

then this

```
chmod +x winetricks
```
then some of this

```
chmod +x winetricks
```
And a little bit of this

```
sudo cp winetricks /usr/local/bin
```
then finally a little bit of this Cheese!

```
sh winetricks corefonts vcrun6
```
A folder should appear. Now navigate to your sys32 folder. (Mine is /proc/10330/cwd/system32) and download this file. Just follow the command down below. Line at a time. So line then enter. Copy and paste next line and enter!

```
cd /proc/10330/cwd/system32

wget http://www.freemmorpgmaker.com/files/imagehost/pics/090a6c53223dc14fcb3ab3fc4385ca1a.zip
```
Then go back to the folder view. Locate the Zip file. Open it up and drag all the items to the system 32 folder. NOW were nearly done. (YES FINALY!!!)

PART …5??? (Server Set Up)

Because we only need the server for this, we will use a package I put together. To save us some time and space . Ok. Do this command

```
cd /

mkdir server

cd server

wget http://www.freemmorpgmaker.com/files/imagehost/pics/f80ddeeaaeee493e0527cf6b3b235845.zip

unzip f80ddeeaaeee493e0527cf6b3b235845.zip

wine server.exe
```

And there you have it. Your server is running. If it didn’t work properly. I’m very sorry :L just leave a reply down below. And if I helped, just give me a comment. Always nice to be shown a little love xD

thank you so much to

**[Abhi2011](http://www.touchofdeathforums.com/community/index.php?/user/70687-abhi2011/)**

For revising the script and making it readable ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
Link to comment
Share on other sites

> Yay ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
>
> I don't have a Linux VPS. (Infact not even a VPS)
>
> But if a few ppl could get this to work a sticky should be deserved.

thank you. Allot of typos. though. Sorry for bad english, im also a fast typer and i never look up. Could someone proof read this for me please? It would mean allot ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
Link to comment
Share on other sites

Oh well you beat me to it XD did this aleady 1mounth ago

I didn t use winetricks though ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)

Anyway it s a little bit unstable in a mounth i got one error saying out of sockets…

Nevertheless I have 4 devs all the time on it and it never crashed so it s worth the trouble.

And btw do you have any idea how to start server.exe on startup?
Link to comment
Share on other sites

Cool stuff man fun tutorial to follow. It says they are out of that package I can guess why. Hows the connection speed, not sure where these are located but I had one in England and it was just horrible. I use [https://clients.thru…cart.php?gid=24](https://clients.thrustvps.com/cart.php?gid=24) they have servers starting at 8 USD per month. I got exact specs as you for 16 USD per month but I am running Server 2008\. Setting up one of these server was a breeze.
Link to comment
Share on other sites

> Cool stuff man fun tutorial to follow. It says they are out of that package I can guess why. Hows the connection speed, not sure where these are located but I had one in England and it was just horrible. I use [https://clients.thru…cart.php?gid=24](https://clients.thrustvps.com/cart.php?gid=24) they have servers starting at 8 USD per month. I got exact specs as you for 16 USD per month but I am running Server 2008\. Setting up one of these server was a breeze.

the problem is With server 2008 is that it takes up alot more processing and memory then needed. Although there is a lot to set up on a Linux - its worth it. The connection is alright for me. Im not to sure where it is hosted (think its Denmark) but its good. the connection speed for downloading isnt that fast, but it isn't slow. It dose take some time downloading 1GB files though, But I can be patient. ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
Link to comment
Share on other sites

> Oh well you beat me to it XD did this aleady 1mounth ago
>
> I didn t use winetricks though ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)
>
> Anyway it s a little bit unstable in a mounth i got one error saying out of sockets…
>
> Nevertheless I have 4 devs all the time on it and it never crashed so it s worth the trouble.
>
> And btw do you have any idea how to start server.exe on startup?

you cold try this. http://www.reviewsaurus.com/blogging-tips/statup-program-load-ubuntu-feisty-fawn/
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...