Page 1 of 1

web server with Gui

PostPosted: Jan 7th, '13, 11:08
by aimbot
I got mageia 2 going on a amd quad cpu system and I need to run a web server on that pc with a gui . I don't like command line stuff in linux because it is 180ยบ different than MS dos and I am not going to relearn the command line again like I did in DOS at college , back then you had dos and no windows LOL . I would like to use mageia to run the web server if I can with a Gui and no or little command line typing.
Please ???

If not then I get a bigger HD and install win7 server on it or home server at least I can do the command line there with no trouble and get around the hard drive and list file's and dir's with out thinking. For me in linux CLI it is a different way of thinking and I got enough grey hairs now LOL.

Thanks

Aimbot

Re: web server with Gui

PostPosted: Jan 7th, '13, 13:13
by djennings
See the wiki here
https://wiki.mageia.org/en/Server_Wizards

Running the server wizard will install a basic web server for you.
If you want a LAMP stack (Linux, Apache, Mysql, Php) then install the task-lamp package too.

You might also like to install the webmin package. After installing the webmin package start the webmin service in MageiaControlCentre>System>Services

You will then be able to log into webmin using a browser to
https://localhost:10000

Webmin gives you a GUI to control all sorts of servers.

BTW: Make sure your software updates have been done. The copy of webmin shipped with Mageia2 was broken until the recent update.

Re: web server with Gui

PostPosted: Jan 8th, '13, 03:29
by aimbot
Thanks for the help so far. I did a search in the programs thingy for webadmin and came up with a different package than the WEBMIN package, so like a dummy I installed both, now I got to uninstall both LOL .
When I uninstall a program package the OS double checks to find orphan packages but does it automatically delete those packages it finds off the HD or do I got to install a package like a cleaner or what ever Mageia use to do that job ???

Thanks

Aimbot

Re: web server with Gui

PostPosted: Jan 8th, '13, 04:09
by Ken-Bergen
aimbot wrote:When I uninstall a program package the OS double checks to find orphan packages but does it automatically delete those packages it finds off the HD or do I got to install a package like a cleaner or what ever Mageia use to do that job ???
It is not automatic, you have to run
Code: Select all
urpme --auto-orphans
as root.

It's not nessecary to deleat the orphans unless you're low on HD space and if you do run it look the list over carefully before saying Yes as it has been known to deleat things you really want.

Re: web server with Gui

PostPosted: Jan 8th, '13, 04:33
by aimbot
Thanks for the info.

Aimbot

Re: web server with Gui

PostPosted: Jan 8th, '13, 04:41
by aimbot
Is this urpme --auto-orphans from the command line under root ???
Sorry for the dumb question , but I need to know LOL ???

Aimbot

Re: web server with Gui

PostPosted: Jan 8th, '13, 04:44
by Ken-Bergen
Yes.

Re: web server with Gui

PostPosted: Jan 8th, '13, 05:16
by aimbot
Ok I did a dumb thing I renamed the local host file to mageria .like a beginner , oh well it is a learning curve for me.
where is the local host file in mageria to rename it to default .

Thx
Aimbot

Re: web server with Gui

PostPosted: Jan 9th, '13, 13:56
by wintpe
the hostname of the system is stored in /etc/sysconfig/network

HOSTNAME=localhost

for example

or it may have moved to the ifcfg-eth0 now, (i work on many redhat OS's so i sometimes forget which evolution has what setting)

that is in /etc/sysconfig/network-scripts

and sometimes its also defined in /etc/hosts for use by the network

It may interest you to know/realise that since msdos was invented/written way after unix, that alot of the msdos command line
was inspired by unix along with cpm.





regards peter

Re: web server with Gui

PostPosted: Jan 9th, '13, 15:07
by aimbot
Thank You

Aimbot

Re: web server with Gui

PostPosted: Jan 9th, '13, 20:46
by doktor5000
So if your problem is solved now, please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks

Re: web server with Gui

PostPosted: Jan 9th, '13, 21:08
by wilcal
djennings wrote:See the wiki here
https://wiki.mageia.org/en/Server_Wizards

Running the server wizard will install a basic web server for you.
If you want a LAMP stack (Linux, Apache, Mysql, Php) then install the task-lamp package too....

Do note that the Websever Wizard ( Apache & ProFTP ) are quite
broken for Mageia 3 ( Cauldron ). The installation of Apache & ProFTP are
actually quite simple. Here is the menu of what I do:
MCC -> Software Management -> install: proftp
MCC -> Software Management -> install: apache
MCC -> Software Management -> install: apache-mod_userdir
/etc/httpd/conf/httpd.conf line 42 "Listen 80" to 8080 if needed
/etc/httpd/conf/httpd.conf line/block 100 add the following: ( allows Internet availability )
<Directory /home>
AllowOverride none
Require all granted
</Directory>
MCC -> System -> Manage system services -> start proftp & httpd
check for ftp & website operation externally
create public_html website for user

Re: web server with Gui

PostPosted: Jan 10th, '13, 06:25
by aimbot
Ok after I do all of that and I will have to reinstall it again which is no problem for me because I fix ppl's pc's all the time in my building and I use to do it for everybody but since I retired I got nothing but time. LOL ....
Like a dummy , where do you in all of that do set your static ip address for your DOT COM address and dump the website index.html page and dir's in what folder ??? + I do need that firewall going on that website to keep it from being hijacked. I have an DOT COM going online for the last 18 months and because of my particular web server in windows that not standard I have ppl trying to hijack or other things because they think it is a apache web server and do alot of script attacks on it and they wind up in the sin bin or banned on my 2 websites and that makes them mad LOL . Since I got extra server towers collecting dust and I want to get rid of my 15 yr old intel tower server thats a 32bit one and goto a server that thats less than 5 yrs and a 64bit one that has Mageria 64bit on it and 8 gig's of mem instead of 4. So this is my first Linux server to use on my secondary website for now and testing, when I get more confident then I will bring both over to mageria.

So thanks for trying to help me set it up.

Aimbot