Difference between revisions of "Funtoo Linux First Steps"
| Line 1: | Line 1: | ||
After booting into a new Funtoo Linux installation, you are ready to explore the full capabilities of your system. But first, you may want to perform these common steps: | After booting into a new Funtoo Linux installation, you are ready to explore the full capabilities of your system. But first, you may want to perform these common steps: | ||
| − | == Installing an Editor == | + | === Installing an Editor === |
By default, Funtoo Linux has the <tt>nano</tt> and <tt>vi</tt> editors installed. <tt>nano</tt> is the default editor. | By default, Funtoo Linux has the <tt>nano</tt> and <tt>vi</tt> editors installed. <tt>nano</tt> is the default editor. | ||
| Line 11: | Line 11: | ||
</console> | </console> | ||
| − | === Default editor === | + | ==== Default editor ==== |
Here is how to change the default system text editor: | Here is how to change the default system text editor: | ||
| Line 21: | Line 21: | ||
After logging in again, or typing <tt>env-update; source /etc/profile</tt> in the current shell, the new system editor will now be active. | After logging in again, or typing <tt>env-update; source /etc/profile</tt> in the current shell, the new system editor will now be active. | ||
| − | == Create a user account == | + | === Create a user account === |
It's a good idea to create a normal user account that you can use for general Linux tasks. Before rebooting, create a user account for everyday use. Adjust the groups in the example below to match your needs. Some of them may not exist yet on your system. Replace "<tt><user_name></tt>" with the name you're going to use for your everyday user. The "<tt>-m</tt>" option instructs <tt>useradd</tt> to create a home directory for your user. See <tt>man useradd</tt> for more info. | It's a good idea to create a normal user account that you can use for general Linux tasks. Before rebooting, create a user account for everyday use. Adjust the groups in the example below to match your needs. Some of them may not exist yet on your system. Replace "<tt><user_name></tt>" with the name you're going to use for your everyday user. The "<tt>-m</tt>" option instructs <tt>useradd</tt> to create a home directory for your user. See <tt>man useradd</tt> for more info. | ||
| Line 33: | Line 33: | ||
</console> | </console> | ||
| − | == /etc/rc.conf == | + | === Profile === |
| + | |||
| + | Currently, Funtoo only supports a modified version of the 2008.0 profile. Running <tt>eselect profile list</tt> will show all available profiles. | ||
| + | <console> | ||
| + | # ##i##eselect profile list | ||
| + | Available profile symlink targets: | ||
| + | [1] default/linux/amd64/2008.0 * | ||
| + | [2] default/linux/amd64/2008.0/desktop | ||
| + | [3] default/linux/amd64/2008.0/developer | ||
| + | [4] default/linux/amd64/2008.0/server | ||
| + | </console> | ||
| + | |||
| + | In this example, we will enable the "desktop" profile, which enables many USE flags that a typical desktop user would find useful. We will come back to the topic of USE flags in a bit. | ||
| + | <console> | ||
| + | # ##i##eselect profile set 2 | ||
| + | </console> | ||
| + | |||
| + | === <tt>/etc/rc.conf</tt> === | ||
<tt>/etc/rc.conf</tt> contains system settings related to the system initialization scripts. It is a good idea to set <tt>rc_logger</tt> to <tt>YES</tt>. This will instruct OpenRC to launch a logging daemon to log the entire rc process to <tt>/var/log/rc.log</tt>. | <tt>/etc/rc.conf</tt> contains system settings related to the system initialization scripts. It is a good idea to set <tt>rc_logger</tt> to <tt>YES</tt>. This will instruct OpenRC to launch a logging daemon to log the entire rc process to <tt>/var/log/rc.log</tt>. | ||
Revision as of 03:16, 10 February 2012
After booting into a new Funtoo Linux installation, you are ready to explore the full capabilities of your system. But first, you may want to perform these common steps:
Contents |
Installing an Editor
By default, Funtoo Linux has the nano and vi editors installed. nano is the default editor.
If you have a favorite editor, you can install it now:
# emerge vim
Default editor
Here is how to change the default system text editor:
# echo EDITOR=/usr/bin/vim > /etc/env.d/99editor
After logging in again, or typing env-update; source /etc/profile in the current shell, the new system editor will now be active.
Create a user account
It's a good idea to create a normal user account that you can use for general Linux tasks. Before rebooting, create a user account for everyday use. Adjust the groups in the example below to match your needs. Some of them may not exist yet on your system. Replace "<user_name>" with the name you're going to use for your everyday user. The "-m" option instructs useradd to create a home directory for your user. See man useradd for more info.
# useradd -m -g users -G audio,cdrom,video,wheel <user_name>
Don't forget to set a password for your new user:
# passwd <user_name>
Profile
Currently, Funtoo only supports a modified version of the 2008.0 profile. Running eselect profile list will show all available profiles.
# eselect profile list
Available profile symlink targets:
[1] default/linux/amd64/2008.0 *
[2] default/linux/amd64/2008.0/desktop
[3] default/linux/amd64/2008.0/developer
[4] default/linux/amd64/2008.0/server
In this example, we will enable the "desktop" profile, which enables many USE flags that a typical desktop user would find useful. We will come back to the topic of USE flags in a bit.
# eselect profile set 2
/etc/rc.conf
/etc/rc.conf contains system settings related to the system initialization scripts. It is a good idea to set rc_logger to YES. This will instruct OpenRC to launch a logging daemon to log the entire rc process to /var/log/rc.log.