BleepingComputer.com: Linux Web Sever

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Linux Web Sever

#1 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 11 November 2008 - 04:26 AM

I'm thinking of creating a linux web server. I am currently downloading Fedora v9, mySQL and apache. next problem is, how do i set it all up, or even are these the right versions to use? any help would be appreciated. Thanks in advance.

Brad
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#2 User is offline   raw 

  • Bleeping Hacker
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,299
  • Joined: 14-April 04
  • Gender:Male
  • Location:Texas

Posted 11 November 2008 - 06:44 PM

Hope this helps. It's not a Fedora how-to so you can
either download Ubuntu or just use the guide for configuring
your system.
http://www.bleepingcomputer.com/forums/topic158132.html
Posted Image
Posted ImageHOSTFix only works on XP,no longer maintained

#3 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 11 November 2008 - 10:53 PM

Thanks Bleeping Hacker.

This worked straight off the bat. Thanks for pointing me in the right direction.

I ended up using the Ubuntu Server CD.

By the way, love the GIF in your signature, lol

Brad
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#4 User is offline   raw 

  • Bleeping Hacker
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,299
  • Joined: 14-April 04
  • Gender:Male
  • Location:Texas

Posted 12 November 2008 - 12:06 AM

Quote

Thanks Bleeping Hacker.

"raw" will do just fine.
Glad I could help. :thumbsup:
Posted Image
Posted ImageHOSTFix only works on XP,no longer maintained

#5 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 12 November 2008 - 09:28 PM

View Postraw, on Nov 12 2008, 04:06 PM, said:

"raw" will do just fine.


Sorry Raw... didn't see your name there... I must be blind...


Cheers,

Brad
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#6 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 13 November 2008 - 10:08 PM

Although i am still using the method described above, i have recently found that fedora comes with apache and mySQL which, with a bit of configuration and a few add ons, is all you need for a simple web server, with a GUI from the word go!

EDIT: If you enjoy FULL control over your systems though, i'd go with the method described above...

EDIT: Does anyone know where i can obtain a list of commands used with ubuntu 8.04 server i386


Cheers,

Brad

This post has been edited by KamakaZ: 13 November 2008 - 10:22 PM

If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#7 User is offline   raw 

  • Bleeping Hacker
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,299
  • Joined: 14-April 04
  • Gender:Male
  • Location:Texas

Posted 14 November 2008 - 07:26 PM

View PostKamakaZ, on Nov 13 2008, 09:08 PM, said:

EDIT: Does anyone know where i can obtain a list of commands used with ubuntu 8.04 server i386


Cheers,

Brad

Do you mean all the programs?
http://www.pixelbeat.org/cmdline.html
http://www.tuxfiles.org/linuxhelp/linuxcommands.html
http://www.howtoforge.com/useful_linux_commands
Posted Image
Posted ImageHOSTFix only works on XP,no longer maintained

#8 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 16 November 2008 - 06:51 PM

Quote




not all the programs, more like the first link, thanks again Raw!
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#9 User is offline   altweb 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 17-November 08

Posted 18 November 2008 - 12:10 AM

There is a piece of software called xampp that takes the headache out of all the setup for apache, mysql, php and everthing else web server realted. I have used it on linux and windows environments. Very easy to use and you can customize after the initial install.

Here is the link: xampp link

#10 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 18 November 2008 - 09:51 PM

Thanks altweb,

Just installing now, will let you know how it goes...
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#11 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 19 November 2008 - 12:23 AM

Got it installed looks nice, only problem i have is changing the website from the default to say one i've put in there (wordpress basic install)
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

#12 User is offline   altweb 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 2
  • Joined: 17-November 08

Posted 19 November 2008 - 11:28 PM

It can be done two different ways. I host multiple test sites on my home web server, so I went with option number 1. Option 2 would work best if you have a single site that you want to run.

1. Create a new folder in the htdocs directory and copy all files and folders into this new folder. Then create a second new folder for your wordpress install and put all wordpress files in this folder. My htdocs folder looks like:

htdocs
--phpmyadmin
--site1
--site2
--xampp_original

When I point a browser at http: //localhost I get a simple screen that allows me to select which site I would like to use. Xampp_original would bring up the default xampp screens (xampp_original is the folder created above). I left phpmyadmin at the root level because I use it to manage my mysql databases.

2. Create a new folder holding your wordpress install in the htdocs folder. Then edit the httpd.conf file on your linux install to point to this new subfolder as the root web document foler. This file is normally stored in /opt/lampp/apache/conf/httpd.conf for linus xampp installs. Look for DocumentRoot and change it to
DocumentRoot "/opt/lampp/htdocs/wordpressfolder"

This is all you should need to change if you create the new wordpress folder in the current htdocs folder.

After the change(s), restart apache and should be good to go. This worked great for my drupal installs.

#13 User is offline   KamakaZ 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 557
  • Joined: 26-August 08
  • Gender:Male
  • Location:Victoria

Posted 20 November 2008 - 07:22 AM

ok i've got it al set up... i have decided to go with the xampp option, for it's simplicity... trouble i've got is bind9, i can get to the website internally but not externally, i don't have a Name Server registered, how would i do this? Do i need to do this? since there was an option for windows with xampp, i have gone to windows XP pro. (maybe thread should be moved?) but i think most linux users would have more of a chance of helping me with bind9 problem... i think i have to edit the allow list... this is the contents of my named.conf file :

options {
directory "c:\named\zones";
allow-transfer { none; };
recursion yes;
allow-recursion { 192.168.1.0/24; };
};


zone "ThisIsMyDomainName.com" IN {
type master;
file "db.ThisIsMyDomainName.com.txt";
allow-transfer { none; };
};

key "rndc-key" {
algorithm hmac-md5;
secret "ObviouslyASecret";
zone "." IN {
type hint;
file "db.root.hint.txt";
};


Cheers,

Brad
If I am helping you and don't reply in 24 hours please send me a PM

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users