20-02-2013, 13:45
|
|
\dev\null
|
|
חבר מתאריך: 08.11.02
הודעות: 11,379
|
|
אלא הצעדים שאני עושה בדרך כלל (ויש לי כבר סקריפט שעושה לי את זה אחרי ההתקנה)
קוד:
1. reset the hostname (/etc/hostname on ubuntu)
2. del old log files /var/log && /var/oldlogs
3. reboot
4. rename the LVM VolumeGroup name (!!! DO NOT REBOOT UNTIL YOU FINISH ALL 3 STEPS !!!)
4.1. vgrename OLD NEW
4.2. update the fstab
4.3. run update-grub (works for grub2 only, for grub1 you'll have to edit the file manualy)
5. recreate the host ssh keys
6. remove/re-enable/disabled service as needed -- See New_Linux_Server#Disable_unused_services
7. reset MySQL root password
8. reconfigure postfix (for mail headers)
9. /etc/mailname, /etc/postfix/main.cf#mydomain, newalias
10. add to backup for rsnapshot, See: Backups for more details
11. reset the root password
|