Quickstart

From x164 documentation wiki
(Difference between revisions)
Jump to: navigation, search
(Disk partitioning)
Line 33: Line 33:
 
|-
 
|-
 
| /vz
 
| /vz
| +50 GB
+
| remaining disk space
 
| ext4
 
| ext4
 
| OpenVZ virtual machines will be installed in this partition
 
| OpenVZ virtual machines will be installed in this partition

Revision as of 08:33, 31 August 2012

This document details the steps needed to get your x164 switch started.

Contents

Installing a Linux distribution

Use of Debian Squeeze is recommended for its stability, but you can use other Linux distributions as you wish. You can look for the proper option for your machine here. Installation guides are also available for the different supported architectures here.

This website offers a screenshot based tutorial that explains how to make a bare-bones installation without a graphical desktop environment. We suggest to create a separate partition /vz to store the virtual machines, as for example in the following scheme.

Disk partitioning

The recommended partition scheme is the following:

Partition Size File system Comments
/boot 500 MB ext2
swap ~ swap Size should be the same as RAM
/ 20 GB ext4
/vz remaining disk space ext4 OpenVZ virtual machines will be installed in this partition

It is encouraged that you follow the order shown in the table when partitioning.

Updating and upgrading

After completing the installation you should run the following commands:

sudo apt-get update
sudo apt-get upgrade

This ensures you have the latest version of the installed packages.

SSH

If you want to work on your server remotely from a remote client, it is recommended to use a Secure Shell (SSH) protocol. First you need to install an implementation of SSH like OpenSSH. Type the following command:

apt-get install openssh-server

Now you can open the terminal on your client and type the following to log in the host machine:

ssh hostname@ipAdress
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox