Difference between revisions of "Ubuntu"

From vwiki
Jump to navigation Jump to search
m (Added "Change IP Address")
 
(Initial creation)
Line 1: Line 1:
== Change IP Address ==
== 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 <code> sudo passwd root </code>
* Enter a strong password when requested
 
=== Change IP Address ===


* Edit the <code> /etc/network/interfaces </code> file in the following fashion
* Edit the <code> /etc/network/interfaces </code> file in the following fashion
Line 12: Line 18:
         gateway 192.168.1.1
         gateway 192.168.1.1
</pre>
</pre>
* Then check the DNS config file  
* Then check the DNS config file <code> /etc/resolv.conf </code>, so that the IP v4 part looks like...
** <code> /etc/resolv.conf </code>
<pre>
127.0.0.1      localhost
192.168.10.210  mail.home.int  mail
</pre>
 
* Then restart networking
* Then restart networking
** <code> sudo /etc/init.d/networking restart </code>
** <code> sudo /etc/init.d/networking restart </code>
=== Update the OS ===
* Run the following command to update the apt package database
** <code> apt-get update </code>
* To install any updates
** <code> apt-get upgrade </code>
== 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 <code> 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 </code>
# Uncompress the package
#* <code> tar -xzf zcs-6.0.5_GA_2213.UBUNTU8.20100202225756.tgz </code>
# Start the install
#* <code> ./install.sh </code>
#* The install ''will'' fail due to missing packages!
# Install the missing prerequisite packages
#* EG <code> apt-get install libpcre3 libgmp3c2 libstdc++5 sysstat </code>
# Restart the install

Revision as of 00:53, 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

Zimba Install

Reference http://wiki.zimbra.com/index.php?title=Ubuntu_8.04_LTS_Server_%28Hardy_Heron%29_Install_Guide

  1. 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
  2. Uncompress the package
    • tar -xzf zcs-6.0.5_GA_2213.UBUNTU8.20100202225756.tgz
  3. Start the install
    • ./install.sh
    • The install will fail due to missing packages!
  4. Install the missing prerequisite packages
    • EG apt-get install libpcre3 libgmp3c2 libstdc++5 sysstat
  5. Restart the install