[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[ea94a21] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="afterlfs">
|
---|
| 9 | <?dbhtml filename="afterlfs.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Getting Started After LFS</title>
|
---|
| 12 |
|
---|
| 13 | <sect2>
|
---|
| 14 | <title>Deciding what to do next</title>
|
---|
| 15 |
|
---|
| 16 | <para>
|
---|
| 17 | Now that LFS is complete and you have a bootable system, what do you do?
|
---|
| 18 | The next step is to decide how to use it. Generally, there are two broad
|
---|
| 19 | categories to consider: workstation or server. Indeed, these categories
|
---|
| 20 | are not mutually exclusive. The applications needed for each category
|
---|
| 21 | can be combined onto a single system, but let's look at them separately
|
---|
| 22 | for now.
|
---|
| 23 | </para>
|
---|
| 24 |
|
---|
| 25 | <para>
|
---|
| 26 | A server is the simpler category. Generally this consists of a web
|
---|
[59350d1] | 27 | server such as the
|
---|
[ea94a21] | 28 | <ulink url="&blfs-book;server/apache.html">Apache HTTP Server</ulink>
|
---|
| 29 | and a database server such as
|
---|
[59350d1] | 30 | <ulink url="&blfs-book;server/mariadb.html">MariaDB</ulink>.
|
---|
[ea94a21] | 31 | However other services are possible. The operating system
|
---|
| 32 | embedded in a single use device falls into this category.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
| 35 | <para>
|
---|
| 36 | On the other hand, a workstation is much more complex. It generally
|
---|
[59350d1] | 37 | requires a graphical user environment such as
|
---|
| 38 | <ulink url="&blfs-book;lxde/lxde.html">LXDE</ulink>,
|
---|
| 39 | <ulink url="&blfs-book;xfce/xfce.html">XFCE</ulink>,
|
---|
| 40 | <ulink url="&blfs-book;kde/kde.html">KDE</ulink>, or
|
---|
[ea94a21] | 41 | <ulink url="&blfs-book;gnome/gnome.html">Gnome</ulink>
|
---|
[9f8335e] | 42 | based on a basic
|
---|
| 43 | <ulink url="&blfs-book;x/installing.html">graphical environment</ulink>
|
---|
[ea94a21] | 44 | and several graphical based applications such as the
|
---|
[59350d1] | 45 | <ulink url="&blfs-book;xsoft/firefox.html">Firefox web browser</ulink>,
|
---|
[ea94a21] | 46 | <ulink url="&blfs-book;xsoft/thunderbird.html">Thunderbird email client</ulink>,
|
---|
[59350d1] | 47 | or
|
---|
| 48 | <ulink url="&blfs-book;xsoft/libreoffice.html">LibreOffice office suite</ulink>.
|
---|
[ea94a21] | 49 | These applications require many (several hundred depending on
|
---|
| 50 | desired capabilities) more packages of support applications and
|
---|
| 51 | libraries.
|
---|
| 52 | </para>
|
---|
| 53 |
|
---|
| 54 | <para>
|
---|
[6d60bfc] | 55 | In addition to the above, there is a set of applications for system
|
---|
| 56 | management for all kinds of systems. These applications are all in the
|
---|
[4e381f9] | 57 | BLFS book. Not all packages are needed in every environments. For
|
---|
[6d60bfc] | 58 | example <ulink url="&blfs-book;basicnet/dhcpcd.html">dhcpcd</ulink>, is
|
---|
| 59 | not normally appropriate for a server and <ulink
|
---|
| 60 | url="&blfs-book;basicnet/wireless_tools.html">wireless_tools</ulink>,
|
---|
| 61 | are normally only useful for a laptop system.
|
---|
[ea94a21] | 62 | </para>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
[9f8335e] | 67 | <title>Working in a basic LFS environment</title>
|
---|
[ea94a21] | 68 |
|
---|
| 69 | <para>
|
---|
| 70 | When you initially boot into LFS, you have all the internal tools to build
|
---|
| 71 | additional packages. Unfortunately, the user environment is quite sparse.
|
---|
[59350d1] | 72 | There are a couple of ways to improve this:
|
---|
[ea94a21] | 73 | </para>
|
---|
| 74 |
|
---|
| 75 | <sect3>
|
---|
| 76 | <title>Work remotely via ssh</title>
|
---|
| 77 |
|
---|
| 78 | <para>
|
---|
| 79 | This method also provides a full graphical environment, but first
|
---|
[59350d1] | 80 | requires installing
|
---|
[d48812d] | 81 | <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink>
|
---|
[1f6dfd4] | 82 | on the LFS system, usually in the LFS command line. It also requires
|
---|
| 83 | a second computer.
|
---|
[ea94a21] | 84 | </para>
|
---|
| 85 |
|
---|
[d48812d] | 86 | <para>
|
---|
| 87 | You may use the <command>scp</command> command to upload the package
|
---|
| 88 | sources to be built onto the LFS system. If you want to download
|
---|
| 89 | the sources onto the LFS system directly instead, install
|
---|
| 90 | <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>,
|
---|
| 91 | <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,
|
---|
| 92 | <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>, and
|
---|
| 93 | <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>
|
---|
| 94 | in chroot (or upload their sources using <command>scp</command>
|
---|
| 95 | after booting the LFS system).
|
---|
| 96 | </para>
|
---|
[ea94a21] | 97 | </sect3>
|
---|
| 98 |
|
---|
| 99 | <sect3>
|
---|
| 100 | <title>Work from the LFS command line</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
[afd19ad] | 103 | This method requires installing
|
---|
| 104 | <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>,
|
---|
| 105 | <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,
|
---|
[ea94a21] | 106 | <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>,
|
---|
[59350d1] | 107 | <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>,
|
---|
[ea94a21] | 108 | <ulink url="&blfs-book;general/gpm.html">gpm</ulink>, and
|
---|
[226784a] | 109 | <ulink url="&blfs-book;basicnet/links.html">links</ulink>
|
---|
[43e4861] | 110 | (or <ulink url="&blfs-book;basicnet/lynx.html">lynx</ulink>)
|
---|
[1f6dfd4] | 111 | after rebooting into the new LFS system. You may need a removable
|
---|
| 112 | stroage device to copy these packages into the target system. At this
|
---|
[59350d1] | 113 | point the default system has six virtual consoles. Switching
|
---|
[9bbfbea] | 114 | consoles is as easy as using the
|
---|
| 115 | <keycombo>
|
---|
| 116 | <keycap>Alt</keycap>
|
---|
| 117 | <keycap>Fx</keycap>
|
---|
| 118 | </keycombo>
|
---|
| 119 | key combinations where <keycap>Fx</keycap> is
|
---|
| 120 | between <keycap>F1</keycap> and <keycap>F6</keycap>.
|
---|
| 121 | The
|
---|
| 122 | <keycombo>
|
---|
| 123 | <keycap>Alt</keycap>
|
---|
| 124 | <keycap function='left'/>
|
---|
| 125 | </keycombo>
|
---|
| 126 | and
|
---|
| 127 | <keycombo>
|
---|
| 128 | <keycap>Alt</keycap>
|
---|
| 129 | <keycap function='right'/>
|
---|
| 130 | </keycombo>
|
---|
[ea94a21] | 131 | combinations also will change the console.
|
---|
| 132 | </para>
|
---|
[59350d1] | 133 |
|
---|
[ea94a21] | 134 | <para>
|
---|
| 135 | At this point you can log into two different virtual consoles and run
|
---|
[43e4861] | 136 | the links or lynx browser in one console and bash in the other. GPM
|
---|
| 137 | then allows copying commands from the browser with the left mouse
|
---|
| 138 | button, switching consoles, and pasting into the other console.
|
---|
[ea94a21] | 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <note>
|
---|
| 142 | <para>
|
---|
| 143 | As a side note, switching of virtual consoles can also be done from
|
---|
[9bbfbea] | 144 | an X Window instance with the
|
---|
| 145 | <keycombo>
|
---|
| 146 | <keycap>Ctrl</keycap>
|
---|
| 147 | <keycap>Alt</keycap>
|
---|
| 148 | <keycap>Fx</keycap>
|
---|
| 149 | </keycombo>
|
---|
| 150 | key combination, but the mouse copy operation does not work
|
---|
| 151 | between the graphical interface and a virtual console. You can
|
---|
| 152 | return to the X Window display with the
|
---|
| 153 | <keycombo>
|
---|
| 154 | <keycap>Ctrl</keycap>
|
---|
| 155 | <keycap>Alt</keycap>
|
---|
| 156 | <keycap>Fx</keycap>
|
---|
| 157 | </keycombo>
|
---|
[6d60bfc] | 158 | combination, where <keycap>Fx</keycap> is usually
|
---|
| 159 | <keycap>F1</keycap> but may be <keycap>F7</keycap>.
|
---|
[ea94a21] | 160 | </para>
|
---|
| 161 | </note>
|
---|
| 162 |
|
---|
| 163 | </sect3>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|