Changeset 1415 in genappalpha
- Timestamp:
- Feb 13, 2018, 9:55:05 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sbin/install.pl
r1411 r1415 205 205 206 206 if ( $os eq 'centos' ) { 207 die "only Centos 6.7, 6.8, 6.9, 7.2 and 7.3 currently supported and this appears to be version $os_release\n$sorry" if $os_release !~ /^6\.(7|8|9)$/ && $os_release !~ /^7\.(2|3)/;207 die "only Centos 6.7, 6.8, 6.9, 7.2, 7.3 and 7.4 currently supported and this appears to be version $os_release\n$sorry" if $os_release !~ /^6\.(7|8|9)$/ && $os_release !~ /^7\.(2|3|4)/; 208 208 } 209 209 … … 393 393 " ); 394 394 395 runcmdsb( "scl enable rh-php56 'pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.5'" ); 395 396 runcmdsb( "scl enable rh-php56 'pear install --alldeps Mail Mail_Mime Net_SMTP'" ); 396 397 … … 420 421 my $ext ; 421 422 while ( -e $bdir ) { 422 423 423 $ext++; 424 $bdir = "/var/www.previous-$ext"; 424 425 } 425 426 $warnings .= "/var/www is backed up in $bdir"; … … 505 506 506 507 # ------ centos 7.2 ------- 507 if ( $os eq 'centos' && $os_release =~ /^7\.(2|3 )/ ) {508 if ( $os eq 'centos' && $os_release =~ /^7\.(2|3|4)/ ) { 508 509 509 510 # install required modules … … 542 543 " ); 543 544 545 runcmdsb( "scl enable rh-php56 'pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.5'" ); 544 546 runcmdsb( "scl enable rh-php56 'pear install --alldeps Mail Mail_Mime Net_SMTP'" ); 545 547 … … 569 571 my $ext ; 570 572 while ( -e $bdir ) { 571 572 573 $ext++; 574 $bdir = "/var/www.previous-$ext"; 573 575 } 574 576 $warnings .= "/var/www is backed up in $bdir"; … … 741 743 " ); 742 744 745 runcmdsb( "scl enable rh-php56 'pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.5'" ); 743 746 runcmdsb( "scl enable rh-php56 'pear install --alldeps Mail Mail_Mime Net_SMTP'" ); 747 744 748 `sudo killall mongod 2> /dev/null`; 745 749 runcmdsb( "service mongod start" ); … … 768 772 my $ext ; 769 773 while ( -e $bdir ) { 770 771 774 $ext++; 775 $bdir = "/var/www.previous-$ext"; 772 776 } 773 777 $warnings .= "/var/www is backed up in $bdir"; … … 777 781 } 778 782 } 779 783 780 784 runcmdsb( "ln -sf $rhsclhttpd/var/www /var/www" ); 781 785
Note: See TracChangeset
for help on using the changeset viewer.