Difference between revisions of "Freeside:2.1:Documentation:Installation"

From Freeside
Jump to: navigation, search
(Step by step install on Ubuntu 10.04 based linux distro with Postgresql)
 
Line 3: Line 3:
 
   
 
   
 
== 2. Configure the network ==
 
== 2. Configure the network ==
===Change the server to static IP===
+
 
 +
Change the server to static IP
 
<pre>
 
<pre>
 
nano /etc/network/interfaces
 
nano /etc/network/interfaces
Line 26: Line 27:
 
</pre>
 
</pre>
  
===Set the hostname correctly===
+
Set the hostname correctly
 
<pre>
 
<pre>
 
nano /etc/hosts
 
nano /etc/hosts
Line 61: Line 62:
 
</pre>
 
</pre>
  
Main Packages
+
Common Perl Packages - Packages are much faster to install
 +
<pre>
 +
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl libnet-ping-external-perl libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl libterm-readkey-perl libtext-template-perl
 +
</pre>
 +
Additional Perl Packages
 
<pre>
 
<pre>
apt-get install libapache2-mod-perl2 Apache2 postgresql-8.4
+
apt-get install libdbix-dbschema-perl libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl libnet-whois-raw-perl libtime-duration-perl
 
</pre>
 
</pre>
 
+
Packages not available as packages
Perl Packages
 
 
<pre>
 
<pre>
apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl
+
cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI
 
</pre>
 
</pre>

Revision as of 16:11, 10 December 2010

1. Install the base system

- Only select the OpenSSH Package

2. Configure the network

Change the server to static IP

nano /etc/network/interfaces

Replace the below settings with you own ip addresses etc

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

Set the hostname correctly

nano /etc/hosts
127.0.0.1       localhost.localdomain   localhost
192.168.0.100   server1.example.com     server1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
echo server1.example.com > /etc/hostname
/etc/init.d/hostname restart

3. Update the system

apt-get update
apt-get upgrade

4. Install core packages

Keep the system time correct

apt-get install ntp ntpdate

Common Perl Packages - Packages are much faster to install

apt-get install libwww-perl liburi-perl libhtml-tagset-perl libhtml-parser-perl libdbd-pg-perl libtimedate-perl libdate-manip-perl libchart-perl libcache-cache-perl libdatetime-perl libdatetime-format-strptime-perl libdatetime-format-natural-perl libemail-sender-perl libhtml-mason-perl libmailtools-perl libmail-mboxparser-perl libnetaddr-ip-perl libnet-ping-external-perl libnet-ping-external-perl libnumber-format-perl libnumber-format-perl libspreadsheet-writeexcel-perl libstring-approx-perl libtext-csv-xs-perl libterm-readkey-perl libtext-template-perl 

Additional Perl Packages

apt-get install libdbix-dbschema-perl libfile-counterfile-perl libfile-policy-perl libipc-run-perl libipc-run3-perl libjson-perl liblingua-en-nameparse-perl liblingua-en-inflect-perl libnet-domain-tld-perl libnet-ssh2-perl libnet-whois-raw-perl libtime-duration-perl 

Packages not available as packages

cpan Authen::Passphrase Business::CreditCard Business::US::USPS::WebTools Color::Scheme Crypt::PasswdMD5 Frontier::RPC2 HTML::Defang HTML::Widgets::SelectLayers String::ShellQuote Tie::IxHash Apache::DBI