apache

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

apache

Postby loanwolf » Dec 12th, '11, 02:32

let me start of by saying reason i moved to linux .i moved to linux well its free but i also wanted a solid secure server to host a few pictures on ftp for a friend and for me just stupid personal stuff on one pc and i want to run a media server on the other .but i am so new to linux i figured inorder to do it right i should run it and learn it so i have a lot of stupid quistions and i hope you guys dont get sick of me lol ok here goes .
i was troling some of the older posts looking for how to install software from a download tar and come across how to rebuild my db of software and that fixed some of my problems now i found what i was after but if i try to put a check in them i get this error
Code: Select all
- apache-base-2.2.17-5.1.mga1.i586 (due to unsatisfied libaprutil-1.so.0)


well i get a lot of that error for each one with the deferent names in it and i still dont know how to install from a tar
loanwolf
 
Posts: 8
Joined: Dec 10th, '11, 16:31

Re: apache

Postby doktor5000 » Dec 12th, '11, 02:37

Please always post output in context, i.e. in this case the command which lead to this message.

And in general you shouldn't install software from a tarball if it's available from the software repositories of the distribution. Apache packages are available, if you want to know that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: apache

Postby djennings » Dec 12th, '11, 03:27

Running an Apache web server with Mageia is dead easy. All you have to do is open your Mageia Control Centre>SoftwareInstall
Set the two drop down boxes in the top left to 'All' so you can see packages without a GUI
Then in the search box search for drakwizard, tick it and select 'Apply' to install the drakwizard package.

Now close Mageia Control Centre and start it again. There will be a new menu item called 'Sharing' which contains a wizard called 'Configure Web Server'

Run the wizard and you are finished.
Do not forget to open up your firewall to port 80 to let people get at your Apache server (There is a firewall GUI in Mageia Control Centre>Security
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: apache

Postby wilcal » Dec 12th, '11, 08:03

I wanted to point out that the ease of setting
up either, or both, an FTP and Webserver on
Mageia is one of the most powerful, and easy,
of it's features. It's right up there as one
of the first things I test.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: apache

Postby djennings » Dec 12th, '11, 13:13

let me start of by saying reason i moved to linux .i moved to linux well its free but i also wanted a solid secure server to host a few pictures on ftp for a friend and for me just stupid personal stuff on one pc and i want to run a media server on the other


If that is all you want to do then you may like to have a play with the Opera Unite feature in the Opera web browser. Unite makes your browser act like a micro web server.
It works on Windows too!
http://unite.opera.com/overview/

Opera is in the Mageia repositories so you can download it with Mageia Control Centre
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: apache

Postby wilcal » Dec 12th, '11, 15:51

Here's an Apache install that's fun to try.
Now I did this with Mandriva 10.2 so I expect
it will work on Mageia. Download the Tiny Core Linux.

http://distrowatch.com/table.php?distribution=tinycore

After install Tiny Core takes up less then 30MB, that's
Megebytes, of HD/DRAM space. Tiny Core can be run in
VirtualBox. So I brought up a dozen instances of Tiny Core
and installed Apache on each one of them still about
32MB of space. You can modify the Port of each Tiny Core
and Port Forward each of those Ports from your Router.
So now you have a dozen Apache servers running on one
PC all of them looking like separate platforms. And all
of them accessible on the Internet. It's a fun way to
kill an afternoon with nothing to do.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: apache

Postby doktor5000 » Dec 12th, '11, 16:03

You can achieve the same using one apache server and virtual hosts: http://httpd.apache.org/docs/2.0/vhosts/examples.html
Avoids the overhead and ressources for 12 running virtual machines with 12 linux distros. Just for reference ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: apache

Postby loanwolf » Dec 12th, '11, 23:07

OK cool got it thanks for the help and i may try the other ways for a server to just for kicks
loanwolf
 
Posts: 8
Joined: Dec 10th, '11, 16:31


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron