Fedora 19 USB install
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.
Contents
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