Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Linux Mandriva, Ready To Make It A Dedicated Serve, How do I host my own webpage and such?
TheKnowledge
post Jul 6 2005, 11:25 PM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 20
Joined: 26-June 05
Member No.: 6,600



I downloaded the free version of Mandriva and I'm ready to turn it into a dedicated server to host my webpage, pop3/smtp clients and so on. Unfortunately I'm brand new to Linux, so I can't seem to figure out how to make this work. I was hoping the whole thing would be more intuitive.

I've been using windows server, and that was pretty easy. Just create a rootfolder and put your webpagefiles in it, and turn a DNS address to your IP and make sure your PC is on at all times. But then I came across Apache, MySQL and stuff like that, so I'm ready to be Linuxified. So the question is; What do I do to make my Mandriva installation the home for my own webpage, and have apache and MySQL as available features for my website as well?

I'm really hoping for "Linux For Dummies" type of answers here, so don't go all technical and lingo on me, or else I'll get nowhere. Even more hopeful, don't like to read, so please be as short as possible, and pleeeease don't direct me to any tutorials or "dedicated helpsites". They always seem to write too much about simple things, leaving me more confused than I was before coming there.

An example of that is when I tried to figure out how to make graphics work with FreeBSD, and every page I went to explained what Xorg or X11 was and how it worked and when and where and who developed it.

Then I asked at a forum and a guy said; "type xorgconfig"

I nearly broke into tears, it was so beautifully simple.
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Jul 7 2005, 01:10 AM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411
myCENTs:84.36



Haha - don't you worry - we'll take care of you wink.gif But one advice first - Mandriva or the formerly known as Mandrake Linux is quite pathetic at handling server-ly duties. If you really intend to setup a robust server with all those cool services running, then you'd need something on the lines of Fedora or Redhat Enterprise. But anyway, Mandriva should give you the starting base and you can toy around and learn all the basics before you reach out for the more hardcore distros.

As for your Linux server, hosting your web-page is as simple as dumping the pages into the rootfolder for windows. But you need to have Apache webserver (known as httpd on linux) up and running. If you selected the Web-server option while installing Mandriva - it should already be in place and running.

Still you can do a quick check and see if it is running or not.
Issue the following command:
CONSOLE

shell> service httpd status
httpd (pid 3468 3467 3466 3465 3464 3463 3462 3461 16547) is running...


The output, as you can see on the second line, will inform you that it is indeed running (the numbers in the brackets are known as PID or Process ID - a certain progressive number which linux allocates to a service when it is first run. The PID uniquely identifies the service).

Alternatively, you can issue the following command too - to check whether Apache is running:
CONSOLE

shell> ps ax | grep httpd
16547 ? S 0:01 /usr/sbin/httpd
3461 ? S 0:00 /usr/sbin/httpd
3462 ? S 0:00 /usr/sbin/httpd
3463 ? S 0:00 /usr/sbin/httpd
3464 ? S 0:00 /usr/sbin/httpd
3465 ? S 0:00 /usr/sbin/httpd
3466 ? S 0:00 /usr/sbin/httpd
3467 ? S 0:00 /usr/sbin/httpd
3468 ? S 0:00 /usr/sbin/httpd
6830 pts/36 S 0:00 grep httpd


As you can see from above - its the same listing as the prior command except for this one is in a more tabular format and also provides you with the path from where the service was started. The numbers in the first column are the corresponding PIDs.

Now under your /var/www/ folder - which is created automatically upon installation of Apache, you'll find another folder called html - you simply change over to this folder by using:
CONSOLE

shell> cd /var/www/html


This folder by default is the place where apache looks for your homepage, quite similar to the public_html on asta or the rootfolder on windows. This is where you index.html/php should reside. You are free to create any level of subfolders under this and dump whatever pages/images/files here...

When you access your server by typing it's IP in your browser, Apache will look straight into this folder, pick out your html/php page and show it to you. This is a very good method of creating and testing your site at home before dumping it on any public server on the net smile.gif

Hope this will get you started at least... more later.

Regards,
m^e
Go to the top of the page
 
+Quote Post
wwheeler
post Jul 7 2005, 04:58 PM
Post #3


Premium Member
Group Icon

Group: Members
Posts: 257
Joined: 29-November 04
From: Marietta, GA
Member No.: 1,561



I found this while looking up your build of linux, and it is about as technical as I can get....

QUOTE("Gene Ziegler ")

What if Dr. Seuss wrote technical manuals?

If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report!

If your cursor finds a menu item followed by a dash,
And the double-clicking icons put your window in the trash,
And your data is corrupted 'cause the index doesn't hash,
Then your situation's hopeless, and your system's gonna crash!

If the label on your cable on the gable at your house,
Says the network is connected to the button on your mouse,
But your packets want to tunnel to another protocol,
That's repeatedly rejected by the printer down the hall.

And your screen is all distorted by the side effects of gauss,
So your icons in the window are as wavy as a souse,
Then you may as well reboot and go out with a bang,
"Cause as sure as I'm a poet, the sucker's gonna hang!

When the copy of your floppy's getting sloppy on the disk,
And the microcode instructions cause unnecessary RISC,
Then you have to flash your memory and you'll want to RAM your ROM,
Quickly turn off your computer and be sure to tell your mom!


I am framiliar with getting mandrake and redhat to work with webhosting, but I am not framiliar with Mandriva.....
Go to the top of the page
 
+Quote Post
madcrow
post Jul 8 2005, 12:29 PM
Post #4


Advanced Member
Group Icon

Group: Members
Posts: 196
Joined: 12-April 05
Member No.: 3,899



Well even Neo-Mandrake (Mandriva) is a better server platform than Windoze. As long as you're just trying to run a small personal server, you'll never need one of those "hardcore" distros.
Go to the top of the page
 
+Quote Post
wwheeler
post Jul 8 2005, 04:47 PM
Post #5


Premium Member
Group Icon

Group: Members
Posts: 257
Joined: 29-November 04
From: Marietta, GA
Member No.: 1,561



Oh, madcrow, please don't get me wrong, I totally agree with you. To host anything on the net, I would only use Unix Os. I totally agree with you, you can use any Linux or unix client.

I totally disagree with windows, though I am forced to use it at home, because that is the only thing that the family knows. Slowly getting them into linux.

Can someone provide some info on mandriva, so that I might be able to help out?

-William
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Running Linux on slow computers(12)
  2. Now Linux is ease(9)
  3. Linux SuSE detec you all hareware(2)
  4. You can Play now in Linux(26)
  5. What's The Difference Between Linux And Unix?!?(18)
  6. What Language Is Linux Written In ?(15)
  7. Where To Find Notepad++ For Linux ?(37)
  8. What Made You Switch To Linux?(61)
  9. Psybnc - Howto(4)
  10. Looking For Linux(34)
  11. How To Install Linux Without A CD or DVD?(11)
  12. What Softwares Should I Get To Linux?(6)
  13. Diablo 2 In Linux?(10)
  14. Linux?(3)
  15. What Is Linux(2)
  1. So, I Want To Try Out Linux.(9)
  2. How To Play Music And Movie In Linux? Which Is The Good One?.(6)
  3. Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.(0)
  4. How To Copy File & Folders From Linux To Windows?.(12)
  5. Access Linux Box From Windows Machine- Putty Tool(2)
  6. Linux For Beginners- Easy To Install(16)
  7. Linux Basic Command - For Storing Compilation Error To File(1)
  8. Choice Of Motherboard For Linux Virtualization(5)
  9. Why Linux?(23)
  10. Which Linux Version For Newbies?(14)
  11. Linux Software Installation Help(2)
  12. I Want To Get Linux, Which One Is Best?(6)
  13. When And What Is Your First Linux Experience?(4)


 



- Lo-Fi Version Time is now: 4th December 2008 - 11:43 PM