Show Menu
Cheatography

Linux Server and Network Administration Cheat Sheet (DRAFT) by

A cheat sheet of the files and paths which I (Hadis Fayz) have learnt at University and need most for Linux

This is a draft cheat sheet. It is a work in progress and is not finished yet.

File Paths

/etc/a­pt/­sou­rce­s.list
Manage Reposi­tories
/etc/bind
Zone files
/etc/b­ind­/na­med.cnf
DNS (bind)
/etc/b­ind­/na­med.cn­f.local
Zone files regist­er/log
/etc/b­ind­/na­med.co­nf.o­ption
Server Config­uration files
/etc/d­efa­ult­/nf­s-k­ern­el-­server
NFS3 Config­uration
/etc/e­xports
Manage all Shares
/etc/fstab
Monitor of a File System
/etc/p­asswd
List all users
/etc/v­sft­pd.u­se­r_list
See white list and black list
/etc/v­sft­pd.conf
Settings
/etc/i­net­d.conf
Super User (initd); lists server on ports
httpd.c­onf; or /usr/l­oca­l/a­pac­he2­/conf
Apache Webserver Config­uration
 

Linux SSH File Paths

~./ssh­­/i­d_rsa
Private Keys
~./ssh­­/i­d­_­rs­­a.pub
Public Keys
/etc/ssh
All Keys
~./../­­ss­h­/­au­­tho­­ri­z­e­d_keys
Authorized Keys
~./ssh­­/k­n­o­wn­­_hosts
More Public Keys
/etc/s­sh/­ssh­_config
Config SSH-Client
/etc/s­sh/­ssh­d_c­onfig
Config SSH-Se­rver; Login as Root via SSH

Linux Network DHCP Config­uration

/etc/d­­hc­p­/­dh­­qsd.conf
DHCP Config­­ur­ation
/etc/d­­hc­p­/­dh­­cli­­en­t.conf
DHCP-C­­lient Config­­ur­ation
/etc/n­etw­ork­/in­ter­faces
Enduring Config­uration for DHCP-C­lient and Adapter

Linux DNS Config­ura­tions

/etc/r­eso­lv.conf
Configure DNS Service
/etc/n­ssw­itc­h.conf
Methods and Sequence of DNS
/etc/hosts
Local List, static DNS, IP - FQDN
/etc/h­ostname
Hostname / Servername