Changes

From Amahi Wiki
Jump to: navigation, search
2,346 bytes added ,  03:06, 12 November 2018
__NOTOC__{{MessageBox|backgroundcolor = #faa|image =Warning.png|heading =WARNING|message = Amahi 7 for Fedora 19<br />Maintenance Support ONLY!Please use a supported release!}}This guidance is provided as an '''unsupportedUNSUPPORTED''' 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].
<u>PREREQUISITES</u>=Prequisites=
* USB Flash Drive (2GB minimum)
* [http://unetbootin.sourceforge.net/ UNetbootin] (download supports Windows/Linux/Mac OS])<br />'''NOTE:''' Ensure your system meets the [http://unetbootindocs.sourceforgeamahi.netorg/unetbootin-windows-latestrequirements.exe herehtml minimum requirements])for Amahi before proceeding. =Create USB image='''NOTE:''' These instructions are based on a Windows client, but easily adaptable to MAC or Linux.
=Create USB image (Windows)=* Insert USB flash drive into Windows your computer.
* Run UNetbootin
* Select ''' Download the appropriate version depending on your system:** [http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/19/Live/i386/Fedora-Live-Desktop-i686-19-1.iso Fedora''' for Distribution19 Live (32-bit)]* Choose '''19_Live * [http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/19/Live/x86_64/Fedora-Live-Desktop-x86_64-19-1.iso Fedora 19 Live (3264-bit)]* Select '''Diskimage' or ''and '19_Live_X64 (64-bit)'ISO'' depending on your system.for format* Browse to select the file you downloaded
* 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 extracts the files and then extracts them ISO to the USB flash drive.
* When UNetbootin finishes, select '''Exit''' and remove the USB flash drive.
=Install on ServerFedora=
* 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.
** Install to Hard Drive
* Select '''Install to Hard Drive'''.
* Configure the options as you desire, i.e. Time Zone, Hard Drive[[Hard_Drive_Partition_Scheme|hard drive partition scheme]]. 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.
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.
* Execute the following as a privileged user (precede commands with '''sudo''' if not run as '''root ''' user):
systemctl start sshd.service
= Connectivity =
Ensure you can connect to the internet before proceeding to '''Install Amahi 7''' section.  * Install network tools: On the HDA, open Firefox and yum -y install net-tools * Next try to access pinging a web pagesite such as google.com: ping google.com * You should see something similar to the following (proceed to the '''Install Amahi 7''' section):<pre>PING google.com (74.125.225.2) 56(84) bytes of data.64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=1 ttl=51 time=17.6 ms64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=2 ttl=51 time=16.2 ms64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=3 ttl=51 time=15.1 ms64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=4 ttl=51 time=15.9 ms</pre>
* If you can’tdid not get a successful ping, edit the following file:
vi /etc/resolv.conf
Now check again and if you can access the internet, proceed to the next section. Otherwise, further troubleshooting will be required.
= Install Amahi 7 = <!--Following Follow the guidance for [[Amahi_7_full_DVD|Amahi 7 Full DVD]] starting with the '''[[Amahi_7_full_DVD#Install_Amahi|Install the Amahi repo by hand''' ]] section.<!-->These steps can be performed via SSH or on the HDA in terminal mode.
* Install required packages:
rpm -Uvh <nowiki>http://f19.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm</nowiki>
hda-install YOUR-INSTALL-CODE
* If all goes well, you should be asked to reboot.
* Once the machine is rebooted and you log in, open Firefox and enter '''<nowiki>http://hda/</nowiki>'''a web browser on a client machine.** Enter the IP address of the HDA.** The dashboard should appear shortly.<br />-->
<b>NOTE:</b> If you need to add additional hard drives, follow refer to 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 (Optional) =
Follow the guidance Amahi application [https://www.amahi.org/apps/greyhole-ui Greyhole UI] provides this capablity. '''NOTE:''' If you would still like to setup your Greyhole pool manually, please see [Amahi_7_Create_Manual_Greyhole_Setup[Amahi_Create_Manual_Greyhole_Setup|Manual Greyhole Setup]] to configure Greyhole for Amahi 7.
= Install Complete =
Amahi 7 should be installed and working as designed. Recommend you reboot the HDA next to verify all is working correctly.
 
= Customizations (Optional)=
You can disable the GUI and boot headless. You can also remove the boot splash screen as well.
 
<b>NOTE:</b> All of the steps require privileged user environment (root user or precede commands with sudo).
 
* Disable GUI on boot:
rm -rf /etc/systemd/system/default.target
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
 
* Restore GUI on boot:
rm -rf /etc/systemd/system/default.target
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
 
* Remove boot splash:
** Edit /etc/default/grub
** Add '''#''' to beginning of '''GRUB_CMDLINE_LINUX''' line:
** Rebuild GRUB menu:
grub2-mkconfig -o /boot/grub2/grub.cfg
 
* Restore boot splash:
** Edit /etc/default/grub
** Remove '''#''' from beginning of '''GRUB_CMDLINE_LINUX''' line.
** Rebuild GRUB menu:
grub2-mkconfig -o /boot/grub2/grub.cfg
 
* You will need to reboot to complete the changes.
reboot
 
 
Reference: [http://unix.stackexchange.com/questions/60938/disabling-x-server-on-fedora-17 Disabling X Server on Fedora 17]
12,424

edits