diff options
Diffstat (limited to 'install/redhat/8/INSTALL')
-rwxr-xr-x | install/redhat/8/INSTALL | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/install/redhat/8/INSTALL b/install/redhat/8/INSTALL new file mode 100755 index 000000000..e6107d94e --- /dev/null +++ b/install/redhat/8/INSTALL @@ -0,0 +1,47 @@ +#!/bin/sh + +rpm -Fvh http://redhat.usu.edu/mirrors/apt4rpm/apt-0.5.4cnc8-fr1.i386.rpm + +cp sources.list /etc/apt/ +apt-get update; apt-get update +#apt-get install apache mod_ssl mod_perl perl-CGI perl-CPAN perl-DBD-MySQL perl-DBD-Pg perl-DBI perl-DateManip perl-Digest-MD5 perl-HTML-Parser perl-HTML-Tagset perl-MIME-Base64 perl-Storable perl-TimeDate perl-URI perl-libnet perl-libwww-perl perl-suidperl rsync postgresql postgresql-docs postgresql-libs postgresql-server screen zsh lftp cvs #openssh + +#ftp://ftp.pbone.net/mirror/www.aucs.org/rpmcenter/packages/apache13-php43-mods-rh8 + +apt-get install perl-CGI perl-CPAN perl-DBD-MySQL perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-suidperl rsync krb5-libs postgresql-server postgresql postgresql-docs postgresql-libs postgresql-devel screen zsh lftp cvs gcc tetex-fonts tetex-latex tetex tetex-dvips ghostscript ghostscript-fonts libpng-devel freetype-devel libjpeg-devel #gd openssh + +#lftpget http://download.atrpms.net/testing/packages/redhat-8.0-i386/atrpms/gd-2.0.28-0_9.rh8.0.at.i386.rpm +lftpget http://download.atrpms.net/testing/packages/redhat-8.0-i386/atrpms/libgd2-2.0.28-0_9.rh8.0.at.i386.rpm http://download.atrpms.net/testing/packages/redhat-8.0-i386/atrpms/gd-devel-2.0.28-0_9.rh8.0.at.i386.rpm + +rpm -i libgd2-2.0.28-0_9.rh8.0.at.i386.rpm gd-devel-2.0.28-0_9.rh8.0.at.i386.rpm + +perl -MCPAN -e"install Locale::Country, Net::Whois, Business::CreditCard, + Mail::Internet, File::CounterFile, FreezeThaw, + String::Approx, Text::Template, DBIx::DataSource, + DBIx::DBSchema, Net::SSH, String::ShellQuote, + Net::SCP, Apache::ASP, Tie::IxHash, Time::Duration, + HTML::Widgets::SelectLayers, Apache::DBI, Cache::Cache, + Test::Pod, NetAddr::IP, IPC::ShareLite, + Chart::LinesPoints, DBI, DBD::Pg, HTML::Mason, + Net::Whois::Raw, Crypt::PasswdMD5, File::Temp, Storable" + +#apachetoolbox i guess + +/usr/sbin/useradd freeside + +/sbin/chkconfig postgresql on +/etc/init.d/postgresql start + +su postgres -c "createuser -P freeside" + +su freeside -c "createdb freeside" + +#? +cd ../../.. +make install-perl-modules +make create-config +freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan +su freeside -c 'freeside-setup ivan' +su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan' +make deploy + |