1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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
|
---|
27 | server such as the
|
---|
28 | <ulink url="&blfs-book;server/apache.html">Apache HTTP Server</ulink>
|
---|
29 | and a database server such as
|
---|
30 | <ulink url="&blfs-book;server/mariadb.html">MariaDB</ulink>.
|
---|
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
|
---|
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
|
---|
41 | <ulink url="&blfs-book;gnome/gnome.html">Gnome</ulink>
|
---|
42 | based on a basic
|
---|
43 | <ulink url="&blfs-book;x/installing.html">graphical environment</ulink>
|
---|
44 | and several graphical based applications such as the
|
---|
45 | <ulink url="&blfs-book;xsoft/firefox.html">Firefox web browser</ulink>,
|
---|
46 | <ulink url="&blfs-book;xsoft/thunderbird.html">Thunderbird email client</ulink>,
|
---|
47 | or
|
---|
48 | <ulink url="&blfs-book;xsoft/libreoffice.html">LibreOffice office suite</ulink>.
|
---|
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>
|
---|
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
|
---|
57 | BLFS book. Not all packages are needed in every environments. For
|
---|
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.
|
---|
62 | </para>
|
---|
63 |
|
---|
64 | </sect2>
|
---|
65 |
|
---|
66 | <sect2>
|
---|
67 | <title>Working in a basic LFS environment</title>
|
---|
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.
|
---|
72 | There are a couple of ways to improve this:
|
---|
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
|
---|
80 | requires installing
|
---|
81 | <ulink url="&blfs-book;postlfs/openssh.html">sshd</ulink> and
|
---|
82 | <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>
|
---|
83 | on the LFS system, usually in the LFS command line. It also requires
|
---|
84 | a second computer.
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | </sect3>
|
---|
88 |
|
---|
89 | <sect3>
|
---|
90 | <title>Work from the LFS command line</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | This method requires installing
|
---|
94 | <ulink url="&blfs-book;general/libtasn1.html">libtasn1</ulink>,
|
---|
95 | <ulink url="&blfs-book;postlfs/p11-kit.html">p11-kit</ulink>,
|
---|
96 | <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>,
|
---|
97 | <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>,
|
---|
98 | <ulink url="&blfs-book;general/gpm.html">gpm</ulink>, and
|
---|
99 | <ulink url="&blfs-book;basicnet/links.html">links</ulink>
|
---|
100 | (or <ulink url="&blfs-book;basicnet/lynx.html">lynx</ulink>)
|
---|
101 | after rebooting into the new LFS system. You may need a removable
|
---|
102 | stroage device to copy these packages into the target system. At this
|
---|
103 | point the default system has six virtual consoles. Switching
|
---|
104 | consoles is as easy as using the
|
---|
105 | <keycombo>
|
---|
106 | <keycap>Alt</keycap>
|
---|
107 | <keycap>Fx</keycap>
|
---|
108 | </keycombo>
|
---|
109 | key combinations where <keycap>Fx</keycap> is
|
---|
110 | between <keycap>F1</keycap> and <keycap>F6</keycap>.
|
---|
111 | The
|
---|
112 | <keycombo>
|
---|
113 | <keycap>Alt</keycap>
|
---|
114 | <keycap function='left'/>
|
---|
115 | </keycombo>
|
---|
116 | and
|
---|
117 | <keycombo>
|
---|
118 | <keycap>Alt</keycap>
|
---|
119 | <keycap function='right'/>
|
---|
120 | </keycombo>
|
---|
121 | combinations also will change the console.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | At this point you can log into two different virtual consoles and run
|
---|
126 | the links or lynx browser in one console and bash in the other. GPM
|
---|
127 | then allows copying commands from the browser with the left mouse
|
---|
128 | button, switching consoles, and pasting into the other console.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <note>
|
---|
132 | <para>
|
---|
133 | As a side note, switching of virtual consoles can also be done from
|
---|
134 | an X Window instance with the
|
---|
135 | <keycombo>
|
---|
136 | <keycap>Ctrl</keycap>
|
---|
137 | <keycap>Alt</keycap>
|
---|
138 | <keycap>Fx</keycap>
|
---|
139 | </keycombo>
|
---|
140 | key combination, but the mouse copy operation does not work
|
---|
141 | between the graphical interface and a virtual console. You can
|
---|
142 | return to the X Window display with the
|
---|
143 | <keycombo>
|
---|
144 | <keycap>Ctrl</keycap>
|
---|
145 | <keycap>Alt</keycap>
|
---|
146 | <keycap>Fx</keycap>
|
---|
147 | </keycombo>
|
---|
148 | combination, where <keycap>Fx</keycap> is usually
|
---|
149 | <keycap>F1</keycap> but may be <keycap>F7</keycap>.
|
---|
150 | </para>
|
---|
151 | </note>
|
---|
152 |
|
---|
153 | </sect3>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 |
|
---|
158 | </sect1>
|
---|