Changeset 6261 for trunk/INSTALL
- Timestamp:
- 05/22/12 00:15:30 (12 years ago)
- Location:
- trunk/INSTALL
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/INSTALL/arquivos/scripts/aux.sh
r6219 r6261 83 83 PSUEDONAME=`cat /etc/redhat-release | sed s/.*\(// | sed s/\)//` 84 84 REV=`cat /etc/redhat-release | sed s/.*release\ // | sed s/\ .*//` 85 # Debian, Ubuntu e variantes , que possuem o LSB85 # Debian, Ubuntu e variantes 86 86 elif [ -f /etc/debian_version ] ; then 87 DIST=`lsb_release -si` 88 PSEUDONAME=`lsb_release -sc` 89 REV=`lsb_release -sr` 87 # Verifica se o LSB esta instalado 88 LSB=`which lsb_release` 89 # Se nao estiver, configura no braco 90 if [ -z "$LSB" ] ; then 91 DIST="Debian" 92 REV=`cat /etc/debian_version` 93 # Se nao, usa o LSB. Ubuntu eh reconhecido aqui 94 else 95 DIST=`lsb_release -si` 96 PSEUDONAME=`lsb_release -sc` 97 REV=`lsb_release -sr` 98 fi 90 99 # TODO: Validar do suse 91 100 elif [ -f /etc/SuSE-release ] ; then … … 97 106 fi 98 107 } 108 109 qualSO 110 echo $OSSTR 99 111 100 112 validaSO () -
trunk/INSTALL/arquivos/scripts/bd.sh
r6173 r6261 64 64 } 65 65 66 bd_debian -squeeze()66 bd_debian_6 () 67 67 { 68 68 DIR_PG="/var/lib/postgresql/8.4/main" … … 99 99 } 100 100 101 bd_ubuntu -11.10 ()101 bd_ubuntu_1110 () 102 102 { 103 103 DIR_PG="/var/lib/postgresql/9.1/main" … … 134 134 } 135 135 136 bd_rhel 6 ()136 bd_rhel_6 () 137 137 { 138 138 DIR_PG="/var/lib/pgsql" -
trunk/INSTALL/arquivos/scripts/http.sh
r6173 r6261 66 66 } 67 67 68 http_debian -squeeze()68 http_debian_6 () 69 69 { 70 70 http_debian … … 84 84 } 85 85 86 http_ubuntu -11.10 ()86 http_ubuntu_1110 () 87 87 { 88 http_debian -squeeze88 http_debian_6 89 89 cp -a ubuntu/11.10/.htaccess $DIR_EXPRESSO 90 90 cp -a ubuntu/11.10/etc/apache2/apache2.conf /etc/apache2/ … … 109 109 } 110 110 111 http_rhel 6 ()111 http_rhel_6 () 112 112 { 113 113 http_rhel … … 122 122 } 123 123 124 #125 # TODO: Preciso de alguem que ajude a testar o SLES! Nao garanto que este codigo funcione126 #127 http_sles ()128 {129 yast -i apache2 apache2-prefork apache2-mod_php5 \130 php5 php5-devel php5-gd php5-imap php5-ldap php5-pgsql php5-mbstring php5-pear-auth \131 zip unzip132 133 cpexpresso "/srv/www/htdocs"134 chown -R wwwrun:www /srv/www/htdocs/expresso /home/expressolivre135 136 a2enmod rewrite137 }138 139 http_sles10 ()140 {141 http_sles142 143 cp -a sles10/etc/apache2/httpd.conf /etc/apache2/144 cp -a sles10/etc/apache2/server-tuning.conf /etc/apache2/145 cp -a sles10/etc/apache2/vhosts.d/expresso.conf /etc/apache2/vhosts.d/146 cp -a sles10/etc/apache2/sysconfig.d/global.conf /etc/apache2/sysconfig.d/147 cp -a sles10/etc/php5/apache2/php.ini /etc/php5/apache2/148 149 rcapache2 restart150 } -
trunk/INSTALL/arquivos/scripts/imap.sh
r5871 r6261 22 22 } 23 23 24 imap_debian -squeeze()24 imap_debian_6 () 25 25 { 26 26 apt-get -y install cyrus-admin-2.2 cyrus-clients-2.2 cyrus-common-2.2 cyrus-doc-2.2 cyrus-imapd-2.2 \ … … 43 43 } 44 44 45 imap_ubuntu -11.10 ()45 imap_ubuntu_1110 () 46 46 { 47 imap_debian -squeeze47 imap_debian_6 48 48 } 49 50 49 51 50 imap_rhel () … … 56 55 } 57 56 58 imap_rhel 6 ()57 imap_rhel_6 () 59 58 { 60 59 imap_rhel -
trunk/INSTALL/arquivos/scripts/ini.sh
r6173 r6261 20 20 } 21 21 22 ini_debian -lenny()22 ini_debian_6 () 23 23 { 24 24 ini_debian 25 25 } 26 26 27 ini_ debian-squeeze()27 ini_ubuntu_1110 () 28 28 { 29 ini_debian 30 } 31 32 ini_ubuntu-11.10 () 33 { 34 ini_debian-squeeze 29 ini_debian_6 35 30 } 36 31 … … 72 67 } 73 68 74 ini_rhel5 () 75 { 76 ini_rhel 77 # Deixa o SELinux permissivo 78 cp -f rhel/5/etc/selinux/config /etc/selinux/config 79 setenforce 0 80 } 81 82 ini_rhel6 () 69 ini_rhel_6 () 83 70 { 84 71 ini_rhel … … 88 75 } 89 76 90 #91 # TODO: Preciso de alguem que ajude a testar o SLES! Nao garanto que este codigo funcione92 #93 ini_sles ()94 {95 yast -i openssl vim96 }97 98 ini_sles10 ()99 {100 ini_sles101 }102 103 ini_sles11 ()104 {105 ini_sles106 } -
trunk/INSTALL/arquivos/scripts/ldap.sh
r6202 r6261 46 46 } 47 47 48 ldap_debian -squeeze()48 ldap_debian_6 () 49 49 { 50 50 # BDB do Squeeze … … 55 55 } 56 56 57 ldap_ubuntu -11.10 ()57 ldap_ubuntu_1110 () 58 58 { 59 ldap_debian -squeeze59 ldap_debian_6 60 60 } 61 61 … … 78 78 } 79 79 80 ldap_rhel 6 ()80 ldap_rhel_6 () 81 81 { 82 82 RHEL6=rhel/6/etc/openldap -
trunk/INSTALL/arquivos/scripts/smtp.sh
r6173 r6261 28 28 } 29 29 30 smtp_rhel 6 ()30 smtp_rhel_6 () 31 31 { 32 32 RHEL6="rhel/6/etc/postfix" … … 43 43 } 44 44 45 smtp_debian -squeeze()45 smtp_debian_6 () 46 46 { 47 47 SQUEEZE="debian/squeeze/etc/postfix" … … 49 49 } 50 50 51 smtp_ubuntu -11.10 ()51 smtp_ubuntu_1110 () 52 52 { 53 smtp_debian -squeeze53 smtp_debian_6 54 54 } 55 55 -
trunk/INSTALL/expressoInstall.sh
r6219 r6261 69 69 if ( validaSO "Debian" "6.0" ) 70 70 then 71 INSTALL="debian -squeeze"71 INSTALL="debian_6" 72 72 elif ( validaSO "Ubuntu" "11.10" ) 73 73 then 74 INSTALL="ubuntu -11.10"74 INSTALL="ubuntu_1110" 75 75 elif ( validaSO "CentOS" "6." || validaSO "RedHat" "6." ) 76 76 then 77 INSTALL="rhel 6"77 INSTALL="rhel_6" 78 78 else 79 79 echo "Sistema operacional desconhecido ou incompativel com o instalador do Expresso Livre!"
Note: See TracChangeset
for help on using the changeset viewer.