Re: Moodle on Fedora 16

2012-01-24 Thread Ester Muñoz Aparicio

As an aside, My daughter developed a Moodle site for a school project and
wants her school to move to Moodle but they are fixated on something called
a VLA, which is not a patch on Moodle and has few if any of Moodle's
capabilities.


That is very nice! I have worked in eLearning since 98, and Moodle has 
been my favourite platform from the OpenSource ones since it's been 
available. OF course I have to offer different solutions to my clients, 
some just will not install OpenSource (don't ask, I have no idea why 
would they have such a requirement), others just say we want platform 
X, you build it but I always offer Moodle as a safe choice.



Please let us know how you are progressing.
Roger


Well, no progress. I haven't had the time. And now I need to finish my 
first course in the local Moodle to be able to show it, so the data 
folder it is still located under /var. In some point when I have time 
-or a full partition, whichever comes first- , I'll try again to move it 
to /home


Thanks to all
Ester
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-20 Thread Kernel Guardian
Regarding comments on Fedora:
even most of people use cutting edge thing I will only express BIG
disagreement. (with all politeness even usually use )
I'm using Fedora for my production systems for a long long time ago.
Without any problems. From F8 if i remember well.
cutting edge could be only rawhide. Last few releases from 14
especially there is a lack of ... seriousness about Quality
Assurance if I may say.
About longer life cycle ... it is easier to upgrade installation nor
install latest php on RHEL-based distributions. this is only my point
of view.
I can not remember when one of my production system lived longer than two years.
Nevertheless ...
Regarding moodle on Fedora: (I hope that Daniel will read this :) )
there is a several modifications that have to do to make it operate properly
- default moodle package make 2 dirs under /var/www/moodle: web and
data. data dir have httpd_sys_content_t context. This context prevent
writing under data dir. moodle use this dir intensively for writing.
- first: change context to httpd_sys_rrw_content_t on data dir and,
and for better security change owner and group to apache.
- second: change httpd_can_network_connect_db to on, depending on
cache model in moodle httpd_can_network_memcache to on, and
httpd_can_sendmail to on for sending emails directly from moodle.
After these changes moodle works as a charm on Fedora. My first
production moodle setup was on F12. Latest on F15.

On 14 January 2012 10:37, Roger are...@bigpond.com wrote:

 Thank you Daniel, Roger and Edik. I will try your suggestions as soon as I
 can.

 Regarding the cutting edge thing, this is just my desktop machine, and I
 love Fedora. The production server will be somewhere else and will not be
 managed by me (it's a government training project). And surely it won't be
 Fedora, they have very competent people there to take care of it (most
 surely Red Hat server but it is not my decision). I only have a development
 site so I can work locally on developing the materials, so that when
 production is set up, we will already know what works for the project and
 what not (I mean for the training).

 I'll let you know how it goes.
 Ester

 Trouble is one can spend a lot of time fixing cutting edge OSes, time that
 may be better spent on dev work. Been There, Done That. Was going to try F16
 on my home pc but the list discussions have kyboshed that because I haven't
 got the time to play nowadays. Flat out developing Drupal Multi sites for a
 nonprofit organisation.

 CentOS is, very stable Fedora. I truly reccomend using it rather than
 cutting edge apps for development work.
 I've got Fedora 14, it's smooth and trouble free but as it is now
 unsupported am moving to CentOS soon. I use CentOS on the server and because
 I know Fedora it's home territory.
 It also has the advantage that, because it's so familiar, it's easy to use
 Virtualbox, VmWare or similar to set up other Osses like F16, Ubuntu.
 windows, etc to play with and you won't break your workbench apps.
 You can use xfce or any GUI desktop that suits your needs.


 As an aside, My daughter developed a Moodle site for a school project and
 wants her school to move to Moodle but they are fixated on something called
 a VLA, which is not a patch on Moodle and has few if any of Moodle's
 capabilities.
 Please let us know how you are progressing.
 Roger




 --
 users mailing list
 users@lists.fedoraproject.org
 To unsubscribe or change subscription options:
 https://admin.fedoraproject.org/mailman/listinfo/users
 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-14 Thread Roger


Thank you Daniel, Roger and Edik. I will try your suggestions as soon 
as I can.


Regarding the cutting edge thing, this is just my desktop machine, 
and I love Fedora. The production server will be somewhere else and 
will not be managed by me (it's a government training project). And 
surely it won't be Fedora, they have very competent people there to 
take care of it (most surely Red Hat server but it is not my 
decision). I only have a development site so I can work locally on 
developing the materials, so that when production is set up, we will 
already know what works for the project and what not (I mean for the 
training).


I'll let you know how it goes.
Ester

Trouble is one can spend a lot of time fixing cutting edge OSes, time 
that may be better spent on dev work. Been There, Done That. Was going 
to try F16 on my home pc but the list discussions have kyboshed that 
because I haven't got the time to play nowadays. Flat out developing 
Drupal Multi sites for a nonprofit organisation.
CentOS is, very stable Fedora. I truly reccomend using it rather than 
cutting edge apps for development work.
I've got Fedora 14, it's smooth and trouble free but as it is now 
unsupported am moving to CentOS soon. I use CentOS on the server and 
because I know Fedora it's home territory.
It also has the advantage that, because it's so familiar, it's easy to 
use Virtualbox, VmWare or similar to set up other Osses like F16, 
Ubuntu. windows, etc to play with and you won't break your workbench apps.

You can use xfce or any GUI desktop that suits your needs.


As an aside, My daughter developed a Moodle site for a school project 
and wants her school to move to Moodle but they are fixated on something 
called a VLA, which is not a patch on Moodle and has few if any of 
Moodle's capabilities.

Please let us know how you are progressing.
Roger



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-13 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/12/2012 07:39 AM, Ester Muñoz Aparicio wrote:
 Hello list members!
 
 I'm having a hard time trying to make moodle work on my Fedora 16.
 
 Few days ago I got the greatest news: one of my clients is moving
 to Moodle and that means a lot of work for this year. The Moodle
 server will be in their headquarters and someone will take care of
 it, so no problem there. But I have to move 80 and something
 courses from another CMS to Moodle, and the production server will
 not be available in a while...
 
 I want to setup a local development server to start migrating the 
 courses, and also to maintain them and move ready copies of the
 courses to production.
 
 Yesterday I installed moodle from the repositories, together with
 a bunch of dependencies, http and php + php modules.
 
 Then I fought against moodle for the rest of the day as it appears
 that it did not allow me to use any directory to be its data
 directory. I finally solved that this morning with some SElinux
 magic after few hours of reading.
 
What changes did you have to make to get SELinux to stop complaining?
 maybe we can make these defaults.
 I pointed the browser to localhost/moodle and tada! welcome page.
 Click next. Error, cannot continue, php-zip is missing. I yum
 search for it, and it is not on any repository. I confirmed it does
 not exist in any repo, so well, here I am now.
 
 Questions: - How can I install php-zip? I am comfortable on Linux,
 been using Fedora since it exists, on 3 different computers at
 home. I have made my share of administering them and they all work
 so far :-) although I have never installed anything from source. 
 So, what would be the easiest way to install php-zip? Can I get 
 somewhere the srpm and build it? Or do I really have to uninstall
 php and install from scratch with enable zip? This last bit
 scares me.
 
 - Is it possible somehow to make moodle accept as data folder one
 folder in /home? I couldn't make it work. At the moment it resides
 in /var/www/moodledata, but I'd like to move it under /home as
 this partition is much bigger.
 
 I'm sure more things will come up, I'd appreciate any and all the
 help you could offer.
 
 Cheers, Ester

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8QQtQACgkQrlYvE4MpobMG+wCgm+uUoa8g2pThH69r+EA24CeF
LggAoIKQz2MTsq+orbJmgCgA3/jjDtn8
=c4AR
-END PGP SIGNATURE-
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-13 Thread Roger

Hello
May I suggest, if at all possible, 'Forget Cutting Edge Fedora of any 
version' for business and enterprise application.
Cutting edge Fedora is volatile and in my understanding, unsuitable for 
most real life on going enterprises until it gets to end of life, by 
then a New Fedora with attendant problems is churned out.
There are stable OS options which work well with Moodle. Clients are 
more important than problematic operating systems.

FWIW
Roger




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/12/2012 07:39 AM, Ester Muñoz Aparicio wrote:

Hello list members!

I'm having a hard time trying to make moodle work on my Fedora 16.

Few days ago I got the greatest news: one of my clients is moving
to Moodle and that means a lot of work for this year. The Moodle
server will be in their headquarters and someone will take care of
it, so no problem there. But I have to move 80 and something
courses from another CMS to Moodle, and the production server will
not be available in a while...

I want to setup a local development server to start migrating the
courses, and also to maintain them and move ready copies of the
courses to production.

Yesterday I installed moodle from the repositories, together with
a bunch of dependencies, http and php + php modules.

Then I fought against moodle for the rest of the day as it appears
that it did not allow me to use any directory to be its data
directory. I finally solved that this morning with some SElinux
magic after few hours of reading.


What changes did you have to make to get SELinux to stop complaining?
  maybe we can make these defaults.

I pointed the browser to localhost/moodle and tada! welcome page.
Click next. Error, cannot continue, php-zip is missing. I yum
search for it, and it is not on any repository. I confirmed it does
not exist in any repo, so well, here I am now.

Questions: - How can I install php-zip? I am comfortable on Linux,
been using Fedora since it exists, on 3 different computers at
home. I have made my share of administering them and they all work
so far :-) although I have never installed anything from source.
So, what would be the easiest way to install php-zip? Can I get
somewhere the srpm and build it? Or do I really have to uninstall
php and install from scratch with enable zip? This last bit
scares me.

- Is it possible somehow to make moodle accept as data folder one
folder in /home? I couldn't make it work. At the moment it resides
in /var/www/moodledata, but I'd like to move it under /home as
this partition is much bigger.

I'm sure more things will come up, I'd appreciate any and all the
help you could offer.

Cheers, Ester

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8QQtQACgkQrlYvE4MpobMG+wCgm+uUoa8g2pThH69r+EA24CeF
LggAoIKQz2MTsq+orbJmgCgA3/jjDtn8
=c4AR
-END PGP SIGNATURE-


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-13 Thread edik landave
Ester,

On And now, into the other question - using a subfolder in /home as the
data folder for moodle I'll try to read some more, I think it has
something to do with http not being allowed to show user directories, but
we'll see.

You would need to configure your apache config file with /home/moodle/
instead of the default /var/www directory. After that you just chcon
recursively the whole directory so it matches the selinux settings of
/var/www.

Regarding Roger's statement Clients are more important. He's right not in
the sense that a cutting edge system is problematic but in that you need
stability  reliability. I would go with CentOS, Scientific Linux or
Debian. Any of them have longer life  support than cutting edge systems.

Regards,

Edik
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-13 Thread Ester Muñoz Aparicio

El 14/01/12 05:41, edik landave escribió:

Ester,

On And now, into the other question - using a subfolder in /home as the
data folder for moodle I'll try to read some more, I think it has
something to do with http not being allowed to show user directories,
but we'll see.

You would need to configure your apache config file with /home/moodle/
instead of the default /var/www directory. After that you just chcon
recursively the whole directory so it matches the selinux settings of
/var/www.

Regarding Roger's statement Clients are more important. He's right not
in the sense that a cutting edge system is problematic but in that you
need stability  reliability. I would go with CentOS, Scientific Linux
or Debian. Any of them have longer life  support than cutting edge systems.

Regards,

Edik


Thank you Daniel, Roger and Edik. I will try your suggestions as soon as 
I can.


Regarding the cutting edge thing, this is just my desktop machine, and 
I love Fedora. The production server will be somewhere else and will not 
be managed by me (it's a government training project). And surely it 
won't be Fedora, they have very competent people there to take care of 
it (most surely Red Hat server but it is not my decision). I only have a 
development site so I can work locally on developing the materials, so 
that when production is set up, we will already know what works for the 
project and what not (I mean for the training).


I'll let you know how it goes.
Ester









--
Ester Muñoz Aparicio
C/ San Isidro 2 Urb. Altos del Cantal 11 - 04638 - Mojácar (Almería)
GSM: (+34) 629457700 / (+358) 408019020
memunoz at gmail dot com
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-12 Thread Remi
 Error, cannot continue, php-zip is missing. I yum search for
 it,
 and it is not on any repository. I confirmed it does not exist in any
 repo, so well, here I am now.

zip extension have been removed from fedora php packages because of an 
Guidelines violation (about bundled Libraries), and exception was denied for 
this package.

2 quite simple solutions
- pecl install zip (well, will requires a lots -devel stuff)
- use remi repo (backport from fedora with zip extension enabled)

I understand this are not real good solution...

I still think exception should be reconsidered.

Remi.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Moodle on Fedora 16

2012-01-12 Thread Ester Muñoz Aparicio

El 12/01/12 15:02, Remi escribió:

Error, cannot continue, php-zip is missing. I yum search for
it,
and it is not on any repository. I confirmed it does not exist in any
repo, so well, here I am now.


zip extension have been removed from fedora php packages because of an 
Guidelines violation (about bundled Libraries), and exception was denied for 
this package.

Yes, I read about it this morning... both in fedora related and moodle 
related forums / sites.



2 quite simple solutions
- pecl install zip (well, will requires a lots -devel stuff)
- use remi repo (backport from fedora with zip extension enabled)


Remi! Fantastic! I checked your repo as well BUT looking for php-zip and 
it isn't there, so I just went on looking for it.




I understand this are not real good solution...


Now after reading your message, I updated the php I had with the one in 
your repo, also all the other php related things, and it works!


Thank you again for your time, you saved my day

And now, into the other question - using a subfolder in /home as the 
data folder for moodle I'll try to read some more, I think it has 
something to do with http not being allowed to show user directories, 
but we'll see.


Ester
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org