Web Development,

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Web Development,

Post by dejai »

I was watching your latest video blog and I noticed that some of your data was lost. I run a LAMP Ubuntu server on my old computer, I would really recommend this. I have configured privileges using sudo chmod a+w [PATH] so that users on the network can read and write to the server. I have installed some upload scripts and some chat programs so I can link files to other users on my intranet and they can do the same to me. At the end of the day if I have any important information I can use FileZilla or the upload scripts to place it on my localhost server. Might be worth thinking about.

oh and I updated my website.. www.dejaigames.com

That is if you have a spare computer :P
DJ Yoshi
Game Developer
Game Developer
Posts: 1021
Joined: Wed Mar 02, 2005 9:12 pm
Location: Madison, AL

Post by DJ Yoshi »

Actually, it's easier just to get external hosting so they can handle the bandwidth and space issues, along with all the networking conflicts, instead of wasting time learning linux to make a decent webserver when we could spend our time better working on the game.
There is no signature.
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Post by dejai »

But $$
DJ Yoshi
Game Developer
Game Developer
Posts: 1021
Joined: Wed Mar 02, 2005 9:12 pm
Location: Madison, AL

Post by DJ Yoshi »

We're not that cheap?
There is no signature.
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Post by dejai »

?? :evil:
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

Not much more $$ than is being paid now.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Post by Arce »

So....Your site made with WordPress?

Is that a Wysiwyg?
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

Why do you say that, Arce?
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Post by dejai »

My main website is made with Drupal 6.x, I have 5 CMS running on my server. Drupal for (dejaigames.com and projects.dejaigames.com), Wordpress for (devtalk.dejaigames.com), SMF for the forums (dejaigames.com/forum), tikiwiki for (dejaigames.com/wiki) and PHPNUke for (irrlicht.dejaigames.com). Where did you get the idea I used drupal when at the top of the page in big letters it has DRUPAL and the drupal logo, I leave it up there because it doesn't bother me but I could always just delete that :D

Largely it is a Wysiwyg but it varys from other systems such as Joomla and wordpress because it has a really versitile, open, modular system that really lets you configure the CMS in any way you like. Drupal is used for the Ubuntu Homepage.. Look it up some time.

P.S coding your own modules can be fun :D

Now onto Dj Yoshi:

Making a server is not a time consuming activitiy by any means.

Step 1:
Install Ubuntu Server Edition. This comes with the Linux Apache MySql and Php. This means your server is already configured in your root/var/www directory

Step 2:
If you then go into CMD and move to the directory and type sudo CHMOD 755 [FILENAME] , you can change the write privs 755 is just an example.

Step 3:
Grab some niffty little scripts for uploading files to the server, or set up an FTP server ontop of this, which can easily be done with a program called "vsftpd".

Step 4:
Upload stuff to the server via FileZilla.

Sorry if you think all this is way over your head but to tell you the truth I would rather spend about 30 minutes - 2 Hours (if you are inexperienced) to install all this on a cheap box then fork out $6 dollars a month for a dedicated server. Another nice thing is the box doesn't even have to be on all the time because you won't always be using it and you can use some network commands to reboot your pc any time you want :D

Pricing for a server may be different I was just going of siteground.com's deals.. As an average.

Anyway thats all i have to say on linux :D
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Post by Arce »

Awesome, I'll keep that in mind.

As for the 'over your head thing', no, I'm quite confident that DJ is capable of mounting a server. Especially considering that he'll soon have one completely dedicated to erotic lesbian pornagrophy.
Last edited by Arce on Thu Apr 24, 2008 4:33 pm, edited 1 time in total.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

What about bandwidth, speed (you're not a business), licensing (it's against the license agreements of most ISPs for you to host a server on their service with normal home broadband), and the cost of the box? I mean, if you're looking at even just an unreasonably low figure of $120 for a "cheap box", at the $6 per mo. figure, you wouldn't recoup the costs for 20 months (over a year and a half). Plus the cost of any additional bandwidth you'd need installed to handle traffic, if you needed it, and the cost that you put on your time and any necessary repairs.

Eh. I'd rather pay somebody else to bother, at that rate of return (obviously). But I won't deny that it is nice to be able to change stuff by pushing save and skipping the upload step, haha (I ran a webserver off my home computer for a while for private use).
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
DJ Yoshi
Game Developer
Game Developer
Posts: 1021
Joined: Wed Mar 02, 2005 9:12 pm
Location: Madison, AL

Post by DJ Yoshi »

dejai wrote:words
Uh, that's assuming all your hardware's compatible, you know how to network in linux, it's already configured to handle the loads you're going to be taking if the site gets big suddenly (it's cool if your name gets out there, but meaningless if the site goes down because there's >20 visitors hitting the page at once), assuming you know how to WORK linux if all of this fails, and then want to/have the time to configure and mess with it all to get it perfect.

Not to mention security.

Yeah, I'd rather pay 5-10 bucks a month to have someone else do that for me.
There is no signature.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

In short, yeah, nice, but just not what we need, I suppose :)
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
dejai
Chaos Rift Junior
Chaos Rift Junior
Posts: 207
Joined: Fri Apr 11, 2008 8:44 pm

Post by dejai »

I was talking about a home INTRANET server not a WEB SERVER.

1. You should have an old box lying around.
2. Linux supports more hardware than windows so I believe it should work, especially older hardware (And this is true :D It supports more hardware not necessarily the same hardware!)
3. If your using an old box your making it do something better than it lying about... It doesn't have to be anything special GNU/Linux can run of your digital wrist watch for Christ sakes.
4. If its an old box it probably doesn't have a wireless card no matter Linux works better with wired connections.
5. If it is a wireless card check if its supported at NDISWrapper's website. Then its only 4 steps to getting your wireless card to work.
6. Why the hell would you need security if its on a wired connection and only broadcasting to your local network.
7. I don't think I mentioned anything about an internet server anywhere in my post sorry if I did.
8. If you don't know what INTRANET means sigh.. (tip: goto your web browser and type 192.168.0.1)

Ok so with a static IP you could easily access the INTRANET server from a INTERNAL IP such as 192.168.1.1 and you wouldn't have to worry about security unless someone can hack your ISP and come "up" the cable...

Read the post before you post please :D
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Post by Arce »

Read the post before you post please
Good idea, though I may honestly say that your scattered ideas probably confused some people. ;P

Your randomly saying
oh and I updated my website.. www.dejaigames.com
followed by
That is if you have a spare computer :P
probably gave us the impression that you're just another moron trying to somehow impress us by saying "Lookie what I've done!" and thus making us more susceptible to the idea that perhaps 'intranet' was a typo by a clueless nub in this statement:
I have installed some upload scripts and some chat programs so I can link files to other users on my intranet and they can do the same to me.
Also, this misconception was perhaps heightened by the fact that almost nobody on the devteam live together (some aren't even in the same country) so logically we wouldn't think that you're suggesting that we dedicate a server to broadcasting to our LAN when we're not even on the same LAN; especially since there was no mention of a VPN, we've already stated that we use TortoiseSVN, and because we've recently been discussing Webhosting in other topics.

Furthermore, when DJ Yoshi responded to your original post by saying
Actually, it's easier just to get external hosting so they can handle the bandwidth and space issues, along with all the networking conflicts, instead of wasting time learning linux to make a decent webserver when we could spend our time better working on the game.
and you did not correct him, but responded with the counter argument over money, we assumed that our previous assumption about your idiosyncrasy was correct.

I personally would say that they must have been some valid assumptions to draw, as 3 people presented with the same situation came to the same ones. :wink:
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
Post Reply