Difference between revisions of "Fedora 19 USB install"
(49 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{MessageBox| | |
− | This guidance is provided as an ''' | + | 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]]. | ||
− | + | =Prequisites= | |
* USB Flash Drive (2GB minimum) | * USB Flash Drive (2GB minimum) | ||
− | * [http://unetbootin.sourceforge.net/ UNetbootin] ( | + | * [http://unetbootin.sourceforge.net/ UNetbootin] (supports Windows/Linux/Mac OS]) |
+ | <br /> | ||
+ | '''NOTE:''' Ensure your system meets the [http://docs.amahi.org/requirements.html 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. | ||
− | + | * Insert USB flash drive into your computer. | |
− | * Insert USB flash drive into | ||
* Run UNetbootin | * 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 | * Verify at the bottom | ||
** Type is '''USB Drive''' | ** Type is '''USB Drive''' | ||
** Drive listed is for your USB flash drive. If not, select the appropriate 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 | + | * 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. | * When UNetbootin finishes, select '''Exit''' and remove the USB flash drive. | ||
− | =Install | + | =Install Fedora= |
* Insert the USB flash drive into your server. | * 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. | * 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. | ||
Line 26: | Line 38: | ||
** Install to Hard Drive | ** Install to Hard Drive | ||
* Select '''Install to Hard Drive'''. | * Select '''Install to Hard Drive'''. | ||
− | * Configure the options as you desire, i.e. Time Zone, | + | * Configure the options as you desire, i.e. Time Zone, [[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: | * 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. | ** Set a root password and create a user. | ||
Line 36: | Line 48: | ||
** Once the login screen appears, you can remove the USB flash drive and log in using the password for the user set during install. | ** 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 /> | <br /> | ||
− | <blockquote><b>NOTE:</b> Most commands from | + | <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, you may need to precede them with '''sudo''' (made user administrator). Otherwise, you will need to be '''root''' user.</blockquote> |
+ | |||
= Enable SSH (Optional)= | = Enable SSH (Optional)= | ||
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. | 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): | + | * Execute the following as a privileged user (precede commands with '''sudo''' if not run as '''root''' user): |
systemctl start sshd.service | systemctl start sshd.service | ||
Line 46: | Line 59: | ||
= Connectivity = | = Connectivity = | ||
− | Ensure you can connect to the internet before proceeding. | + | Ensure you can connect to the internet before proceeding to '''Install Amahi 7''' section. |
+ | |||
+ | * Install network tools: | ||
+ | yum -y install net-tools | ||
+ | |||
+ | * Next try pinging a web site 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 ms | ||
+ | 64 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 ms | ||
+ | 64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=4 ttl=51 time=15.9 ms</pre> | ||
− | * If you | + | * If you did not get a successful ping, edit the following file: |
vi /etc/resolv.conf | vi /etc/resolv.conf | ||
Line 62: | Line 88: | ||
Now check again and if you can access the internet, proceed to the next section. Otherwise, further troubleshooting will be required. | Now check again and if you can access the internet, proceed to the next section. Otherwise, further troubleshooting will be required. | ||
− | = Install Amahi | + | = Install Amahi = |
− | Follow the guidance for [[Amahi_7_full_DVD|Amahi 7 Full DVD]] starting with the | + | Follow the guidance for [[Amahi_7_full_DVD|Amahi 7 Full DVD]] 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: | ||
+ | rpm -Uvh <nowiki>http://f19.amahi.org/noarch/hda-release-6.9.0-1.noarch.rpm</nowiki> | ||
+ | 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 HDA. | ||
+ | ** The dashboard should appear shortly. | ||
+ | <br />--> | ||
− | <b>NOTE:</b> If you need to add additional hard drives, | + | <b>NOTE:</b> If you need to add additional hard drives, 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) = | = 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 = | = Install Complete = | ||
Amahi 7 should be installed and working as designed. Recommend you reboot the HDA next to verify all is working correctly. | 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] |
Latest revision as of 03:06, 12 November 2018
WARNING | |
---|---|
Amahi 7 for Fedora 19 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.
Prequisites
- USB Flash Drive (2GB minimum)
- UNetbootin (supports Windows/Linux/Mac OS])
NOTE: Ensure your system meets the 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.
- Insert USB flash drive into your computer.
- Run UNetbootin
- Download the appropriate version depending on your system:
- 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.
Install Fedora
- 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.
- Select Start Fedora Live from the menu.
- Once the Fedora has booted, you will have two options:
- Try Fedora
- Install to Hard Drive
- Select Install to Hard Drive.
- Configure the options as you desire, i.e. Time Zone, 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.
- 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.
NOTE: 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 will need to be root user.
Enable SSH (Optional)
We need to enable SSH for remote access. If you don't intend to access your HDA remotely inside or outside your network via 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 systemctl enable sshd.service
Connectivity
Ensure you can connect to the internet before proceeding to Install Amahi 7 section.
- Install network tools:
yum -y install net-tools
- Next try pinging a web site such as google.com:
ping google.com
- You should see something similar to the following (proceed to the Install Amahi 7 section):
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 ms 64 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 ms 64 bytes from ord08s12-in-f2.1e100.net (74.125.225.2): icmp_seq=4 ttl=51 time=15.9 ms
- If you did not get a successful ping, edit the following file:
vi /etc/resolv.conf
- Add the following to the end of the file:
nameserver 208.67.222.222 nameserver 208.67.220.220
- 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 starting with the Install Amahi section.
NOTE: If you need to add additional hard drives, refer to the guidance for adding additional drives. This includes procedures for the new 3 & 4 TB drives.
Install Greyhole (Optional)
Amahi application Greyhole UI provides this capablity.
NOTE: If you would still like to setup your Greyhole pool manually, please see 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.
NOTE: 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: Disabling X Server on Fedora 17