Changes

From Amahi Wiki
Jump to: navigation, search
4,019 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 '''UNSUPPORTED''' install of Amahi 7 on Fedora 19 using a USB flash drive. It requires manual configuration to install [[Amahi_7|Amahi 7]].
The =Prequisites=* USB Flash Drive (2GB minimum)* [http://unetbootin.sourceforge.net/ UNetbootin] (supports Windows/Linux/Mac OS])<br />'''officially supported instructionsNOTE:''' are at Ensure your system meets the [http://wwwdocs.amahi.org/support/instructions install instructionsrequirements.html minimum requirements] page in your control panel at amahi.orgfor Amahi before proceeding.
This page covers an =Create USB image='''unsupportedNOTE:''' install using Fedora 19 with USB boot, manual Amahi These instructions are based on a Windows client, and greyhole installbut easily adaptable to MAC or Linux.
<u>PREREQUISITES</u>* USB Flash Drive (2GB minimum)* [http://unetbootin.sourceforge.net/ UNetbootin] (download [http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe here]) =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 ''' or Diskimage'''19_Live_X64 (64-bit)and ''ISO'' depending on your system.for format* Browse to select the file you downloaded* Verify at the bottom the 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'''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. <br /><b>NOTE:</b> 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 screen appearshas booted, you will have two options:** Continue as Live sessionTry Fedora
** 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 '''ContinueBegin 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 />
<blockquote><b>NOTE:</b> Ensure Most commands from here 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 set a will need to be '''root password and''' user.</or create a user and make it an administrator blockquote> = Enable SSH (recommend creating both usersOptional)=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 privileges systemctl start sshd. service If you are going to do this remotely you will need to systemctl enable SSHsshd. The following will enable SSH and ensure it is started every time:service
{{Code|Code = service sshd startchkconfig sshd on Connectivity =}}Ensure you can connect to the internet before proceeding to '''Install Amahi 7''' section.
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* Install network tools: yum -y install net-tools
{{Code|* Next try pinging a web site such as google.com:Code = sudo su -}} 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= DNS 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>
Make sure * If you can connect to did not get a successful ping, edit the internet (ping google.com for example). following file: If you can’t, try manually adding DNS servers to vi /etc/resolv.conf (you could add  * Add the following to the end of the openDNS servers for examplefile: <pre>nameserver 208.67.222.222 and nameserver 208.67.220.220)</pre> * 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 =
Follow the guidance for [[Amahi_7_full_DVD|hereAmahi 7 Full DVD]] for installing starting with the [[Amahi_7_full_DVD#Install_Amahi|Install Amahi]] section.<!--These steps can be performed via SSH or on the HDA in terminal mode. * Install required packages: Start with rpm -Uvh <nowiki>http://f19.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm<u/nowiki>Install yum -y install mariadb-libs mariadb-server yum -y install hda-ctl hda-platform* Next we need to manually execute the installer (substitute your install code): hda-install YOUR-INSTALL-CODE* If all goes well, you should be asked to reboot.* Once the machine is rebooted, open a web browser on a client machine.** Enter the IP address of the Amahi repo by handHDA.** The dashboard should appear shortly.<br />--> <b>NOTE:</ub> section. 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) =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_Create_Manual_Greyhole_Setup|Manual Greyhole Setup]]. = 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
= Install Greyhole =
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 systemReference: [http://unix.stackexchange.com/questions/60938/disabling-x-server-on-fedora-17 Disabling X Server on Fedora 17]
12,424

edits