Changes

From Amahi Wiki
Jump to: navigation, search
4,529 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.
= Prepare * Insert USB Stick =flash drive into your computer.* Run UNetbootin* 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 19 Live (32-bit)]** [http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/19/Live/x86_64/Fedora-Live-Desktop-x86_64-19-1.iso Fedora 19 Live (64-bit)]* Select '''Diskimage''' and ''ISO'' 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 extracts the ISO to the USB flash drive.* When UNetbootin finishes, select '''Exit''' and remove the USB flash drive.
Download Unetbootin: http://unetbootin.sourceforge.net/unetbootin-windows-latest=Install Fedora=* Insert the USB flash drive into your server.exeUnetbootin is a standalone executable so doesn't need to be installed* Now boot your server using the USB flash drive. You will need admin rights.Make sure Some BIOS have function keys that allow you have a USB stick with enough space in your machine, then execute UNetbootinto choose the boot media.In Others may require changes to the UNetbootin window for Distribution select '''Fedora''' and '''19_Live (32-bit)''' or '''19_Live_X64 (64-bit)''' depending on your systemBIOS.
Make sure under type at * Select '''Start Fedora Live''' from the menu.* Once the bottomFedora has booted, "USB you will have two options:** Try Fedora** Install to Hard Drive" is selected and that next * Select '''Install to Hard Drive it shows your USB stick'''.* Configure the options as you desire, i.e. Time Zone, [[Hard_Drive_Partition_Scheme|hard drive partition scheme]]. When finished, else select '''Begin Installation'''.* Now you run will see the risk options to set a root password and/or create a user. You '''MUST''' do one of overwriting your datathe following:** Set a root password and create a user.** Create a user and make it an administrator.* Once UNetbootin finishesthe install is finished, don’t select '''Quit'''.* Finally we will need to rebootthe 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> Most commands from here on will need to be executed as a privileged user. Depending on how you configured the users at install, just exityou may need to precede them with '''sudo''' (made user administrator). Otherwise, you will need to be '''root''' user.</blockquote>
Remove = Enable SSH (Optional)=We need to enable SSH for remote access. If you don't intend to access your USB stick and insert it in HDA remotely inside or outside your servernetwork via [http://en. Boot your server using USBwikipedia.org/wiki/Secure_Shell SSH], you can skip this step.
Select Fedora installation to hard drive and configure * Execute the following as desired. Be sure to either set a privileged user (precede commands with '''sudo''' if not run as '''root password and/or create a ''' user and make it admin.):
= Enable SSH and Elevate Privilege= systemctl start sshd.service systemctl enable sshd.service
All commands in this guide are carried out in a terminal and with superuser privileges. If = Connectivity =Ensure you are going can connect to do this remotely you will need the internet before proceeding to enable SSH'''Install Amahi 7''' section. The following will enable SSH and ensure it is started every time:
{{Code|* Install network tools:Code = service sshd startchkconfig sshd on }} yum -y install net-tools
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* Next try pinging a web site such as google.com: ping google.com
{{Code|* You should see something similar to the following (proceed to the '''Install Amahi 7''' section):Code <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= sudo su 51 time=17.6 ms64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=2 ttl=51 time=16.2 ms}}64 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>
= DNS =* If you did not get a successful ping, edit the following file: vi /etc/resolv.conf
Make sure you can connect * Add the following to the internet (ping google.com for example). If you can’t, try manually adding DNS servers to /etc/resolv.conf (you could add 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