Difference between revisions of "Fedora 21 Server Install"

From Amahi Wiki
Jump to: navigation, search
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Basic Instructions ==
+
=Install Fedora 21=
This basic instructions below summarize the Fedora 21 Server DVD installation.
+
This is only recommended for cases where the Minimal (CD) install does not work well (e.g. if your hardware needs extra drivers).
 +
* Download the Fedora 21 Server DVD for 64 bit (1.91GB), preferably using torrents
 +
** [https://torrent.fedoraproject.org/torrents/Fedora-Server-DVD-x86_64-21.torrent Fedora 21 Server 64-bit] (torrent)
 +
**[http://mirror.web-ster.com/fedora/releases/21/Server/x86_64/iso/Fedora-Server-DVD-x86_64-21.iso Fedora 21 Server 64-bit] (http)
  
* Select ''Install Fedora-Server 21''
+
* Burn the ISO to DVD (or or [[USB Install|USB]]), insert the media into your server, and reboot the system.
* Choose desired language and select ''Continue''
 
* Then select '''INSTALLATION DESTINATION'''.
 
* Choose the disk drive you want to use for the Fedora installation.  If you have more than one disk drive connected, '''DO NOT''' select them at this time.
 
** Select ''I will configure partitioning'' and then choose ''Continue''. 
 
** Ensure the ''New mount points will use the following partitioning scheme:'' is changed to reflect '''Standard partition'''.  Refer to [[Fedora_21_Existing_Disk|remove existing disk partitions]] guidance if you are not using an empty disk drive.
 
** Then select ''Click here to create them automatically''.  You can manually change it using the [[Hard_Drive_Partition_Scheme|hard drive partition scheme]] documentation as a guide.  Once complete, choose ''Done''
 
** You will now see '''SUMMARY OF CHANGES''' to the disk drive.  Choose ''Accept Changes''
 
* Back to the '''INSTALLATION SUMMARY''', select ''Begin Installation''. 
 
* Once installation has begun, we need to create the First ''Admin'' User and password (This will be your HDA Login).  Ensure you select ''Make this user administrator'' check box.  Once complete, choose ''Done''.  '''DO NOT''' set the root password.
 
* Once installation is complete.  Choose ''Reboot'' and remove the installation media.
 
  
 +
* These instructions below will guide you through the Fedora 21 Server DVD installation with screen shots and commentary.  Click '''[Expand]''' to show a screen shot and '''[Collapse]''' to hide it.
  
Now proceed to the [[Amahi_8_Install#Install_Amahi_8|Amahi 8 Install]] section.
+
== Boot Screen ==
 +
<ul>
 +
<li>Select ''Install Fedora-Server 21''
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS0-Boot.PNG|600px]]
 +
</div><br></li>
 +
</ul>
 +
== Language Selection ==
 +
<ul>
 +
<li>Choose desired language and select ''Continue''
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS1-Language.PNG|600px]]
 +
</div><br></li>
 +
</ul>
 +
== Installation Summary ==
 +
<ul>
 +
<li>Change the '''KEYBOARD''' or '''TIME & DATE''' to match your locale if needed.</li><br>
 +
<li>Once complete, next choose ''INSTALLATION DESTINATION''.  This is where you will select the disk drive to use. 
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS3-Install.PNG|600px]]
 +
</div><br></li>
 +
</ul>
  
== Detailed Instructions ==
+
== Disk Drive Setup ==
This instructions below will guide you through the Fedora 21 Server DVD installation with screen shots and commentary.
+
<ul>
 +
<li>Choose the disk drive you want to use for the Fedora installation.  If you have more than one disk drive connected, '''DO NOT''' select them at this time. You will notice a ''check mark'' on the disk drive selected.  Select ''I will configure partitioning'' and then choose ''Done''. 
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS5-Install-Disk.PNG|600px]]
 +
</div><br></li>
 +
<li>Should you have existing partitions on the disk drive you will be using for the Fedora 23 installation, they will have to be removed.</li>
 +
<ul>
 +
<li> You should see the existing partition about half way down the screen.
 +
<div class="mw-collapsible mw-collapsed" style="width:400px">
 +
[[File:DSS1.PNG|300px]] 
 +
</div></li><br>
 +
<li>Choose it to expand and display the existing partitions for deletion.  Select the first partition in the list followed by the minus (-) sign.
 +
<div class="mw-collapsible mw-collapsed" style="width:400px">
 +
[[File:DSS2.PNG|300px]]
 +
</div></li><br>
 +
<li> When prompted Are you sure you want to delete all the data on ..., choose Delete It.
 +
<div class="mw-collapsible mw-collapsed" style="width:400px">
 +
[[File:DSS3.PNG|400px]] 
 +
</div></li><br>
 +
<li> Repeat the previous two steps until all the existing partitions on the disk drive are gone.</li><br>
 +
</ul>
 +
<li>Ensure the ''New mount points will use the following partitioning scheme:'' is changed to reflect '''Standard partition'''.  Then select ''Click here to create them automatically''. We '''STRONGLY''' advise against use of LVM or setting a /home partition.
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS6-Install-Disk.PNG|600px]]
 +
</div><br></li>
 +
<li>The disk drive partition should look similar to this setup.  For most users, then default partitioning scheme used will suffice.  However, you can manually change it using the [[Hard_Drive_Partition_Scheme|hard drive partition scheme]] documentation as a guide.  Once complete, choose ''Done''
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS7-Install-Disk.PNG|600px]]
 +
</div><br></li>
 +
<li>You will now see '''SUMMARY OF CHANGES''' to the disk drive.  Choose ''Accept Changes''
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS8-Install-Disk.PNG|600px]]
 +
</div><br></li>
 +
</ul>
 +
== Software Selection ==
 +
<ul>
 +
<li>Next on the '''INSTALLATION SUMMARY''', select ''SOFTWARE SELECTION''
 +
<div class="mw-collapsible mw-collapsed" style="width:400px">
 +
[[File:SS9-Install.PNG|600px]]
 +
</div><br></li>
 +
<li>Scroll down and select ''Minimal Install'' and then choose ''Done''
 +
<div class="mw-collapsible mw-collapsed" style="width:400px">
 +
[[File:SS10a-Install.PNG|600px]]
 +
</div><br></li>
 +
</ul>
  
=== Boot Screen ===
+
== Begin Installation ==
* Select ''Install Fedora-Server 21''
+
<ul>
:[[File:SS0-Boot.PNG|600px]]
+
<li>Back to the '''INSTALLATION SUMMARY''' and ready to begin installation.  Select ''Begin Installation''
=== Language Selection ===
+
<div class="mw-collapsible mw-collapsed" style="width:600px">
* Choose desired language and select ''Continue''
+
[[File:SS9-Install.PNG|600px]]
:[[File:SS1-Language.PNG|600px]]
+
</div><br></li>
=== Installation Summary ===
+
</ul>
* The '''INSTALLATION SUMMARY''' screen will appear.  It may take a few minutes to finish ''Checking software dependencies''
 
:[[File:SS2-Install.PNG|600px]]
 
* Once complete, next choose ''INSTALLATION DESTINATION''.  This is where you will select the disk drive to use. 
 
:[[File:SS3-Install.PNG|600px]]
 
=== Disk Drive Setup ===
 
* Choose the disk drive you want to use for the Fedora installation.  If you have more than one disk drive connected, '''DO NOT''' select them at this time.
 
:[[File:SS4-Install-Disk.PNG|600px]]
 
* You will notice a ''check mark'' on the disk drive selected.  Select ''I will configure partitioning'' and then choose ''Continue''. 
 
:[[File:SS5-Install-Disk.PNG|600px]]
 
* Ensure the ''New mount points will use the following partitioning scheme:'' is changed to reflect '''Standard partition'''.  Refer to [[Fedora_21_Existing_Disk|remove existing disk partitions]] guidance if you are not using an empty disk drive.  Then select ''Click here to create them automatically''.
 
:[[File:SS6-Install-Disk.PNG|600px]]
 
* The disk drive partition should look similar to this setup.  For most users, then default partitioning scheme used will suffice.  However, you can manually change it using the [[Hard_Drive_Partition_Scheme|hard drive partition scheme]] documentation as a guide.  Once complete, choose ''Done''
 
:[[File:SS7-Install-Disk.PNG|600px]]
 
* You will now see '''SUMMARY OF CHANGES''' to the disk drive.  Choose ''Accept Changes''
 
:[[File:SS8-Install-Disk.PNG|600px]]
 
=== Begin Installation ===
 
* Back to the '''INSTALLATION SUMMARY''' and ready to begin installation.  Select ''Begin Installation''
 
:[[File:SS9-Install.PNG|600px]]
 
=== Create First Admin User ===
 
* Installation has begun, but we need to create the First ''Admin'' User and password (This will be your HDA Login).  Ensure you select ''Make this user administrator'' check box.  Once complete, choose ''Done''.  A weak password may require you to select ''Done'' twice.  '''DO NOT''' set the root password.
 
:[[File:SS12-User.PNG|600px]]
 
  
=== Installation Progress ===
+
== Initial User Creation ==
* Now all of the configuration steps are complete.  Sit back and watch the progress.
+
<ul>
:[[File:SS13-Install.PNG|600px]]
+
<li>Installation has begun and we need to create the initial user. '''DO NOT''' set the root password.
=== Installation Complete ===
+
<div class="mw-collapsible mw-collapsed" style="width:400px">
* Installation is complete.  Choose ''Reboot'' and remove the installation media.
+
[[file:SS10-User.PNG|600px]]
:[[File:SS14-Finished.PNG|600px]]
+
</div><br></li>
  
Now proceed to the [[Amahi_8_Install#Install_Amahi_8|Amahi 8 Install]] section.
+
<li>You '''MUST''' create the initial user and password (This will be your HDA Login, also called the First Admin User). Ensure you select ''Make this user administrator'' check box. Once complete, choose ''Done''. Note that a weak password may require you to select ''Done'' twice.
 +
<div class="mw-collapsible mw-collapsed" style="width:400px">
 +
[[File:SS12-User.PNG|600px]]
 +
</div><br></li>
 +
</ul>
 +
 
 +
== Installation Progress ==
 +
<ul>
 +
<li>Now all of the configuration steps are complete.  Sit back and watch the progress. 
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS13-Install.PNG|600px]]
 +
</div><br></li>
 +
</ul>
 +
== Installation Complete ==
 +
<ul>
 +
<li>Installation is complete.  Choose ''Reboot'' and remove the installation media.
 +
<div class="mw-collapsible mw-collapsed" style="width:600px">
 +
[[File:SS14-Finished.PNG|600px]]
 +
</div><br></li>
 +
</ul>
 +
 
 +
= Install Amahi 8 =
 +
 
 +
Next, install Amahi 8 proper on top of Fedora 21.
 +
 
 +
You need to obtain an install code (denoted YOUR-INSTALL-CODE below) from the [https://www.amahi.org/users Amahi control panel] after configuring a profile for the system you are installing, with '''proper network configuration''' for your network.
 +
 
 +
From text console or using SSH, login with the user created in the Fedora 21 installation and become ''root'' for the Amahi installation<br />
 +
 
 +
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left">
 +
  sudo su -
 +
</div>
 +
 
 +
After that, type these commands in the console:
 +
 
 +
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left">
 +
  <nowiki>rpm -Uvh http://f21.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm</nowiki>
 +
  yum -y install mariadb-libs mariadb-server
 +
  yum -y install rsyslog avahi
 +
  yum -y install hda-ctl hda-platform
 +
  hda-install YOUR-INSTALL-CODE
 +
</div>
 +
What this does is this: Installs the Amahi F21 repo, gets the mariadb base packages to avoid dependency conflicts, and installs base Amahi packages (that part should install several packages).
 +
 
 +
If there are no errors, install Amahi (replace ''YOUR-INSTALL-CODE'' above with install code you got when creating a profile at [https://www.amahi.org/users your Amahi control panel]).
 +
 
 +
If all goes well, it should tell you to reboot. Go ahead and reboot!
 +
 
 +
Once it comes back from the reboot, you should have a fully functional home server using the IP address you set up in your network!
 +
 
 +
 
 +
Next you need to transition your network to use it!
 +
 
 +
= Transitioning to your Amahi server =
 +
 
 +
Once installed, you will want to transition your network to using your Amahi server. Here are some of the things you should know:
 +
 
 +
* Your server will boot with the static IP you pre-configured in the Amahi control panel
 +
* This is a headless server, therefore it will boot to a text console.  There is no desktop user interface.
 +
* It's strongly recommended you follow the [[transition to Amahi]] HDA guide to get your network fully working properly
 +
* You can verify if the dashboard is available by accessing it from any client using the IP address of your server '''<nowiki>http://IPADDRESS/</nowiki>''' or '''<nowiki>http://hda/</nowiki>''' (in most Windows clients this works even without DNS from your HDA)
 +
* The first time it will initialize, ask you to login, and enter a dashboard password.  This is the First Admin User created earlier in the Fedora 21 installation.
 +
* Once you reach your [[Setup|dashboard]], you should [[Storage_and_file_sharing|create shares]] as needed, [[Adding_a_second_hard_drive_to_your_HDA|add more drives]], install apps, etc., etc.
 +
* Optionally refer to [[Greyhole#Amahi_7.2F8|Greyhole]] to install/configure storage pooling.
 +
 
 +
= Troubleshooting =
 +
 
 +
Visit the [[troubleshooting]] page if you find yourself in trouble.
 +
 
 +
= Reference =
 +
Refer to the [[HDA Admin How To]] page for Amahi Server administrator guidance.
 +
 
 +
 
 +
Go back to the [http://docs.amahi.org/amahi-8.html Amahi 8 Docs] page.

Latest revision as of 01:43, 4 October 2018

Install Fedora 21

This is only recommended for cases where the Minimal (CD) install does not work well (e.g. if your hardware needs extra drivers).

  • Burn the ISO to DVD (or or USB), insert the media into your server, and reboot the system.
  • These instructions below will guide you through the Fedora 21 Server DVD installation with screen shots and commentary. Click [Expand] to show a screen shot and [Collapse] to hide it.

Boot Screen

  • Select Install Fedora-Server 21

    SS0-Boot.PNG


Language Selection

  • Choose desired language and select Continue

    SS1-Language.PNG


Installation Summary

  • Change the KEYBOARD or TIME & DATE to match your locale if needed.

  • Once complete, next choose INSTALLATION DESTINATION. This is where you will select the disk drive to use.

    SS3-Install.PNG


Disk Drive Setup

  • Choose the disk drive you want to use for the Fedora installation. If you have more than one disk drive connected, DO NOT select them at this time. You will notice a check mark on the disk drive selected. Select I will configure partitioning and then choose Done.

    SS5-Install-Disk.PNG


  • Should you have existing partitions on the disk drive you will be using for the Fedora 23 installation, they will have to be removed.
    • You should see the existing partition about half way down the screen.

      DSS1.PNG


    • Choose it to expand and display the existing partitions for deletion. Select the first partition in the list followed by the minus (-) sign.

      DSS2.PNG


    • When prompted Are you sure you want to delete all the data on ..., choose Delete It.

      DSS3.PNG


    • Repeat the previous two steps until all the existing partitions on the disk drive are gone.

  • Ensure the New mount points will use the following partitioning scheme: is changed to reflect Standard partition. Then select Click here to create them automatically. We STRONGLY advise against use of LVM or setting a /home partition.

    SS6-Install-Disk.PNG


  • The disk drive partition should look similar to this setup. For most users, then default partitioning scheme used will suffice. However, you can manually change it using the hard drive partition scheme documentation as a guide. Once complete, choose Done

    SS7-Install-Disk.PNG


  • You will now see SUMMARY OF CHANGES to the disk drive. Choose Accept Changes

    SS8-Install-Disk.PNG


Software Selection

  • Next on the INSTALLATION SUMMARY, select SOFTWARE SELECTION

    SS9-Install.PNG


  • Scroll down and select Minimal Install and then choose Done

    SS10a-Install.PNG


Begin Installation

  • Back to the INSTALLATION SUMMARY and ready to begin installation. Select Begin Installation

    SS9-Install.PNG


Initial User Creation

  • Installation has begun and we need to create the initial user. DO NOT set the root password.

    SS10-User.PNG


  • You MUST create the initial user and password (This will be your HDA Login, also called the First Admin User). Ensure you select Make this user administrator check box. Once complete, choose Done. Note that a weak password may require you to select Done twice.

    SS12-User.PNG


Installation Progress

  • Now all of the configuration steps are complete. Sit back and watch the progress.

    SS13-Install.PNG


Installation Complete

  • Installation is complete. Choose Reboot and remove the installation media.

    SS14-Finished.PNG


Install Amahi 8

Next, install Amahi 8 proper on top of Fedora 21.

You need to obtain an install code (denoted YOUR-INSTALL-CODE below) from the Amahi control panel after configuring a profile for the system you are installing, with proper network configuration for your network.

From text console or using SSH, login with the user created in the Fedora 21 installation and become root for the Amahi installation

 sudo su -

After that, type these commands in the console:

  rpm -Uvh http://f21.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm
  yum -y install mariadb-libs mariadb-server
  yum -y install rsyslog avahi
  yum -y install hda-ctl hda-platform
  hda-install YOUR-INSTALL-CODE

What this does is this: Installs the Amahi F21 repo, gets the mariadb base packages to avoid dependency conflicts, and installs base Amahi packages (that part should install several packages).

If there are no errors, install Amahi (replace YOUR-INSTALL-CODE above with install code you got when creating a profile at your Amahi control panel).

If all goes well, it should tell you to reboot. Go ahead and reboot!

Once it comes back from the reboot, you should have a fully functional home server using the IP address you set up in your network!


Next you need to transition your network to use it!

Transitioning to your Amahi server

Once installed, you will want to transition your network to using your Amahi server. Here are some of the things you should know:

  • Your server will boot with the static IP you pre-configured in the Amahi control panel
  • This is a headless server, therefore it will boot to a text console. There is no desktop user interface.
  • It's strongly recommended you follow the transition to Amahi HDA guide to get your network fully working properly
  • You can verify if the dashboard is available by accessing it from any client using the IP address of your server http://IPADDRESS/ or http://hda/ (in most Windows clients this works even without DNS from your HDA)
  • The first time it will initialize, ask you to login, and enter a dashboard password. This is the First Admin User created earlier in the Fedora 21 installation.
  • Once you reach your dashboard, you should create shares as needed, add more drives, install apps, etc., etc.
  • Optionally refer to Greyhole to install/configure storage pooling.

Troubleshooting

Visit the troubleshooting page if you find yourself in trouble.

Reference

Refer to the HDA Admin How To page for Amahi Server administrator guidance.


Go back to the Amahi 8 Docs page.