Difference between pages "Install/Overview" and "Hostname"

< Install(Difference between pages)
m (Live CD: Swap the download links)
 
 
Line 1: Line 1:
<noinclude>
+
==Introduction==
{{InstallPart|an initial overview of the installation process as well as LiveCD download and boot instructions.}}
+
A hostname is a unique name created to identify a machine on a network. In computer networking, a hostname  is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may be structured.
</noinclude>
+
==Configuration==
== Installation Overview ==
+
In Funtoo Linux, <code>/etc/conf.d/hostname</code> is the master configuration file for setting a hostname. In OpenRC framework <code>/etc/conf.d/foo</code> is the configuration file for a corresponding Init script <code>/etc/init.d/foo</code>. With the case of hostname, default value is set to ''localhost'', means when system boots and OpenRC's <code>/etc/init.d/hostname</code> script started a hostname getting only ''localhost'' name. How it looks?  In your shell promt this will look in following way, an example for root:
 
+
This is a basic overview of the Funtoo installation process:
+
 
+
# [[#Live CD|Download and boot the live CD of your choice]].
+
# [[#Prepare Hard Disk|Prepare your disk]].
+
# [[#Creating filesystems|Create]] and [[#Mounting filesystems|mount]] filesystems.
+
# [[#Installing the Stage 3 tarball|Install the Funtoo stage tarball]] of your choice.
+
# [[#Chroot into Funtoo|Chroot into your new system]].
+
# [[#Downloading the Portage tree|Download the Portage tree]].
+
# [[#Configuring your system|Configure your system]] and [[#Configuring your network|network]].
+
# [[#Configuring and installing the Linux kernel|Install a kernel]].
+
# [[#Installing a Bootloader|Install a bootloader]].
+
# [[#Finishing Steps|Complete final steps]].
+
# [[#Restart your system|Reboot and enjoy]].
+
 
+
=== Live CD ===
+
 
+
Funtoo doesn't provide an "official" Funtoo Live CD. We recommend using the Gentoo-based [http://www.sysresccd.org/ System Rescue CD] as it contains lots of tools and utilities and supports both 32-bit and 64-bit systems. Download it here:
+
 
+
* Download from '''[http://ftp.osuosl.org/pub/funtoo/distfiles/sysresccd/systemrescuecd-x86-4.5.0.iso osuosl.org]'''
+
* Download from '''[http://build.funtoo.org/distfiles/sysresccd/systemrescuecd-x86-4.5.0.iso funtoo.org]'''
+
 
+
{{Note|If using an older version of System Rescue CD, '''be sure to select the <code>rescue64</code> kernel at the boot menu if you are installing a 64-bit system'''. By default, System Rescue CD used to boot in 32-bit mode though the latest version attempts to automatically detect 64-bit processors.}}
+
 
+
==== Network Access ====
+
 
+
Once you have booted System Rescue CD, see if you have Internet access. Internet access is required for installing Funtoo Linux:
+
 
+
 
<console>
 
<console>
# ##i##ping www.google.com
+
localhost # ##i## Hello :)
PING www.google.com (216.58.217.36) 56(84) bytes of data.
+
64 bytes from den03s10-in-f4.1e100.net (216.58.217.36): icmp_seq=1 ttl=57 time=30.1 ms
+
 
</console>
 
</console>
 
If the ping is successful (you see <code>64 bytes</code> messages as above,) then your Network is set up. Hit Control-C to stop the ping.
 
 
If you need to set up a WiFi connection for Internet access, then this needs to be done using the System Rescue CD graphical environment. Run <code>startx</code> to start a graphical session:
 
 
<console>
 
# ##i##startx
 
</console>
 
 
Then, use the NetworkManager applet (icon in lower right) to connect to a WiFi network of your choice. Next, open a terminal inside your graphical environment, and you should be able to use the terminal to complete the rest of the steps.
 
 
==== Remote Install ====
 
 
Alternatively, you can log into System Rescue CD over the network via SSH to perform the install from another computer, and this may be more convenient way to install Funtoo Linux.
 
 
If you'd like to complete the install remotely, here's how. First, you will need to ensure that System Rescue CD has a functioning network connection. Then, you will need to set a root password for System Rescue CD:
 
 
<console>
 
# ##i##passwd
 
New password: ##i##********
 
Retype new password: ##i##********
 
passwd: password updated successfully
 
#
 
</console>
 
 
Once you have typed in a password, you will now need to determine the IP address of System Rescue CD, and then you can use <code>ssh</code> to connect to it. To determine the IP address currently being used by System Rescue CD, type <code>ifconfig</code>:
 
 
<console>
 
# ##i##ifconfig
 
</console>
 
 
One of the interfaces should have an IP address (listed as <code>inet addr:</code>) from your LAN. You can then connect remotely, from another system on your LAN, to System Rescue CD, and perform steps from the comfort of an existing OS. On your remote system, type the following, replacing <code>1.2.3.4</code> with the IP address of System Rescue CD. Connecting from an existing Linux or MacOS system would look something like this:
 
 
<console>
 
(remote system) $ ##i##ssh root@1.2.3.4
 
Password: ##i##**********
 
</console>
 
 
{{Note|If you'd like to connect remotely from an existing Microsoft Windows system, you'll need to download an SSH client for Windows, such as [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY].}}
 
 
After you've logged in via SSH, you're now connected remotely to System Rescue CD and can perform the installation steps.
 

Revision as of 15:14, February 18, 2015

Introduction

A hostname is a unique name created to identify a machine on a network. In computer networking, a hostname is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may be structured.

Configuration

In Funtoo Linux, /etc/conf.d/hostname is the master configuration file for setting a hostname. In OpenRC framework /etc/conf.d/foo is the configuration file for a corresponding Init script /etc/init.d/foo. With the case of hostname, default value is set to localhost, means when system boots and OpenRC's /etc/init.d/hostname script started a hostname getting only localhost name. How it looks? In your shell promt this will look in following way, an example for root:

localhost #  Hello :)