| Projets |
166 Visiteurs 3168 Projets
|
|
 |
 |
 |
 |
|
|
| 2005 - Pérennisation |
Créer sa propre distribution Linux
[60 mn de lecture - paru le 11/24/2004 5:17:30 PM - Public : Confirmé]
|
   
|
Auteur
PART II – DESCRIPTION OF THE MAIN SERVICES
I- FTP: File Transfer Protocol
Definition: FTP is the protocol for exchanging files over the
Internet using TCP/IP to enable data transfer.
A- Client FTP: Ncftp2
Stable version 2.4.3
This program allows a user to transfer files to
and from a remote site, and offers additional features that are not found in
the standard interface, FTP. This version includes full screen ncurses support,
but no SOCKS support.
(Source: http://www.debian.org)
Dependencies:
Libc6
Libncurses5
Libreadline4
B- Server FTP: Proftpd
Stable version: 1.2.4
This File Transfer Protocol daemon supports
hidden directories, virtual hosts, and per-directory ".ftpaccess"
files. It uses a single main configuration file, with syntax similar to Apache.
Because of the advanced design, anonymous-FTP
directories can have an arbitrary internal structure (bin, lib, etc, and
special files are not needed). Advanced features like multiple password files
and upload/download ratios are also supported.
This package contains only the basic
functionality of proftpd and PAM authentication.
More information can be found at http://www.proftpd.net/.
(Source: http://www.debian.org)
Dependencies:
Adduser
Debconf
Libc6
Libpan0g
Netbase
Proftpd-common
II- HTTP: Hyper Text Transfer Protocol
A- Client Web: Lynx
Text-mode WWW Browser
Stable version: 2.8.4.1b-3.2
Lynx is a fully-featured World Wide Web (WWW)
client for users running cursor-addressable, character-cell display devices
(e.g., vt100 terminals, vt100 emulators running on PCs or Macs, or any other
"curses-oriented" display). It will display HyperText Markup Language
(HTML) documents containing links to files residing on the local system, as
well as files residing on remote systems running Gopher, HTTP, FTP, WAIS, and
NNTP servers.
(Source: http://www.debian.org)
Dependencies
Libc6
Libncurse5
Zlib.1g
B- Server Web: Apache
Versatile, high-performance HTTP server
Stable version: 1.3.26-0woody5
The most popular server in the world, Apache
features a modular design and supports dynamic selection of extension modules
at runtime. Some of its strong points are its range of possible customization,
dynamic adjustment of the number of server processes, and a whole range of
available modules including many authentication mechanisms, server-parsed HTML,
server-side includes, access control, CERN httpd metafiles emulation, proxy
caching, etc. Apache also supports multiple virtual homing.
Separate Debian packages are available for PHP3,
mod_perl, Java Servlet support, Apache-SSL and other common extensions. More
information is available at http://www.appache.org.
(Source: http://www.debian.org)
Dependencies:
Apache-common
Dpkg
Libc6
Libdb2
Libexpat1
Logrotate
Mime-support
Perl5
III- MAIL
A- Client mail: Mutt
Text-based mailreader supporting MIME, GPG, PGP and threading.
Stable Version: 1.3.2.8-2.2
-
MIME support (including RFC1522
encoding/decoding of 8-bit message headers).
-
PGP/MIME support (RFC 2015).
-
Advanced IMAP client supporting Kerberos
authentication (and in some situations SSL encryption).
-
POP3 support.
-
Mailbox threading (both strict and non-strict).
-
Default keybindings are much like ELM.
-
Keybindings are configurable; Mush and PINE-like
ones are provided as examples.
-
Handles MMDF, MH and Maildir in addition to
regular mbox format.
-
Messages may be (indefinitely) postponed.
-
Colour support.
-
Highly configurable through easy but powerful rc
file.
(Source: http://www.debian.org)
Dependencies:
Libc6
Libncurses5
Libsas17
B- Mail retrieval and forwarding utility: fetchmail
POP3, APOP, IMAP mail gatherer/forwarder (crypto-crippled binary)
Stable version: 5.9.11-6.2
Fetchmail is a free, full-featured, robust, and
well-documented remote mail retrieval and forwarding utility intended to be
used over on-demand TCP/IP links (such as SLIP or PPP connections). It
retrieves mail from remote mail servers and forwards it to your local (client)
machine's delivery system, so it can then be read by normal mail user agents
such as mutt, elm, pine, (x)emacs/gnus, or mailx. The fetchmailconf package
includes an interactive GUI configurator suitable for end-users. Kerberos IV
& V, RPA, OPIE and GSSAPI support are available if the package is
recompiled. SSL is provided by the fetchmail-ssl package.
(Source: http://www.debian.org)
Dependencies :
Fetchmail-common
Libc6
IV- DHCP (Dynamic Host Configuration Protocol)
Definition: DHCP is an Internet protocol for automating the
configuration of computers that use TCP/IP. DHCP can be used to automatically
assign IP addresses, to deliver TCP/IP stack configuration parameters such as
the subnet mask and default router, and to provide other configuration
information such as the addresses for printer, time and new servers. (source,
http://www.dhcp.org)
A- DHCP client: Pump
Simple DHCP-BOOTP client
Stable Version: 0.8.11-5
Dependencies:
Debconf
Libc6
Libpopt0
B- DHCP server: Dhcpd
DHCP server for automatic IP address assignment
Stable Version: 2.0pl5-11
DHCP is a protocol like BOOTP (actually dhcpd
includes much of the functionality of BOOTPD!). It assigns IP addresses to
clients based on lease times. DHCP is used extensively by Microsoft and more
recently also by Apple. It is probably essential in any multi-platform environment.
Multiple Ethernet Interfaces are supported by
this DHCP package. You need to run Linux 2.0.32 or later. (Source: http://www.debian.org)
Dependencies:
Libc6
Netbase
V- DNS server: Bind
Internet Domain Name Server
Stable Version: 1:8.3.3-2.0woody2
The Berkeley Internet Name Domain (BIND)
implements an Internet domain name server. BIND is the most widely-used name
server software on the Internet, and is supported by the Internet Software
Consortium.
BIND (Berkeley Internet Name Domain) is an
implementation of the Domain Name System (DNS) protocols and provides an openly
redistributable reference implementation of the major components of the Domain
Name System, including:
- a Domain Name System server (named)
- a Domain Name System resolver library
- tools for verifying the proper operation of the
DNS server
The BIND DNS Server is used on the vast majority
of name serving machines on the Internet, providing a robust and stable
architecture on top of which an organization's naming architecture can be
built. The resolver library included in the BIND distribution provides the
standard APIs for translation between domain names and Internet addresses and
is intended to be linked with applications requiring name service. (Source http://www.isc.org)
Dependencies:
Libc6
Netbase
VI- SSH and TELNET
A- SSH server: sshd (Secure Shell Daemon)
Sshd (SSH Daemon) is the daemon program for ssh.
Sshd listens for connections form clients. It’s
normally started at boot from /etc/rc. For each connection, the daemon handels
key exchange, encryption, authentication, command execution, and data exchange.
SSH protocol version 2: Each host has a
host-specific key (RSA or DSA) used to identify the host. However,
when the daemon starts, it does not generate a server key. Forward security is
provided through a Diffie-Hellman key agreement. This key agreement results in
a shared session key.
The rest of the session is encrypted using a
symmetric cipher, currently 128 bit AES, Blowfish, 3DES, CAST128, Arcfour, 192
bit AES, or 256 bit AES. The client selects the encryption algorithm to use
from those offered by the server. Additionally, session integrity is provided
through a cryptographic message authentication code (hmac-sha1 or hmac-md5).
Protocol version 2 provides a public key based
user (PubkeyAuthentication) or client host (HostbasedAuthentication)
authentication method,conventional password authentication and challenge
response based methods.
(Source: http://www.hmug.org)
Dependencies:
Adduser
Debconf
Libc6
Libpam-modules
Libpam-0g
Libssl0.8.6
Libwrap0
Zlib.1G
B- SSH client : SSH
Secure rlogin/rsh/rcp replacement (OpenSSH)
Stable version : 1:3.4p1-1.woody.3
This is the portable version of OpenSSH, a free
implementation of the Secure Shell protocol as specified by the IETF secsh
working group.
Ssh (Secure Shell) is a program for logging into
a remote machine and for executing commands on a remote machine. It provides
secure encrypted communications between two untrusted hosts over an insecure
network. X11 connections and arbitrary TCP/IP ports can also be forwarded over
the secure channel. It is intended as a replacement for rlogin, rsh and rcp,
and can be used to provide applications with a secure communication channel.
(Source: http://www.debian.org)
Dependencies:
Adduser
Debconf
Libc6
Libpam-modules
Libpam-0g
Libssl0.8.6
Libwrap0
Zlib.1G
C- Telnet client: telnet
The telnet client
Stable version: 0.17-18
The telnet command is used for interactive
communication with another host using the TELNET protocol.
(Source: http://www.debian.org)
Dependencies:
Libc6
Libncurses5
Libstdc++3
D- Telnet server: telnetd
Stable version: 0.17-18
The telnet server
The in.telnetd program is a server which supports
the DARPA telnet interactive communication protocol.
(Source: http://www.debian.org)
Dependencies:
Adduser
Base-files
Dpkg
Libc6
Netbase
Passwd
VII- Package managers (APT, YUM, Emerge…)
Package managers are tools mainly used to easily download and
install packages. They manage automatically dependencies and in some cases take
into account the configuration files when a package is being updated. There are
several package managers for Linux. Very often each distribution has its own
package manager, APT (Advanced Packaging Tool) for debian, YUM for Fedora,
Emerge for Gentoo…
APT can use CD-ROMs or website as a source list for downloading
packages, it uses its own database to keep a trace of the packets that are
installed, that are not installed and that can be installed. The apt-get
program uses this database to find out how to install a package and to search
for additional packages necessary to make a package work.
Here is a list of the most useful commands:
apt-get update updates the
package list
apt-get install package_name install the package
apt-cache search description search
for a package corresponding to the description
Some useful options:
-h This
help text
-d downloads
only
-s simulation
only
-u display
packages that can be updated
VIII- LILO and the boot process
As seen in the Making LFS bootable section of this document,
LILO is a boot loader like Grub. Since the LFS guide chooses Grub as a boot
loader, we will discuss about LILO and about the boot process in general now.
In order to boot, the BIOS tries to find and operating system by
reading the Master Boot Record (MBR) which is the first sector of the start-up
device. Its size is of 512 bytes.
LILO can be working as MBR but it is not an obligation, in the case
of the default MBR, the start-up process looks for a partition set as ACTIVE
and launches the program that is at the beginning of that partition. LILO can
also be there just as Microsoft boot loader or dos boot loader or any other
operation system boot loader.
After the MBR has been loaded in memory, the BIOS launches it. Since
the MBR is quite small (512 bytes), it is not enough for the Linux kernel to
fit (minimum 500KB), neither for the loader (5KB for LILO’s second part). If
the MBR is from LILO, it launches LILO’s second part; otherwise it launches
LILO’s MBR located on the ACTIVE partition.
So we’re now in the second part of LILO, the one that prints the
“boot” prompt, the start-up menu, etc. an that is going to load and launch the
Linux kernel.
As we can understand now, the MBR is vital to the functionning of
the computer. In case of a problem, we can restore the default DOS MBR by
running a DOS boot disk and using the disk /mbr command.
With Linux, the lilo –U command uninstall LILO by copying the save
copy that LILO made when it was first installed.
Here is as an example, a base configuration of LILO:
boot=/dev/hda
prompt
other=/dev/hda1
label=windows
table=/dev/hda
image=/boot/vmlinuz-2.2.14
label=linux
root=/dev/hda2
read-only
As we can see, the drives naming rules are the same than for the
Linux system in opposition to Grub that has its own naming characteristics.
It is important to note that LILO must be run after making changes
in order to apply the changes. It is also a good way to see if the
configuration file is right since LILO tests it and display the start-up menu.
For more detail information, consult the man pages.
IX- OTHERS
A- Network Monitoring: tcpdump
A powerful tool for network monitoring and data acquisition
Stable version: 3.6.2-2.8
This program allows you to dump the traffic on a
network. tcpdump is able to examine IPv4, ICMPv4, IPv6, ICMPv6, UDP, TCP, SNMP,
AFS BGP, RIP, PIM, DVMRP, IGMP, SMB, OSPF, NFS and many other packet types.
It can be used to print out the headers of
packets on a network interface, filter packets that match a certain expression.
You can use this tool to track down network problems, to detect "ping
attacks" or to monitor network activities. More information is at http://www.tcpdump.org.
(Source: http://www.debian.org)
Dependencies:
Libc6
Libpcap0
B- LAN monitor: iptraf
Interactive Colorful IP LAN Monitor
Stable version: 2.5.0-4
IPTraf is an ncurses-based IP LAN monitor that
generates various network statistics including TCP info, UDP counts, ICMP and
OSPF information, Ethernet load info, node stats, IP checksum errors, and
others.
Note that since 2.0.0 IPTraf requires a kernel
>= 2.2
(Source: http://www.debian.org)
Dependencies :
Libc6
Libncurses5
C- TEXT EDITORS
1-
Text Editor: nano
Free Pico clone with some new features
Stable version: 1.0.6-3
GNU nano is a free replacement for Pico, the
default Pine editor. Pine is copyrighted under a slightly restrictive license,
that makes it unsuitable for Debian's main section. GNU nano is an effort to
provide a Pico-like editor, but also includes some features that were missing
in the original, such as 'search and replace', 'goto line' or
internationalization support. As it's written from scratch, it's smaller and
faster.
(Source: http://www.debian.org)
Dependencies :
Libc6
Libncurses5
2-
Text Editor: emacs20
The GNU Emacs editor
Stable version: 20.7-13.1
Dependencies :
Dpkg
Emacsen-common
Libc6
Liblockfile1
Libncurses5
Libxaw7
Xlibbs
|
|
|
 |
 |
 |
 |
| Articles de la même catégorie |
|
|
|
 |
 |
 |
 |
| SUPINFO Training Center peut vous proposer une formation système ... |
|
|
|
 |
 |
 |
 |
|