source: chapter11/afterlfs.xml@ ac82b96

xry111/clfs-ng
Last change on this file since ac82b96 was 9e76c64, checked in by Xi Ruoyao <xry111@…>, 5 months ago

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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>
82 on the LFS system, usually in the LFS command line. It also requires
83 a second computer.
84 </para>
85
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>
97 </sect3>
98
99 <sect3>
100 <title>Work from the LFS command line</title>
101
102 <para>
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>,
106 <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>,
107 <ulink url="&blfs-book;basicnet/wget.html">wget</ulink>,
108 <ulink url="&blfs-book;general/gpm.html">gpm</ulink>, and
109 <ulink url="&blfs-book;basicnet/links.html">links</ulink>
110 (or <ulink url="&blfs-book;basicnet/lynx.html">lynx</ulink>)
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
113 point the default system has six virtual consoles. Switching
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>
131 combinations also will change the console.
132 </para>
133
134 <para>
135 At this point you can log into two different virtual consoles and run
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.
139 </para>
140
141 <note>
142 <para>
143 As a side note, switching of virtual consoles can also be done from
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>
158 combination, where <keycap>Fx</keycap> is usually
159 <keycap>F1</keycap> but may be <keycap>F7</keycap>.
160 </para>
161 </note>
162
163 </sect3>
164
165 </sect2>
166
167
168</sect1>
Note: See TracBrowser for help on using the repository browser.