Changes

From Amahi Wiki
Jump to: navigation, search
10,578 bytes added ,  00:18, 20 April 2017
Created page with "{{MessageBox| backgroundcolor = #ffaaaa| image =Warning.png| heading =WARNING| message = This is only for developers. Not ready for Production! See [http://docs.amahi.org A..."
{{MessageBox|
backgroundcolor = #ffaaaa|
image =Warning.png|
heading =WARNING|
message = This is only for developers. Not ready for Production!
See [http://docs.amahi.org Amahi Docs] for the officially supported version, Amahi 9 on Fedora 23.}}
__TOC__


'''NOTES:'''
* The only '''officially supported''' install media is Fedora 25 Server.
* Ensure your system meets the [[Requirements|minimum hardware requirements]] for Amahi before proceeding.
* 32-bit installs '''are not''' available nor supported in Amahi 10.
* '''NOT ALL''' apps available in Amahi 9 are fully operational for Amahi 10. Check the [https://www.amahi.org/apps App Store] before proceeding.
* You must install Fedora 25 Server prior to installing Amahi 10.


For assistance, visit the [https://forums.amahi.org Amahi Forums] or live support on the [http://talk.amahi.org Amahi IRC channel].

= Install Fedora 25=
There are two ways to install Fedora: Minimal (CD), so-called Netinstall, which is recommended, and the [[Fedora_25_Server_Install|Full (DVD) install]] for cases that need additional hardware support.

We recommend this method for a quick download and fast installation.

* Download the Fedora 25 Netinstall CD for 64 bit (484MB).
** Primary: [https://download.fedoraproject.org/pub/fedora/linux/releases/25/Server/x86_64/iso/Fedora-Server-netinst-x86_64-25-1.3.iso Fedora-Server-netinst-x86_64-25-1.3.iso]
** Alternate: [https://dl.fedoraproject.org/pub/fedora/linux/releases/25/Server/x86_64/iso/Fedora-Server-netinst-x86_64-25-1.3.iso Fedora-Server-netinst-x86_64-25-1.3.iso]

* Burn the ISO to CD/DVD (or [[USB Install|USB]]), insert the media into your server, and reboot the system.

* These instructions below will guide you through the Fedora 25 Netinstall CD 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==
<ul>
<li>Select ''Install Fedora 25''
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS0.PNG|600px]]
</div><br></li>
</ul>

==Language Selection==
<ul>
<li>Choose desired language and select ''Continue''
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS1.PNG|600px]]
</div><br></li>
</ul>

==Installation Summary==
<ul>
<li>The '''INSTALLATION SUMMARY''' screen will appear. It may take a few minutes to finish ''Checking software dependencies''
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS2A.PNG|600px]]
</div><br></li>

<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:400px">
[[file:F25CD_SS2B.PNG|600px]]
</div><br></li>
<li> Verify '''NETWORK & HOST NAME''' indicates ''connected''. Don't make any changes unless you are sure of what you are doing.</li>
</ul>

==Disk Drive Setup==
<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:400px">
[[file:F25CD_SS3.PNG|600px]]
</div><br></li>

<li>Should you have existing partitions on the disk drive you will be using for the Fedora 25 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:F25CD_SS3A.PNG|250px]]
</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:F25CD_SS3C.PNG|250px]]
</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:F25CD_SS3B.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''. '''STRONGLY advise against using LVM or creating a separate /home partition'''.
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS4.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 documentation as a guide. Once complete, choose ''Done''
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS5.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:400px">
[[file:F25CD_SS3D.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:F25CD_SS12.PNG|600px]]
</div><br></li>

<li>Select ''Minimal Install'' and then choose ''Done''
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS6.PNG|600px]]
</div><br></li>
</ul>

==Begin Installation==
<ul>
<li>Back to the '''INSTALLATION SUMMARY''' and ready to begin installation. Select ''Begin Installation''
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS7.PNG|600px]]
</div><br></li>
</ul>

==Initial User Creation==
<ul>
<li>Installation has begun and we need to create the initial user. '''DO NOT''' set the root password.
<div class="mw-collapsible mw-collapsed" style="width:400px">
[[file:F25CD_SS8A.PNG|600px]]
</div><br></li>

<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:F25CD_SS10.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:400px">
[[file:F25CD SS11.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:400px">
[[file:F25CD SS13.PNG|600px]]
</div><br></li></ul>

= Install Amahi 10 =

Next, we will install Amahi 10 proper on top of Fedora 25.

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. (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.

From text console or using SSH (logged in with the user created in the Fedora 25 installation), become ''root'' for the Amahi installation. When prompted for a password, it's your user password you set in the Fedora 25 install.<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 three separate commands (one per line) 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://f25.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm</nowiki>
dnf -y install hda-ctl
hda-install YOUR-INSTALL-CODE
</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 F25 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.
* 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 [http://docs.amahi.org Amahi Docs] page.
12,424

edits