Re: f18 moodle setup

2013-04-10 Thread Ester Muñoz Aparicio

El 10/04/13 00:47, M A Young escribió:

On Tue, 9 Apr 2013, Virágh János wrote:


After

#yum install moodle

what's  the proper way of configuring and starting moodle on Fedora 18?


You just need to tell the config.php file how to find your database -
see the /usr/share/doc/moodle-2.3.6/README-rpm file.



You also need to fix SElinux permissions (see below)


However, there is a problem with the current Fedora and EPEL moodle
packages because they remove some php QuickForm files that the moodle
source ships with in favour of Fedora's packaged version. Unfortunately
moodle is expecting a couple of extra files that aren't in the Fedora
version because they are now obsolete.

 Michael Young




I had lots of problems to install moodle into Fedora, and also you 
should know that every time it is updated by yum you will need to fix 
permissions (SELinux mostly).


I work developing courses in moodle for my clients (schools) and they 
have a certain version of moodle in their servers. To keep everything 
simple, I installed in my computer the same version they have and I do 
not want yum to update it.


To put it to work, I ended up using the rpm from moodle.org, and yum 
localinstall it so that it would pull dependecies. All the php and mysql 
packages are from remi collet's repository (again it was just easier 
than fight against Fedora's packages).


From my notes:

install moodle, mysql, mysql-server
give permisions to apache to the moodle folder /var/www/moodle
chcon -R -t httpd_sys_content_rw_t /var/www/moodle
setup moodle database in mysql
edit config.php to add login, passw, root for www

Then, when updating with yum, remember to exclude moodle. Anyway, you 
don't want it to be updated every few weeks if you are developing 
courses for others like I do.


Keep in mind that I only develop courses in this server, and then 
transfer them for teaching... I mean, this is just development. I do not 
have students or other users accessing so I don't know how would that 
go. If this would be a live server I would not go for Fedora, I would 
pick some other linux flavour that does not change so quickly.


HTH,
Ester

--
Ester Muñoz Aparicio
C/ San Isidro 2 Urb. Altos del Cantal 11 - 04638 - Mojácar (Almería) - Spain
GSM: (+34) 629457700
Vuorikatu 7 C25 - 18130 - Heinola - Finland
GSM: (+358) 408019020
email: memunoz at gmail dot com
skype: ester.munoz.aparicio
--
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-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-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


Moodle on Fedora 16

2012-01-12 Thread Ester Muñoz Aparicio

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.


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
--
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


Re: Yum update from Fedora 14 - 15 WARNING!

2011-06-07 Thread Ester Muñoz Aparicio
El 30/05/11 18:52, Robert G. (Doc) Savage escribió:

 On Mon, 2011-05-30 at 22:13 +0530, Rahul Sundaram wrote:
 On 05/30/2011 09:44 PM, Robert G. (Doc) Savage wrote:
 Frank,

 Will this work on an old 32-bit Thinkpad that's maxed out with 512MB of
 RAM? Installing from DVD fails.

 You can try upgrading piecemeal.  Some major set of packages,  python,
 then gtk and so on

 Rahul,

 That's what I was thinking. The roadblock I run into with a conventional
 DVD install/upgrade is:

 [7.076671] Trying to unpack rootfs image as initramfs...


Hey there!

I had the same problem, could not install or upgrade with DVD, 
netinstall or preupgrade one Thinkpad R51 with 512 MB RAM.

I did succeed with distro-sync and is working wonderfully (we use XFCE).

First I removed a lot of games, multimedia programs and others (it's my 
4 year old's computer) so that I would have as much free space as 
possible and then, due to lack of space (still), I installed the 
fedora-release package and upgraded a few packages that did not pull 
many dependecies, and then distro-synced into Fedora 15 the rest.

Greetings!
Ester
-- 
Ester Muñoz Aparicio
C/ San Isidro 2 Urb. Altos del Cantal 11 - 04638 - Mojácar (Almería)
Oficina: (+34) 950478683
GSM: (+34) 629457700
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