Difference between revisions of "Fedora 19 USB install"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
+
This guidance is provided as an '''unsupported''' install of Amahi 7 on Fedora 19 using a USB flash drive.  It requires manual configuration to install [[Amahi_7|Amahi 7]] and configure [http://www.greyhole.net/ Greyhole]. The '''officially supported instructions''' can be found at [http://docs.amahi.org here].
The '''officially supported instructions''' are at [http://www.amahi.org/support/instructions install instructions] page in your control panel at amahi.org.
 
 
 
This page covers an '''unsupported''' install using Fedora 19 with USB boot, manual Amahi, and greyhole install.
 
  
 
<u>PREREQUISITES</u>
 
<u>PREREQUISITES</u>
Line 14: Line 11:
 
* Select '''Fedora''' for Distribution
 
* Select '''Fedora''' for Distribution
 
*  Choose '''19_Live (32-bit)''' or '''19_Live_X64 (64-bit)''' depending on your system.
 
*  Choose '''19_Live (32-bit)''' or '''19_Live_X64 (64-bit)''' depending on your system.
* Verify at the bottom the drive listed is for your USB flash drive.  If not, select the appropriate drive.
+
* Verify at the bottom
* Once you are ready, choose Ok.  Please be patient as this may take a while since it downloads the files and then extracts them to the USB flash drive.
+
** Type is '''USB Drive'''
 +
** Drive listed is for your USB flash drive.  If not, select the appropriate drive.
 +
* Once you are ready, choose '''OK'''.  Please be patient as this may take a while since it downloads the files and then extracts them to the USB flash drive.
 
* When UNetbootin finishes, select '''Exit''' and remove the USB flash drive.
 
* When UNetbootin finishes, select '''Exit''' and remove the USB flash drive.
  
 
=Install on Server=
 
=Install on Server=
 
* Insert the USB flash drive into your server.
 
* Insert the USB flash drive into your server.
* Now boot your server using the USB flash drive.
+
* Now boot your server using the USB flash drive.  Some BIOS have function keys that allow you to choose the boot media.  Others may require changes to the BIOS.
<br />
 
<b>NOTE:</b> Some BIOS have function keys that allow you to choose the boot media.  Others may require changes to the BIOS.
 
  
* Once the Fedora screen appears, you will have two options:
+
* Select '''Start Fedora Live''' from the menu.
** Continue as Live session
+
* Once the Fedora has booted, you will have two options:
 +
** Try Fedora
 
** Install to Hard Drive
 
** Install to Hard Drive
 
* Select '''Install to Hard Drive'''.
 
* Select '''Install to Hard Drive'''.
* Configure the options as you desire, i.e. Time Zone, Hard Drive.  When finished, select '''Continue'''.
+
* Configure the options as you desire, i.e. Time Zone, Hard Drive.  When finished, select '''Begin Installation'''.
 +
* Now you will see the options to set a root password and/or create a user. You '''MUST''' do one of the following:
 +
** Set a root password and create a user.
 +
** Create a user and make it an administrator.
 +
* Once the install is finished, select '''Quit'''.
 +
* Finally we will need to reboot the machine (DO NOT remove the USB flash drive)
 +
** Choose the '''Live User''' at the top right of the screen
 +
** Select '''Power Off''' and then '''Reboot'''.
 +
** Once the login screen appears, you can remove the USB flash drive and log in using the password for the user set during install.
 
<br />
 
<br />
<b>NOTE:</b>  Ensure you set a root password and/or create a user and make it an administrator (recommend creating both users).
+
<blockquote><b>NOTE:</b>  Most commands from her on will need to be executed as a privileged user.  Depending on how you configured the users at install, you may need to precede them with '''sudo''' (made user administrator).  Otherwise, you will need to be '''root''' user.</blockquote>
 +
= Enable SSH (Optional)=
 +
We need to enable SSH for remote access.  If you don't intend to access your HDA remotely inside or outside your network via [http://en.wikipedia.org/wiki/Secure_Shell SSH], you can skip this step.
  
= Enable SSH and Elevate Privilege=
+
* Execute the following as a privileged user (precede commands with '''sudo''' if not run as root user):
  
All commands in this guide are carried out in a terminal and with superuser privilegesIf you are going to do this remotely you will need to enable SSH. The following will enable SSH and ensure it is started every time:
+
systemctl start sshd.service
 +
  systemctl enable sshd.service
  
{{Code|
+
= Connectivity =
Code = service sshd start
+
Ensure you can connect to the internet before proceeding.  On the HDA, open Firefox and try to access a web page.
chkconfig sshd on
 
}}
 
  
To elevate your privileges either append sudo to each command given here (some of course won't require elevation) or do it for the whole session:
+
* If you can’t, edit the DNS file:
 +
vi /etc/resolv.conf
  
{{Code|
+
* Add the following to the end of the file:
Code = sudo su -
+
<pre>
}}
+
nameserver 208.67.222.222
 +
nameserver 208.67.220.220
 +
</pre>
  
= DNS =
+
* Restart the network:
 +
systemctl restart network.service
  
Make sure you can connect to the internet (ping google.com for example).  If you can’t, try manually adding DNS servers to /etc/resolv.conf (you could add the openDNS servers for example: 208.67.222.222 and 208.67.220.220)
+
Now check again and if you can access the internet, proceed to the next section. Otherwise, further troubleshooting will be required.
  
= Install Amahi =  
+
= Install Amahi 7 =  
 
Follow the guidance [[Amahi_7_full_DVD|here]] for installing Amahi.  Start with <u>Install the Amahi repo by hand</u> section.  If you need to add additional hard drives, follow the guidance for [[Adding_a_second_hard_drive_to_your_HDA|adding additional drives]].  This includes procedures for the new 3 & 4 TB drives.
 
Follow the guidance [[Amahi_7_full_DVD|here]] for installing Amahi.  Start with <u>Install the Amahi repo by hand</u> section.  If you need to add additional hard drives, follow the guidance for [[Adding_a_second_hard_drive_to_your_HDA|adding additional drives]].  This includes procedures for the new 3 & 4 TB drives.
  
= Install Greyhole =
+
= Install Greyhole (Optional) =
 
Currently there is no Dashboard add-on to setup and configure Greyhole for Amahi 7.  This must be done manually using the  [[Amahi_7_Create_Manual_Greyhole_Setup|Manual Greyhole Setup]] wiki page.
 
Currently there is no Dashboard add-on to setup and configure Greyhole for Amahi 7.  This must be done manually using the  [[Amahi_7_Create_Manual_Greyhole_Setup|Manual Greyhole Setup]] wiki page.
  
You should now have a working system.
+
Amahi 7 should not be installed and working as designed.  Recommend you reboot the HDA next to verify all is working correctly.

Revision as of 16:25, 29 March 2014

This guidance is provided as an unsupported install of Amahi 7 on Fedora 19 using a USB flash drive. It requires manual configuration to install Amahi 7 and configure Greyhole. The officially supported instructions can be found at here.

PREREQUISITES

Create USB image (Windows)

  • Insert USB flash drive into Windows computer.
  • Run UNetbootin
  • Select Fedora for Distribution
  • Choose 19_Live (32-bit) or 19_Live_X64 (64-bit) depending on your system.
  • Verify at the bottom
    • Type is USB Drive
    • Drive listed is for your USB flash drive. If not, select the appropriate drive.
  • Once you are ready, choose OK. Please be patient as this may take a while since it downloads the files and then extracts them to the USB flash drive.
  • When UNetbootin finishes, select Exit and remove the USB flash drive.

Install on Server

  • Insert the USB flash drive into your server.
  • Now boot your server using the USB flash drive. Some BIOS have function keys that allow you to choose the boot media. Others may require changes to the BIOS.
  • Select Start Fedora Live from the menu.
  • Once the Fedora has booted, you will have two options:
    • Try Fedora
    • Install to Hard Drive
  • Select Install to Hard Drive.
  • Configure the options as you desire, i.e. Time Zone, Hard Drive. When finished, select Begin Installation.
  • Now you will see the options to set a root password and/or create a user. You MUST do one of the following:
    • Set a root password and create a user.
    • Create a user and make it an administrator.
  • Once the install is finished, select Quit.
  • Finally we will need to reboot the machine (DO NOT remove the USB flash drive)
    • Choose the Live User at the top right of the screen
    • Select Power Off and then Reboot.
    • Once the login screen appears, you can remove the USB flash drive and log in using the password for the user set during install.


NOTE: Most commands from her on will need to be executed as a privileged user. Depending on how you configured the users at install, you may need to precede them with sudo (made user administrator). Otherwise, you will need to be root user.

Enable SSH (Optional)

We need to enable SSH for remote access. If you don't intend to access your HDA remotely inside or outside your network via SSH, you can skip this step.

  • Execute the following as a privileged user (precede commands with sudo if not run as root user):
systemctl start sshd.service
systemctl enable sshd.service

Connectivity

Ensure you can connect to the internet before proceeding. On the HDA, open Firefox and try to access a web page.

  • If you can’t, edit the DNS file:
vi /etc/resolv.conf
  • Add the following to the end of the file:
nameserver 208.67.222.222
nameserver 208.67.220.220
  • Restart the network:
systemctl restart network.service

Now check again and if you can access the internet, proceed to the next section. Otherwise, further troubleshooting will be required.

Install Amahi 7

Follow the guidance here for installing Amahi. Start with Install the Amahi repo by hand section. If you need to add additional hard drives, follow the guidance for adding additional drives. This includes procedures for the new 3 & 4 TB drives.

Install Greyhole (Optional)

Currently there is no Dashboard add-on to setup and configure Greyhole for Amahi 7. This must be done manually using the Manual Greyhole Setup wiki page.

Amahi 7 should not be installed and working as designed. Recommend you reboot the HDA next to verify all is working correctly.