version 1.1, 2011/03/18 16:42:12
|
version 1.3, 2011/03/18 17:53:34
|
Line 76 if (!open(LOG,">>loncapa_install.log"))
|
Line 76 if (!open(LOG,">>loncapa_install.log"))
|
} |
} |
|
|
# |
# |
# Helper routines and routines to establist recommended actions |
# Helper routines and routines to establish recommended actions |
# |
# |
|
|
sub get_language_handle { |
sub get_language_handle { |
Line 918 print "
|
Line 918 print "
|
|
|
".&mt('The following actions are available:')." |
".&mt('The following actions are available:')." |
|
|
1. ".&mt('Create the www user/group.')." |
&mt('1.')." ".&mt('Create the www user/group.')." |
".&mt('This is the user/group ownership under which Apache child processes run.')." |
".&mt('This is the user/group ownership under which Apache child processes run.')." |
".&mt('It also owns most directories within the /home/httpd directory.')." |
".&mt('It also owns most directories within the /home/httpd directory.')." |
".&mt('This directory is where most LON-CAPA files and directories are stored.')." |
".&mt('This directory is where most LON-CAPA files and directories are stored.')." |
2. ".&mt('Install the package LON-CAPA uses to authenticate users.')." |
&mt('2.')." ".&mt('Install the package LON-CAPA uses to authenticate users.')." |
3. ".&mt('Set-up the MySQL database.')." |
&mt('3.')." ".&mt('Set-up the MySQL database.')." |
4. ".&mt('Set-up MySQL permissions.')." |
&mt('4.')." ".&mt('Set-up MySQL permissions.')." |
5. ".&mt('Configure Apache web server.')." |
&mt('5.')." ".&mt('Configure Apache web server.')." |
6. ".&mt('Configure start-up of services.')." |
&mt('6.')." ".&mt('Configure start-up of services.')." |
7. ".&mt('Check firewall settings.')." |
&mt('7.')." ".&mt('Check firewall settings.')." |
8. ".&mt('Stop services not used by LON-CAPA,')." |
&mt('8.')." ".&mt('Stop services not used by LON-CAPA,')." |
".&mt('i.e., services for a print server: [_1] daemon.',"'cups'")." |
".&mt('i.e., services for a print server: [_1] daemon.',"'cups'")." |
9. ".&mt('Download LON-CAPA source code in readiness for installation.')." |
&mt('9.')." ".&mt('Download LON-CAPA source code in readiness for installation.')." |
|
|
".&mt('Typically, you will run this script only once, when you first install LON-CAPA.')." |
".&mt('Typically, you will run this script only once, when you first install LON-CAPA.')." |
|
|
Line 1065 if ($callsub{'download'}) {
|
Line 1065 if ($callsub{'download'}) {
|
if ($production && $testing) { |
if ($production && $testing) { |
if ($production ne $testing) { |
if ($production ne $testing) { |
print &mt('Two recent LON-CAPA releases are available: ')."\n". |
print &mt('Two recent LON-CAPA releases are available: ')."\n". |
&mt('1. A production release - version: [_1].',$production)."\n". |
&mt('1.').' '.&mt('A production release - version: [_1].',$production)."\n". |
&mt('2. A testing release - version: [_1].',$testing)."\n\n". |
&mt('2.').' '.&mt('A testing release - version: [_1].',$testing)."\n\n". |
&mt('Download the production release? ~[Y/n~]'); |
&mt('Download the production release? ~[Y/n~]'); |
if (&get_user_selection(1)) { |
if (&get_user_selection(1)) { |
$sourcetarball = $production.'tar.gz'; |
$sourcetarball = $production.'tar.gz'; |
Line 1661 sub download_loncapa {
|
Line 1661 sub download_loncapa {
|
&mt('This copy will be used and a new version will NOT be downloaded.')."\n". |
&mt('This copy will be used and a new version will NOT be downloaded.')."\n". |
&mt('If you wish, you may download a new version by executing:')." |
&mt('If you wish, you may download a new version by executing:')." |
|
|
wget http://install.loncapa.org/versions/loncapa-fedora-current.tar.gz |
wget http://install.loncapa.org/versions/loncapa-current.tar.gz |
|
|
------------------------------------------------------------------------ |
------------------------------------------------------------------------ |
"); |
"); |