Monday, February 16, 2015

pcDuino3 Nano - OpenMediaVault Install

This is another in the series documenting my setup of a new home server with the Linksprite pcDuino3 Nano.  A listing for the entire series can be found here.  More information on the pcDuino3 Nano can be found at Linksprite’s website and the pcDuino website.

Now that I had a clean Debian root file system the next step was to install OpenMediaVault. This was accomplished by following the steps below.

Install the pre-requisite packages.

root@pcduino3-nano:~# apt-get install build-essential git u-boot-tools texinfo texlive ccache zlib1g-dev gawk bison flex gettext uuid-dev libusb-1.0-0-dev

Add openmediavault to your sources.

root@pcduino3-nano:~# echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list

root@pcduino3-nano:~# wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -

root@pcduino3-nano:~# apt-get update

root@pcduino3-nano:~# apt-get install openmediavault

After you answer Y to the install there will be five screens that will require you to provide input.

Package configuration

┌────────────────────────┤ Postfix Configuration ├────────────────────────┐
│                                                                         │
│ Please select the mail server configuration type that best meets your
│ needs.

│  No configuration:
│   Should be chosen to leave the current configuration unchanged.
│  Internet site:
│   Mail is sent and received directly using SMTP.
│  Internet with smarthost:
│   Mail is received directly using SMTP or by running a utility such
│   as fetchmail. Outgoing mail is sent using a smarthost.
│  Satellite system:
│   All mail is sent to another machine, called a 'smarthost', for
│   delivery.
│  Local only:

│                                 <Ok>
│                                                                         │
└─────────────────────────────────────────────────────────────────────────┘

 

Package configuration

                    ┌──────┤ Postfix Configuration ├───────┐
                    │ General type of mail configuration:  │
                    │                                      │
                    │       No configuration               │
                    │       Internet Site                  │
                    │       Internet with smarthost        │
                    │       Satellite system               │
                    │       Local only                     │
                    │                                      │
                    │                                      │
                    │       <Ok>           <Cancel>        │
                    │                                      │
                    └──────────────────────────────────────┘

 

Package configuration

┌───────────────────────────┤ Configuring mdadm ├───────────────────────────┐
│                                                                           │
│ If the system's root file system is located on an MD array (RAID), it
│ needs to be started early during the boot sequence. If it is located on
│ a logical volume (LVM), which is on MD, all constituent arrays need to
│ be started.

│ If you know exactly which arrays are needed to bring up the root file
│ system, and you want to postpone starting all other arrays to a later
│ point in the boot sequence, enter the arrays to start here.
│ Alternatively, enter 'all' to simply start all available arrays.

│ If you do not need or want to start any arrays for the root file system,
│ leave the answer blank (or enter 'none'). This may be the case if you
│ are using kernel autostart or do not need any arrays to boot.


│                                  <Ok>
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘

 

Package configuration

                ┌────────────┤ Configuring mdadm ├────────────┐
                │ MD arrays needed for the root file system:  │
                │                                             │
                │ all________________________________________ │
                │                                             │
                │                   <Ok>                      │
                │                                             │
                └─────────────────────────────────────────────┘

 

Package configuration

┌─────────────────────────┤ ProFTPD configuration ├─────────────────────────┐
│ ProFTPD can be run either as a service from inetd, or as a standalone     │
│ server. Each choice has its own benefits. With only a few FTP             │
│ connections per day, it is probably better to run ProFTPD from inetd in   │
│ order to save resources.                                                  │
│                                                                           │
│ On the other hand, with higher traffic, ProFTPD should run as a           │
│ standalone server to avoid spawning a new process for each incoming       │
│ connection.                                                               │
│                                                                           │
│ Run proftpd:                                                              │
│                                                                           │
│                                from inetd                                 │
│                                standalone                                 │
│                                                                           │
│                                                                           │
│                                  <Ok>                                     │
│                                                                           │
└───────────────────────────────────────────────────────────────────────────┘

Once the install completes initialize OpenMediaVault.

root@pcduino3-nano:~# omv-initsystem

Now reboot the system.  When is has rebooted from a web browser on another machine you should be able to login with Username: admin and Password: openmediavault.

2 comments:

Unknown said...

thank you very much for sharing it

Unknown said...

Thanks for the post! Ran into some trouble on this page, though.

The following packages have unmet dependencies:
openmediavault : Depends: php5-pam but it is not going to be installed
Depends: proftpd-mod-vroot but it is not going to be installed
Depends: php5-proctitle but it is not going to be installed

Any clue as to why it would give these errors?