I'd like to understand better the sysadmin aspects of running a wiki. I don't have, and don't intend to at this stage, a web server, but I do have spare capacity on my LAN server box, where I'd like to install MediaWiki. I found this article:
http://docs.fedoraproject.org/documentation-guide/en_US/sn-sandbox-setup.htm...
Would it be straightforward to follow those instructions on a CentOS5 box?
Anything I should be aware of?
Remember that this is a whole new ballgame for me. Is it likely to meet my needs?
Any recommended reading that takes it right from step1 - assuming no special knowledge?
Anne
Hello Anne:
On Fri, Sep 11, 2009 at 9:15 AM, Anne Wilsoncannewilson@googlemail.com wrote:
I'd like to understand better the sysadmin aspects of running a wiki. I don't have, and don't intend to at this stage, a web server, but I do have spare capacity on my LAN server box, where I'd like to install MediaWiki. I found this article:
Most of the wiki packages require a webserver to handle the actual web traffic. There are a few standalone ones that contain their own web server, and even a couple that can be used directly from the local storage, but most will install a set of directories and some configurations under an existing web directory.
http://docs.fedoraproject.org/documentation-guide/en_US/sn-sandbox-setup.htm...
Those instructions look fairly generic and *should* work with CentOS5. They don't appear to be a Wiki in itself though, and for a Wiki you won't need to do anything from the local directories to actually edit pages.
Would it be straightforward to follow those instructions on a CentOS5 box?
Anything I should be aware of?
Remember that this is a whole new ballgame for me. Is it likely to meet my needs?
Any recommended reading that takes it right from step1 - assuming no special knowledge?
I use MediaWiki on my LAN. It took me about an hour to configure from start to finish. Packages are available in one of the alternate repos, though I don't recall which one.
Hi,
On Fri, Sep 11, 2009 at 09:15, Anne Wilson cannewilson@googlemail.com wrote:
http://docs.fedoraproject.org/documentation-guide/en_US/sn-sandbox-setup.htm... Would it be straightforward to follow those instructions on a CentOS5 box?
I don't think those instructions are to install MediaWiki, from what I see in the previous page they show how to "publish official Fedora Documentation Project work to the docs.fedoraproject.org website".
If you want to install MediaWiki, I suggest you follow the instructions on the MediaWiki website: http://www.mediawiki.org/wiki/Manual:Installation_guide
I suggest you unpack the distribution under /var/www as that will probably save you trouble with SELinux. If you unpack it under /var/www/html/mediawiki you will be able to access it right away under http://your.server.com/mediawiki/.
I suggest you go ahead and try to make it work, if you have specific problems or questions after that, please post them and we'll help you! I have been maintaining a MediaWiki installation under CentOS 5 here and it's been working great so far.
HTH, Filipe
On Friday 11 September 2009 14:34:00 Filipe Brandenburger wrote:
Hi,
On Fri, Sep 11, 2009 at 09:15, Anne Wilson cannewilson@googlemail.com
wrote:
http://docs.fedoraproject.org/documentation-guide/en_US/sn-sandbox-setup. html Would it be straightforward to follow those instructions on a CentOS5 box?
I don't think those instructions are to install MediaWiki, from what I see in the previous page they show how to "publish official Fedora Documentation Project work to the docs.fedoraproject.org website".
If you want to install MediaWiki, I suggest you follow the instructions on the MediaWiki website: http://www.mediawiki.org/wiki/Manual:Installation_guide
I suggest you unpack the distribution under /var/www as that will probably save you trouble with SELinux. If you unpack it under /var/www/html/mediawiki you will be able to access it right away under http://your.server.com/mediawiki/.
I suggest you go ahead and try to make it work, if you have specific problems or questions after that, please post them and we'll help you! I have been maintaining a MediaWiki installation under CentOS 5 here and it's been working great so far.
Filipe and Kwan - Yes, I did realise that the fedora instructions were for the web server, not for mediawiki. If I have understood Felipe aright, installing mediawiki under /var/www/etc will keep it in the sandboxed area - correct?
I'm chief contributor to userbase.kde.org, and we have several issues that need sysadmin time. The kde sysadmins are overworked, and we are not making progress, for a number of reasons, in getting those issues resolved. The idea of this is that if I can do the sysadmin role on a local installation I can experiments safely away from the real one, and try to find working solutions, which can then be passed to those with admin rights on the kde server.
If I succeed in setting this up I'll be very glad to get back to you for help with specific questions, thanks.
Anne
Hi Anne,
On Fri, Sep 11, 2009 at 10:14, Anne Wilson cannewilson@googlemail.com wrote:
installing mediawiki under /var/www/etc will keep it in the sandboxed area - correct?
What do you mean by "sandbox"?
And I think you mean /var/www/html, there is no /var/www/etc in RHEL/CentOS...
The idea of this is that if I can do the sysadmin role on a local installation I can experiments safely away from the real one, and try to find working solutions, which can then be passed to those with admin rights on the kde server.
If you want something that can later on be replicated in another server, I would advise you to do the setup as close as possible to the way it is done on the other server, otherwise your findings might not be applicable to that setup...
HTH, Filipe
On Friday 11 September 2009 15:36:55 Filipe Brandenburger wrote:
Hi Anne,
On Fri, Sep 11, 2009 at 10:14, Anne Wilson cannewilson@googlemail.com
wrote:
installing mediawiki under /var/www/etc will keep it in the sandboxed area - correct?
What do you mean by "sandbox"?
I mean the ability to use it as though it were a live system, but not in fact accessible by the Internet.
And I think you mean /var/www/html, there is no /var/www/etc in RHEL/CentOS...
Oops - badly expressed. I meant 'etc' in the generic sense, not the directory sense.
The idea of this is that if I can do the sysadmin role on a local installation I can experiments safely away from the real one, and try to find working solutions, which can then be passed to those with admin rights on the kde server.
If you want something that can later on be replicated in another server, I would advise you to do the setup as close as possible to the way it is done on the other server, otherwise your findings might not be applicable to that setup...
Hmm - since I don't have that level of access on the real server that may not be easy, but I can certainly talk to the sysadmins to see how far that is possible.
Anne
Hi,
On Fri, Sep 11, 2009 at 12:08, Anne Wilson cannewilson@googlemail.com wrote:
What do you mean by "sandbox"?
I mean the ability to use it as though it were a live system, but not in fact accessible by the Internet.
For that, it does not matter where you place the files (directly under /var/www or inside your home), it only matters that you restrict access, either in Apache's configuration or on your firewall (or both!), to disallow access from outside. The document you linked to does not really take any steps to prevent access from the Internet. You might want to consider running Apache on a custom port instead of the default 80.
HTH, Filipe
Hi,
On Fri, Sep 11, 2009 at 12:39, Filipe Brandenburger filbranden@gmail.com wrote:
You might want to consider running Apache on a custom port instead of the default 80.
Or, if you're using it on the same machine only, configure it to bind to 127.0.0.1 only (maybe that's what you're looking for?).
HTH, Filipe
On Friday 11 September 2009 17:40:39 Filipe Brandenburger wrote:
Hi,
On Fri, Sep 11, 2009 at 12:39, Filipe Brandenburger
filbranden@gmail.com wrote:
You might want to consider running Apache on a custom port instead of the default 80.
I think that would be sensible
Or, if you're using it on the same machine only, configure it to bind to 127.0.0.1 only (maybe that's what you're looking for?).
Probably not. I prefer to actually work on that box only when necessary. Simple maintenance like updates are done over ssh+keys from this laptop. I'd probably want a similar setup.
I have a firewall on the router, and open imap ports when away from home for any extended period, but that's all. I have a firewall on the server, completely open to the LAN, but only accepting imap from outside it.
Anne
Anne Wilson wrote:
installing mediawiki under /var/www/etc will keep it in the sandboxed area - correct?
What do you mean by "sandbox"?
I mean the ability to use it as though it were a live system, but not in fact accessible by the Internet.
The install location doesn't have much to do with accessibility, although your apache configuration can apply IP and/or login restrictions if you want.
And I think you mean /var/www/html, there is no /var/www/etc in RHEL/CentOS...
Oops - badly expressed. I meant 'etc' in the generic sense, not the directory sense.
But pretty much irrelevant except for mapping into http.conf restrictions.
If you want something that can later on be replicated in another server, I would advise you to do the setup as close as possible to the way it is done on the other server, otherwise your findings might not be applicable to that setup...
Hmm - since I don't have that level of access on the real server that may not be easy, but I can certainly talk to the sysadmins to see how far that is possible.
If you have a typical firewalled LAN with private addresses, just run the wiki there instead of on a machine that can be accessed from the internet and you won't have to worry about it. Wiki's are most useful if you can make them easily accessible to everyone who might use the information and a LAN-only connection may make it possible to avoid any other restrictions. If you need an internet-facing wiki, you have to be much more careful, though. Since the point is to allow easy modification and uploads they are very likely targets for vulnerabilities and you have to keep the code up to date.
On Friday 11 September 2009 17:42:32 Les Mikesell wrote:
If you have a typical firewalled LAN with private addresses, just run the wiki there instead of on a machine that can be accessed from the internet and you won't have to worry about it. Wiki's are most useful if you can make them easily accessible to everyone who might use the information and a LAN-only connection may make it possible to avoid any other restrictions. If you need an internet-facing wiki, you have to be much more careful, though. Since the point is to allow easy modification and uploads they are very likely targets for vulnerabilities and you have to keep the code up to date.
Hi, Les. Yes, I understand that. I don't have any need for that, so I'm not prepared to go to those lengths. I'll keep it within the LAN if I do it at all.
The next step is to talk to the people who control the 'real' site, and see whether they think this could be helpful or not.
Anne
Hi All, I've finish setup vsftpd as anonymous FTP server, and I also setup apache for web service on my linux box. yesterday, I'm tried to put CentOS 64 bit image (.iso) size is 4.5GB and tried to download from my computer. Apache and vsftpd work great, but I get some problem with download size..
When I download CentOS iso image [4.5GB], download process always stopped at 4.2GB with errors: ==> SIZE CentOS-5.3-x86_64-bin-DVD.iso ... 4557455360 ==> PASV ... done. ==> REST 4294967295 ... done. ==> RETR CentOS-5.3-x86_64-bin-DVD.iso ... done. Length: 4557455360 (4.2G), 262488065 (250M) remaining
94% [++++++++++++++++++++++++++++++++++ ] 4,294,967,295 --.-K/s in 0.001s
CentOS-5.3-x86_64-bin-DVD.iso: File too large, closing control connection.
David Suhendrik wrote:
Hi All, I've finish setup vsftpd as anonymous FTP server, and I also setup apache for web service on my linux box. yesterday, I'm tried to put CentOS 64 bit image (.iso) size is 4.5GB and tried to download from my computer. Apache and vsftpd work great, but I get some problem with download size..
When I download CentOS iso image [4.5GB], download process always stopped at 4.2GB with errors: ==> SIZE CentOS-5.3-x86_64-bin-DVD.iso ... 4557455360 ==> PASV ... done. ==> REST 4294967295 ... done. ==> RETR CentOS-5.3-x86_64-bin-DVD.iso ... done. Length: 4557455360 (4.2G), 262488065 (250M) remaining
94% [++++++++++++++++++++++++++++++++++ ] 4,294,967,295 --.-K/s in 0.001s
CentOS-5.3-x86_64-bin-DVD.iso: File too large, closing control connection.
*Well, FWIW, 2^32 = 4 ,294 ,967 ,296*
I've used SCP on > 4GB files without a problem.
John R Pierce wrote:
David Suhendrik wrote:
Hi All, I've finish setup vsftpd as anonymous FTP server, and I also setup apache for web service on my linux box. yesterday, I'm tried to put CentOS 64 bit image (.iso) size is 4.5GB and tried to download from my computer. Apache and vsftpd work great, but I get some problem with download size..
When I download CentOS iso image [4.5GB], download process always stopped at 4.2GB with errors: ==> SIZE CentOS-5.3-x86_64-bin-DVD.iso ... 4557455360 ==> PASV ... done. ==> REST 4294967295 ... done. ==> RETR CentOS-5.3-x86_64-bin-DVD.iso ... done. Length: 4557455360 (4.2G), 262488065 (250M) remaining
94% [++++++++++++++++++++++++++++++++++ ] 4,294,967,295 --.-K/s in 0.001s
CentOS-5.3-x86_64-bin-DVD.iso: File too large, closing control connection.
*Well, FWIW, 2^32 = 4 ,294 ,967 ,296*
I've used SCP on > 4GB files without a problem.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi John, I've tried using rsync and scp but the problem has no left and make me confused... Any idea? And I need to know cause of my problem :(
Hi John, I've tried using rsync and scp but the problem has no left and make me confused... Any idea? And I need to know cause of my problem :(
google seemed to indicate tis a WGET problem, not a server problem. wget's from the vinage of RHEL4 at least seemed to have problems with REST (resumes) in the > 2GB range causing issues at 4GB. dunno why, didn't dig any deeper.
John R Pierce wrote:
Hi John, I've tried using rsync and scp but the problem has no left and make me confused... Any idea? And I need to know cause of my problem :(
google seemed to indicate tis a WGET problem, not a server problem. wget's from the vinage of RHEL4 at least seemed to have problems with REST (resumes) in the > 2GB range causing issues at 4GB. dunno why, didn't dig any deeper.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
:( wget? I've tried download using other utilities on my windows pc's, on my desktop [Ubuntu] I using rsync and scp to download, but get same problem :(
Btw John, thank You for your advise...
Really confused :(
:( wget? I've tried download using other utilities on my windows pc's, on my desktop [Ubuntu] I using rsync and scp to download, but get same problem :(
Btw John, thank You for your advise...
Really confused :(
What filesystem type are you attempting to download to on each OS?
Tait Clarridge wrote:
:( wget? I've tried download using other utilities on my windows pc's, on my desktop [Ubuntu] I using rsync and scp to download, but get same problem :(
Btw John, thank You for your advise...
Really confused :(
What filesystem type are you attempting to download to on each OS?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Tait,
On my server I've LVM with ext3 as filesystem are used. I've tested download from notebook (ubuntu, ext3) and PC (windows, ntfs). But still problem here :(
From: David Suhendrik david@pnyet.web.id
On my server I've LVM with ext3 as filesystem are used. I've tested download from notebook (ubuntu, ext3) and PC (windows, ntfs). But still problem here :(
Tried another server to download from?
JD
:( wget? I've tried download using other utilities on my windows pc's, on my desktop [Ubuntu] I using rsync and scp to download, but get same problem :(
Btw John, thank You for your advise...
Really confused :(
This might be either a problem on the server you are downloading from (try an other one) or maybe of a firewall at your site (we had similiar problems and corrupted packages due to a firewall bug).
Cheers
frank
Frank Thommen wrote:
:( wget? I've tried download using other utilities on my windows pc's, on my desktop [Ubuntu] I using rsync and scp to download, but get same problem :(
Btw John, thank You for your advise...
Really confused :(
This might be either a problem on the server you are downloading from (try an other one) or maybe of a firewall at your site (we had similiar problems and corrupted packages due to a firewall bug).
Cheers
frank
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Frank, I've iptables running on my server..., When I tried to shutdown iptables and download again still after 4.1 GB, download can't continue and file unusable...
If someone already mentioned this my apologies...
Use 'ifconfig ethX' to display adapter stats. Look for TX and RX errors.
Another problem could be faulty RAM. Try memtest.
Ryan Manikowski | System Administrator
:703.677.8499: ryan.manikowski@2ergo.com
2ergo – Digital leaders in a mobile world
Mobile Excellence Award - Best Innovator Mobile Star Award - Best Enterprise Mobile Web Publishing Solution Webby Awards - Official Honoree for Best Mobile News Site Deloitte Fast 50 - Fastest Growing Technology Companies in the UK GSMA - GSMA Mobile Innovation Award Finalist Vodafone - Vodafone Innovation Award
***** Email confidentiality notice ***** This message (including attachments) is confidential and may be legally privileged. The content and views expressed are those of the sender and not necessarily the 2ergo Group. If you are not the intended recipient, you must not disclose, copy or use any part of it. Please delete all copies immediately and notify the sender.
Giovanni P. Tirloni wrote:
On Oct 9, 2009, at 3:34 PM, David Suhendrik wrote:
When I tried to shutdown iptables and download again still after 4.1 GB, download can't continue and file unusable...
Try to strace wget and see what you get.
-Giovanni
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
David Suhendrik wrote:
John R Pierce wrote:
David Suhendrik wrote:
Hi All, I've finish setup vsftpd as anonymous FTP server, and I also setup apache for web service on my linux box. yesterday, I'm tried to put CentOS 64 bit image (.iso) size is 4.5GB and tried to download from my computer. Apache and vsftpd work great, but I get some problem with download size..
When I download CentOS iso image [4.5GB], download process always stopped at 4.2GB with errors: ==> SIZE CentOS-5.3-x86_64-bin-DVD.iso ... 4557455360 ==> PASV ... done. ==> REST 4294967295 ... done. ==> RETR CentOS-5.3-x86_64-bin-DVD.iso ... done. Length: 4557455360 (4.2G), 262488065 (250M) remaining
94% [++++++++++++++++++++++++++++++++++ ] 4,294,967,295 --.-K/s in 0.001s
CentOS-5.3-x86_64-bin-DVD.iso: File too large, closing control connection.
*Well, FWIW, 2^32 = 4 ,294 ,967 ,296*
I've used SCP on > 4GB files without a problem.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi John, I've tried using rsync and scp but the problem has no left and make me confused... Any idea? And I need to know cause of my problem :(
Hi
Just curious, are you using ext2? If I remember right, a long time ago, I had similar problems with Debian.
Regards
mg.
Marcelo M. Garcia wrote:
David Suhendrik wrote:
John R Pierce wrote:
David Suhendrik wrote:
Hi All, I've finish setup vsftpd as anonymous FTP server, and I also setup apache for web service on my linux box. yesterday, I'm tried to put CentOS 64 bit image (.iso) size is 4.5GB and tried to download from my computer. Apache and vsftpd work great, but I get some problem with download size..
When I download CentOS iso image [4.5GB], download process always stopped at 4.2GB with errors: ==> SIZE CentOS-5.3-x86_64-bin-DVD.iso ... 4557455360 ==> PASV ... done. ==> REST 4294967295 ... done. ==> RETR CentOS-5.3-x86_64-bin-DVD.iso ... done. Length: 4557455360 (4.2G), 262488065 (250M) remaining
94% [++++++++++++++++++++++++++++++++++ ] 4,294,967,295 --.-K/s in 0.001s
CentOS-5.3-x86_64-bin-DVD.iso: File too large, closing control connection.
*Well, FWIW, 2^32 = 4 ,294 ,967 ,296*
I've used SCP on > 4GB files without a problem.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi John, I've tried using rsync and scp but the problem has no left and make me confused... Any idea? And I need to know cause of my problem :(
Hi
Just curious, are you using ext2? If I remember right, a long time ago, I had similar problems with Debian.
Regards
mg.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Marcelo, my linux box using LVM and ext3 as filesystem.
I don't get any issue about this... Please tell me how to fixed....
Filipe Brandenburger wrote:
The idea of this is that if I can do the sysadmin role on a local installation I can experiments safely away from the real one, and try to find working solutions, which can then be passed to those with admin rights on the kde server.
If you want something that can later on be replicated in another server, I would advise you to do the setup as close as possible to the way it is done on the other server, otherwise your findings might not be applicable to that setup...
Mediawiki stores pages in a mysql database, so replicating or moving to a different server will involve a database dump and load as the main operation. Attachments are stored somewhere as individual files, though.