SUSE Linux Server 10: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(")
Línia 19: Línia 19:
* Feu clic a "Accepta", a la base dreta de la finestra;  
* Feu clic a "Accepta", a la base dreta de la finestra;  


--You will see a window pop-up indicating other automatic changes. Simply click "Continue"  
-- Veureu una finestra emergent que indica altres canvis automàticament. Només cal que feu clic a "Continua".


The server will then install your selections. This may take a few minutes.
El servidor instal·larà els paquets seleccionats. Pot trigar una mica.


When prompted to "install or remove more packages" click no.  
* Quan pregunti si es vol "instal·lar o eliminar més programes", feu clic a no.
 
* Tanqueu el programa de control YaST.
Close the YaST Control Center.  
* Obriu el navegador Firefox.
 
* Descarregueu el paquet del Moodle 1.7 per al Linux -el trobareu a http://download.moodle.org/download.php/stable17/moodle-1.7.tgz- i, quan el Firefox ho demani, trieu "Desa al disc" per desar el paquet al vostre ordinador.
From the Computer button in the bottom left corner of the screen, click Firefox which opens the web browser.  
* Dimensioneu la finestra del Firefox perquè deixi a la vista l'escriptori.
 
* Ara adreceu-vos amb el navegador a http://www.whitfieldschool.org/LinuxLaptops/setup-moodle.sh i, quan se us demani, trieu "Desa al disc" per tenir el fitxer al vostre ordinador.
Download Moodle 1.7 for Linux at http://download.moodle.org/download.php/stable17/moodle-1.7.tgz and , when prompted, select "save to disk" to place it on the desktop.  
* Tanqueu el Firefox
 
Place your mouse over the corner of the Firefox window to resize it to be on one half of your screen.  
 
Now point the Firefox browser to http://www.whitfieldschool.org/LinuxLaptops/setup-moodle.sh and, when prompted, select "save to disk" to place it on the desktop.  


Close Firefox. (You really need to do this.)  
Close Firefox. (You really need to do this.)  

Revisió del 16:15, 20 ago 2007

Nota: Pendent de Traduir. Hi ha Voluntaris!?     (altres pàgines pendents)

Instal·lació del Moodle en una SLES 10: instruccions pas a pas

Introducció

Aquestes instruccions, combinades amb un escript que utilitzareu més tard, us ajudaran a tenir un servidor Moodle en 15 minuts aproximadament. Treballarem amb alguns supòsits que esperem que tinguem clars, però trobareu que és una de les instal·lacions més fàcils del Moodle a Linux.

Primer pas

Comencem amb el supòsit que ja teniu instal·lat un servidor SUSE Linux Enterprise Server 10 (SLES 10). Si no teniu un registre DNS i coneixeu l'adreça IP, podeu continuar amb aquestes instruccions per anar endavant, però és recomanable que ho arregleu abans de començar la instal·lació per evitar algun conflicte més tard. Finalment, assumirem que aquest servidor està preparat per hostatjar-hi només el Moodle. Podeu fer fàcilment el que vulgueu amb aquest servidor que no sigui hostatjar un altre lloc web. Suposem que heu posat un nom al servidor moodle i que té l'adreça IP 10.10.10.100. Quan ja tingueu aquests aspectes definits podreu situar el vostre servidor a la URL http://moodle.nomdeldomini.com ( o .org, ...) o, si no teniu un registre DNS per al servidor, podreu escriure http://10.10.10.100 per trobar-lo.

Som-hi!

  • Entreu al servidor SLES com a arrel;
  • Inseriu el DVD SLES10 a la unitat lectora;
  • Obriu el YaST;
  • Trieu "Programari" a l'esquerra de la finestra del YaST i feu clic a "Instal·lació de programari";
  • Trieu "Grups RPM" al menú desplegable dels "fitres" que hi ha a l'esquerra de la barra de menús superior;
  • Al grup principal de funcions, trieu "Servidor Web i LAMP" (No accepteu encara);
  • Ara trieu "Cerca" al menú desplegable de "filtres" que heu utilitzat fa un moment;
  • Escriviu php al quadre de cerca i després feu clic a "Cerca".
  • Marqueu el quadre de selecció d'aquests paquets: php5-gd, php5-iconv, php5-mbstring, php5-mysql and php-zlib (no desmarqueu cap paquet que ja estigui marcat abans);
  • Feu clic a "Accepta", a la base dreta de la finestra;

-- Veureu una finestra emergent que indica altres canvis automàticament. Només cal que feu clic a "Continua".

El servidor instal·larà els paquets seleccionats. Pot trigar una mica.

  • Quan pregunti si es vol "instal·lar o eliminar més programes", feu clic a no.
  • Tanqueu el programa de control YaST.
  • Obriu el navegador Firefox.
  • Descarregueu el paquet del Moodle 1.7 per al Linux -el trobareu a http://download.moodle.org/download.php/stable17/moodle-1.7.tgz- i, quan el Firefox ho demani, trieu "Desa al disc" per desar el paquet al vostre ordinador.
  • Dimensioneu la finestra del Firefox perquè deixi a la vista l'escriptori.
  • Ara adreceu-vos amb el navegador a http://www.whitfieldschool.org/LinuxLaptops/setup-moodle.sh i, quan se us demani, trieu "Desa al disc" per tenir el fitxer al vostre ordinador.
  • Tanqueu el Firefox

Close Firefox. (You really need to do this.)

Drag the file "setup-moodle.sh" to the "root's home" folder located in the upper left corner of the desktop.

Double-click the moodle package you downloaded. It will Open in a program called File Roller. Click the "Extract" button.

Click the arrows to the right of Desktop on the "Extract in folder" bar and choose "other" from the pull down menu

Double-Click "File System" on the left side of the window that popped up and browse to /srv/www/htdocs and click "Open"

Click "Extract" and close the window when it completes.

Right click on the desktop and choose "Open Terminal" and type sh setup-moodle.sh and hit the Enter key. --A program which sets up some of the prerequisites of Moodle will run. Please read the screen and follow the prompts accordingly.

--The script will ask you to enter a username and password for the database which runs your Moodle server. It will also launch the Firefox browser to help you begin the installation of Moodle.

After entering a username and password for the database, you are prompted to press enter and Firefox will open. Resize Firefox so you can see the script running as well as Firefox.

In Firefox, click the Language and click next

You should see "Pass" for all of the PHP settings. Click "Next."

On the next screen, keep all of the default addresses and directories EXCEPT change the web address from //localhost/moodle to http://YOUR SERVER NAME.YOUR DOMAIN NAME/moodle (example http://moodle.whitfieldschool.org/moodle) and click "Next" --NOTE: If you have not created a DNS record for the server on your network, this is where you would place the IP address of ther server (example: http://10.10.10.100/moodle) If you want to change this later, you will need to modify this setting in the file /srv/www/htdocs/moodle/config.php. See why I suggest you have the DNS record first?! :-)

On the next screen, (My SQL) keep all of the defaults and in the "User" field, type the username you typed into the setup-moodle.sh script (exp: moodleuser)

In the password field, type the password you entered twice into the setup-moodle.sh script

Press Next

On the next screen (Checking Environment), you should have OK next to all variables. If you have "Check" next to unicode, you are still OK so long as all users in your Moodle environment speak the same language. Click Next.

On the next screen (Download Language Pack page), simply click Next. This download only included English but you can add other languages later.

When you reach the configuration complete page, click "Continue."

On the next screen, read over the user agreement and choose "Yes" to accept.

You will now see a series of pages where Moodle automates various configurations. Scroll to the bottom of each page and click "Continue." You will have to do this a number of times.

Once all configuration changes have been made, you will be brought to a web form to create the Moodle Admin account. Fill out the form accorting to your environment and click to update profile.

Fill out the form to configure your Front Page and click "Save Changes" at the bottom of the page.

You will be logged into the Moodle environment as the admin user you just created. I know you are excited to get started but you aren't done yet!

Close Firefox. (Yes, you need to do this. You will come back to your moodle server later.)

Click on the "terminal" window to get back into the script. As directed, click Return or Enter.

Once you see "Moodle installation complete," close the terminal window and log off the server.

Go to another computer and open a web browser. Point it to your server (example: http://moodle.whitfieldschool.org ) --NOTE: we removed the /moodle from theddress to make it easier for your users.

Have fun with Moodle!