Page 1 of 1

apache

PostPosted: Dec 12th, '11, 02:32
by loanwolf
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

Re: apache

PostPosted: Dec 12th, '11, 02:37
by doktor5000
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.

Re: apache

PostPosted: Dec 12th, '11, 03:27
by djennings
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

Re: apache

PostPosted: Dec 12th, '11, 08:03
by wilcal
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.

Re: apache

PostPosted: Dec 12th, '11, 13:13
by djennings
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

Re: apache

PostPosted: Dec 12th, '11, 15:51
by wilcal
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.

Re: apache

PostPosted: Dec 12th, '11, 16:03
by doktor5000
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 ...

Re: apache

PostPosted: Dec 12th, '11, 23:07
by loanwolf
OK cool got it thanks for the help and i may try the other ways for a server to just for kicks