Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

A complete collection of the locations of configuration files commonly used in Linux

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the "Linux commonly used configuration file saving location Daquan", in the daily operation, I believe that many people in the Linux commonly used configuration file saving location Daquan problem, the editor consulted all kinds of information, sorted out a simple and easy-to-use method of operation, hope to answer the "Linux commonly used configuration file saving location Daquan" doubts to help! Next, please follow the editor to study!

Start the bootstrapper configuration file

The code is as follows:

LILO / etc/lilo.conf

GRUB / boot/grub/menu.lst

System startup file kernel script

The code is as follows:

Main startup control file / etc/inittab

Location of the SysV startup script / etc/init.d, / etc/rc.d/init.d, or / etc/rc.d

Location of SysV startup script link / etc/init.d/rc.d, / etc/rc.d/rc.d, or / etc/rc.d

Files in the local startup script / etc/rc.d/rc.local, / etc/init.d/boot.local, or / etc/rc.boot

Network profile

The code is as follows:

Script / sbin/ifup to establish a network interface

Save the directory / etc/network, / etc/sysconfig/network, and / etc/sysconfig/network-scripts of the network configuration data file

Save the file / etc/resolv.conf that parses the DNS service

Configuration file / etc/dhclient.conf for DHCP client

Super service program configuration files and directories

The code is as follows:

Inetd profile / etc/inetd.conf

TCP Wrappers configuration files / etc/hosts.allow and / etc/hosts.deny

Files in the xinetd configuration file / etc/xinetd.conf and / etc/xinetd.d directory

Hardware configuration

The code is as follows:

Kernel module configuration file / etc/modules.conf

Hardware access file

The code is as follows:

In the Linux device file / dev directory

In the file / proc directory where the hardware and driver data are saved

Scanner profile

The code is as follows:

SANE Master configuration / etc/sane.d/dll.conf

A file named after the scanner model in the configuration file / etc/sane.d directory of a particular scanner

Printer profile

The code is as follows:

BSD LPD Core LPRng Local Printer Master configuration File / etc/printcap

CUPS local printer master configuration and remote access to authorized files / etc/cups/cupsd.conf

BSD LPD remote access authorized file / etc/hosts.lpd

LPRng remote access authorized file / etc/lpd.perms

File system

The code is as follows:

File system Table / etc/fstab

Floppy drive assembly point / floppy, / mnt/floppy or / media/floppy

Optical drive assembly point / cdrom, / mnt/cdrom or / media/cdrom

Shell profile

The code is as follows:

Bash system non-login profile / etc/bashrc, / etc/bash.bashrc, or / etc/bash.bashrc.local

Files in bash system login files / etc/profile and / etc/profile.d

Bash user non-login profile ~ / .bashrc

Bash user login profile ~ / .profile

XFree86 configuration file core directory

The code is as follows:

XFree86 main configuration file / etc/XF86config, / etc/X11/XF86Config or / etc/X11/XF86Config-4

Font server configuration file / etc/X11/fs/config

Xft 1.x configuration File / etcX11/XftConfig

Xft 2.0 profile / etc/fonts/fonts.conf

Font directory / usr/X11R6/lib/X11/fonts and / usr/share/fonts

Web service program configuration file

The code is as follows:

The httpd.conf or httpd2.conf file in the Apache main configuration file / etc/apache, / etc/httpd or / httpd/conf

Mime.types or apache-mime.types where the MIME type file is in the same directory as the Apache main configuration file

File service program configuration file

The code is as follows:

ProFTPd profile / etc/proftpd.conf

Vsftpd profile / etc/vsftpd.conf

Output definition file / etc/exports of NFS service program

NFS output / etc/fstab assembled by NFS client

Samba profile / etc/samba/smb.conf

Samba user profile / etc/samba/smbpasswd

Mail service program profile

The code is as follows:

Sendmail main configuration file / etc/mail/sendmail.cf

Sendmail source configuration file / etc/mail/sendmail.mc or / usr/share/sendmail/cf/cf/linux.smtp.mc or other file

Postfix main configuration file / etc/postfix/main.cf

Exim main configuration file / etc/exim/exim.cf

Procmail configuration file / etc/procmailrc or ~ / .procmailrc

Fetchmail configuration file ~ / .fetchmailrc

Telnet Profil

The code is as follows:

SSH Service Program configuration File / etc/ssh/sshd_config

SSH client profile / etc/ssh/ssh_config

Under the XDM configuration file / etc/X11/xdm directory

Under the GDM configuration file / etc/X11/gdm directory

VNC service program configuration file / usr/X11R6/bin/vncserver startup script and files in the ~ / .vnc directory

Other service program configuration files

The code is as follows:

DHCP Service Program configuration File / etc/dhcpd.conf

BIND service program configuration files / etc/named.conf and / var/named/

NTP Service Program configuration File / etc/ntp.conf

At this point, the study on the "Linux commonly used configuration file saving location Daquan" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report