Particinar usando fdisk

.m Fornece uma lista dos comandos disponíveis
.p Fornece uma lista das informações da partição atual
.n Acresenta uma nova partição
.t Ajsuta ou muda o tipo da partição
.l Fornece uma lista dos tipos de partições diferentes e os seus números ID
.w Salva as suas informações e fecha o fdisk
.q Sai sem salvar qualquer mudança (útil quando você comete um erro)


Anotações :

Compilando o Kernel :
cd /usr/src/linux
make menuconfig ( alterações no Kernel )
make dep
make clean
make -j zImage &


Alterar configurações de rede :

/etc/sysconfig/network-script/ifcfg-eth0:0 ( ip )
/etc/network ( host )
/etc/hosts
/etc/resolv.conf


Serviços

/etc/services
/etc/rc.d/rc3.d/
/rcX.d/

DNS
/etc/resolv.conf
/etc/nsswitch.conf
/etc/hosts e host.conf

Segurança
/rc.d/rc.firewall - no rc.local
/etc/hosts.allow
/hosts.deny
/etc/inetd.conf

FTP:
apagar ou renomear usuário ftp - ( sem anonymous )
/etc/group
/passwd

Sendmail:
retirar && echo -bd da linha :
/etc/rc.d/init.d/sendmail
daemon /usr/sbin/sendmail $([ "$DAEMON" =3D yes ] && echo -bd) \=20
Syslog: ( logs do Sistema - incluir *.* p/ -/var/log/messages )
/etc/syslogd.conf
Repair FileSystem : Substituir sulogin
de /etc/rc.d/rc.sysinit por /bin/bash

# RAID1 Configuration File
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
device /dev/hdb1
raid-disk 0
device /dev/hdd1
raid-disk 1

# REINET ( restart of inetd services )
/root/reinet.sh &
# Start of sloohandbuild.pl scrip perl
su -c "/md0/estadao/perl-ptl/slookAndBuild.sh &" - estadao
# verificar static-routes


 

Hosted by www.Geocities.ws

1