Ubuntu: Difference between revisions
Jump to navigation
Jump to search
(Initial creation) |
m (→Zimba Install: Renamed to "Exchange Server") |
||
Line 33: | Line 33: | ||
** <code> apt-get upgrade </code> | ** <code> apt-get upgrade </code> | ||
== Zimba Install == | == Exchange Server == | ||
=== DNS Records === | |||
Firstly, you need to own a public domain name, then get your ISP to create two DNS records... | |||
# '''MX record''' - Mail Exchanger (MX) record | |||
#* EG <code> sandfordit.com [MX] -> mail.sandfordit.com </code> | |||
#* <code> sandfordit.com </code> is the domain you own, and <code> mail </code> is hostname of your email server (can be anything you like) | |||
# '''A record''' - Standard DNS record | |||
#* EG <code> mail.sandfordit.com [A] -> 158.25.34.124 </code> | |||
#* <code> 158.25.34.124 </code> is the static IP address assigned by your ISP. You'll need to set-up a NAT on your router (often oddly called a virtual server in domestic routers) to map incoming mail on TCP 25 to your email server's actual address (EG <code> 158.25.34.124:25 -> 192.168.10.100:25 </code>. | |||
=== Zimba Install === | |||
Reference http://wiki.zimbra.com/index.php?title=Ubuntu_8.04_LTS_Server_%28Hardy_Heron%29_Install_Guide | Reference http://wiki.zimbra.com/index.php?title=Ubuntu_8.04_LTS_Server_%28Hardy_Heron%29_Install_Guide | ||
Revision as of 23:16, 19 February 2010
Initial Setup
Much of this section is borrowed from http://www.howtoforge.com/perfect-server-ubuntu8.04-lts, its well worth a read!
Enable Root
- Use the command
sudo passwd root
- Enter a strong password when requested
Change IP Address
- Edit the
/etc/network/interfaces
file in the following fashion
# The primary network interface auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.1.1 broadcast 192.168.1.255 gateway 192.168.1.1
- Then check the DNS config file
/etc/resolv.conf
, so that the IP v4 part looks like...
127.0.0.1 localhost 192.168.10.210 mail.home.int mail
- Then restart networking
sudo /etc/init.d/networking restart
Update the OS
- Run the following command to update the apt package database
apt-get update
- To install any updates
apt-get upgrade
Exchange Server
DNS Records
Firstly, you need to own a public domain name, then get your ISP to create two DNS records...
- MX record - Mail Exchanger (MX) record
- EG
sandfordit.com [MX] -> mail.sandfordit.com
sandfordit.com
is the domain you own, andmail
is hostname of your email server (can be anything you like)
- EG
- A record - Standard DNS record
- EG
mail.sandfordit.com [A] -> 158.25.34.124
158.25.34.124
is the static IP address assigned by your ISP. You'll need to set-up a NAT on your router (often oddly called a virtual server in domestic routers) to map incoming mail on TCP 25 to your email server's actual address (EG158.25.34.124:25 -> 192.168.10.100:25
.
- EG
Zimba Install
Reference http://wiki.zimbra.com/index.php?title=Ubuntu_8.04_LTS_Server_%28Hardy_Heron%29_Install_Guide
- Copy the install to the server
- EG
pscp C:\Users\Simon\Downloads\zcs-6.0.5_GA_2213.UBUNTU8.20100202225756.tgz simons@mail:zcs-6.0.5_GA_2213.UBUNTU8.20100202225756.tgz
- EG
- Uncompress the package
tar -xzf zcs-6.0.5_GA_2213.UBUNTU8.20100202225756.tgz
- Start the install
./install.sh
- The install will fail due to missing packages!
- Install the missing prerequisite packages
- EG
apt-get install libpcre3 libgmp3c2 libstdc++5 sysstat
- EG
- Restart the install