Difference between revisions of "Fedora 23 Server Install"

From Amahi Wiki
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{MessageBox|backgroundcolor = #FBB|
+
{{MessageBox|
 +
backgroundcolor = #faa|
 
image =Warning.png|
 
image =Warning.png|
 
heading =WARNING|
 
heading =WARNING|
message = This is the Development page for Amahi 9 on Fedora 23. <br />It '''IS NOT''' production ready.}}
+
message = Amahi 9 for Fedora 23<br />Maintenance Support ONLY!
 +
Please use a supported release!<br />}}
 
= Install Fedora 23 =
 
= Install Fedora 23 =
 
This is only recommended for cases where the Minimal (CD) Install does not work well (e.g. if your hardware needs extra drivers).
 
This is only recommended for cases where the Minimal (CD) Install does not work well (e.g. if your hardware needs extra drivers).
Line 30: Line 32:
 
== Installation Summary ==
 
== Installation Summary ==
 
<ul>
 
<ul>
<li>Change the '''KEYBOARD''' or '''TIME & DATE''' to match your locale if needed.</li><br>
+
<li>Change the '''KEYBOARD''' or '''TIME & DATE''' to match your locale if needed.</li>
 
<li>Once complete, next choose ''INSTALLATION DESTINATION''. This is where you will select the disk drive to use.
 
<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:400px">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
Line 39: Line 41:
  
 
== Disk Drive Setup ==
 
== Disk Drive Setup ==
 +
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #FFB6C1; margin: 3px 3px 1em 3px;">'''WARNING:'''  Amahi staff doesn't recommend using the default ''LVM'' partition scheme.  Doing so will dedicate most of the drive space in the system to the ''/home'' partition.  Amahi does not utilize this space, limiting storage for file shares and web applications.  For best results and maximum storage, use the ''Standard'' partition scheme.</div>
 +
 
<ul>
 
<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''.
 
<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''.
Line 44: Line 48:
 
[[file:F23CD_SS3.PNG|600px]]  
 
[[file:F23CD_SS3.PNG|600px]]  
 
</div><br></li>
 
</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>
 
<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>
 
<ul>
Line 50: Line 53:
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
[[file:F23CD_SS3A.PNG|250px]]   
 
[[file:F23CD_SS3A.PNG|250px]]   
</div></li><br>
+
</div><br></li>
 
 
 
<li>Choose it to expand and display the existing partitions for deletion.  Select the first partition in the list followed by the minus (-) sign.
 
<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">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
[[file:F23CD_SS3C.PNG|250px]]   
 
[[file:F23CD_SS3C.PNG|250px]]   
</div></li><br>
+
</div><br></li>
 
 
 
<li> When prompted Are you sure you want to delete all the data on ..., choose Delete It.
 
<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">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
[[file:F23CD_SS3B.PNG|400px]]   
 
[[file:F23CD_SS3B.PNG|400px]]   
</div></li><br>
+
</div><br></li>
 
+
<li> Repeat the previous two steps until all the existing partitions on the disk drive are gone.</li>
<li> Repeat the previous two steps until all the existing partitions on the disk drive are gone.</li><br>
 
 
</ul>
 
</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''.
<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''. '''STRONGLY advise against use of LVM or setting a /home partition.'''
 
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
[[file:F23CD_SS4.PNG|600px]]   
 
[[file:F23CD_SS4.PNG|600px]]   
 
</div><br></li>
 
</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 documentation as a guide. Once complete, choose ''Done''
 
<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 documentation as a guide. Once complete, choose ''Done''
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
[[file:F23CD_SS5.PNG|600px]]   
 
[[file:F23CD_SS5.PNG|600px]]   
 
</div><br></li>
 
</div><br></li>
 
 
<li>You will now see '''SUMMARY OF CHANGES''' to the disk drive. Choose ''Accept Changes''
 
<li>You will now see '''SUMMARY OF CHANGES''' to the disk drive. Choose ''Accept Changes''
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
Line 90: Line 87:
 
<li>Select ''Minimal Install'' and then choose ''Done''
 
<li>Select ''Minimal Install'' and then choose ''Done''
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
 
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F23CD_SS3D.PNG|600px]]   
+
[[file:F23CD_SS6.PNG|600px]]   
 
</div><br></li>
 
</div><br></li>
 
</ul>
 
</ul>
 +
 
== Begin Installation ==
 
== Begin Installation ==
 
<ul>
 
<ul>
Line 131: Line 129:
  
 
Next, install Amahi 9 proper on top of Fedora 23.
 
Next, install Amahi 9 proper on top of Fedora 23.
 +
 +
When you reboot you will see a black screen with no graphics and a "localhost login" text prompt. Login into that that console directly with the user you created in the Fedora 23 installation. (You can also use SSH to login remotely from a client if you know how.)
  
 
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.
 
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 23 installation and become ''root'' for the Amahi installation<br />
+
From text console or using SSH, login with the user created in the Fedora 23 installation and become ''root'' for the Amahi installation. When prompted for a password, it's your user password you set in the Fedora 23 install.<br />
  
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left">
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px; text-align: left">
Line 147: Line 147:
 
   hda-install YOUR-INSTALL-CODE
 
   hda-install YOUR-INSTALL-CODE
 
</div>
 
</div>
 
'''NOTE:'''  <code>yum</code> (deprecated) has been replaced with <code>dnf</code> as the Fedora package manager.
 
  
 
What this does is installs the Amahi F23 repo, gets the mariadb base packages to avoid dependency conflicts, and installs base Amahi packages (that part should install several packages).
 
What this does is installs the Amahi F23 repo, gets the mariadb base packages to avoid dependency conflicts, and installs base Amahi packages (that part should install several packages).

Latest revision as of 02:56, 12 November 2018

Warning.png WARNING
Amahi 9 for Fedora 23
Maintenance Support ONLY!

Please use a supported release!


Install Fedora 23

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 USB), insert the media into your server, and reboot the system.
  • These instructions below will guide you through the Fedora 23 Server DVD installation with screen shots and commentary. If you are not an advanced Linux user and know what you are doing, recommend you DO NOT deviate from the guidance. Click [Expand] to show a screen shot and [Collapse] to hide it.

Boot Screen

  • Select Install Fedora 23

    F23CD SS0.PNG


Language Selection

  • Choose desired language and select Continue

    F23CD SS1.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.

    F23DVD SS1.PNG


  • Verify NETWORK & HOST NAME indicates connected. Don't make any changes unless needed.

Disk Drive Setup

WARNING: Amahi staff doesn't recommend using the default LVM partition scheme. Doing so will dedicate most of the drive space in the system to the /home partition. Amahi does not utilize this space, limiting storage for file shares and web applications. For best results and maximum storage, use the Standard partition scheme.
  • 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.

    F23CD SS3.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.

      F23CD SS3A.PNG


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

      F23CD SS3C.PNG


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

      F23CD SS3B.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.

    F23CD SS4.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

    F23CD SS5.PNG


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

    F23CD SS3D.PNG


Software Selection

  • Next on the INSTALLATION SUMMARY, select SOFTWARE SELECTION

    F23DVD SS2.PNG


  • Select Minimal Install and then choose Done

    F23CD SS6.PNG


Begin Installation

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

    F23DVD SS4.PNG


Initial User Creation

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

    F23CD SS8A.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.

    F23CD SS10.PNG


Installation Progress

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

    F23DVD SS5.PNG


Installation Complete

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

    F23DVD SS6.PNG


Install Amahi 9

Next, install Amahi 9 proper on top of Fedora 23.

When you reboot you will see a black screen with no graphics and a "localhost login" text prompt. Login into that that console directly with the user you created in the Fedora 23 installation. (You can also use SSH to login remotely from a client if you know how.)

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 23 installation and become root for the Amahi installation. When prompted for a password, it's your user password you set in the Fedora 23 install.

 sudo su -

After that, type these commands in the console:

  rpm -Uvh http://f23.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm
  dnf -y install hda-ctl
  hda-install YOUR-INSTALL-CODE

What this does is installs the Amahi F23 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 using 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.
  • 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 9 Install page.