Linux/2-Config: Difference between revisions

From Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
auto eth0
auto eth0
iface eth0 inet static
iface eth0 inet static
address 192.168.0.2
  address 192.168.0.2
netmask 255.255.255.0
  netmask 255.255.255.0
network 192.168.0.0
  network 192.168.0.0
broadcast 192.168.0.255
  broadcast 192.168.0.255
gateway 192.168.0.1
  gateway 192.168.0.1
 
auto eth1
iface eth1 inet dhcp
</pre>
</pre>
* /etc/rcX.d [Runlevel scripts K=Kill S=Start]
* /etc/rcX.d [Runlevel scripts K=Kill S=Start]
* /etc/ssh/sshd_config
* /etc/ssh/sshd_config
* /etc/samba/smb.conf
* /etc/samba/smb.conf
* [[Linux/2-Config/bashrc|bashrc]]




Line 24: Line 29:
* /etc/inittab
* /etc/inittab
* /etc/resolv.conf
* /etc/resolv.conf
[[Category:Linux/CheatSheet]]
[[Category:Linux]]

Latest revision as of 16:19, 12 February 2018

config files

  • /boot/grub/menu.lst
  • /etc/apt/sources.list
  • /etc/apache2/*.conf
  • /etc/dhcp3/dhcpd.conf
  • /etc/network/interfaces
auto eth0
iface eth0 inet static
   address 192.168.0.2
   netmask 255.255.255.0
   network 192.168.0.0
   broadcast 192.168.0.255
   gateway 192.168.0.1

auto eth1
iface eth1 inet dhcp
  • /etc/rcX.d [Runlevel scripts K=Kill S=Start]
  • /etc/ssh/sshd_config
  • /etc/samba/smb.conf


  • /etc/fstab
  • /etc/hostname
  • /etc/hosts
  • /etc/inittab
  • /etc/resolv.conf