[09 November 2009] HDD investigation II: badblock
transferred
[preparation]
cd /tmp/
df
dumpe2fs -b /dev/hda2
dumpe2fs -b /dev/hda2 >bad.txt
[check]
dumpe2fs /dev/hda2 |grep "Block size"
badblocks -i bad.txt -o badblock.txt -b 4096 -vs /dev/hda2
[register]
fsck -B 4096 -l badblock.txt /dev/hda2
[list / review]
dumpe2fs -b /dev/hda2
Posted by
unchor at
11:10
[31 August 2009] Unknown Device Identifier
transferred
Unknown Device Identifier
Posted by
unchor at
11:06
[15 January 2008] HDD investigation: badblock
transferred
[check]
dumpe2fs /dev/hda2 |grep "Block size"
# badblocks -v /dev/hda2
badblocks -o badblock.txt -b 4096 -vs /dev/hda2
[register]
fsck -B 4096 -l badblock.txt /dev/hda2
[list / review]
dumpe2fs -b /dev/hda2
Posted by
unchor at
10:57
new year greetings
2021 A Happy New Year!!
お世話になりました皆様
昨年もいろいろと 有り難うございました
本年もまた どうぞ宜しく御願い致します
___________________________
Unchor, Inc. / 01 Jan. 2021
Posted by
unchor at
10:32
new year greetings
2020 A Happy New Year!!
お世話になりました皆様
昨年もいろいろと 有り難うございました
本年もまた どうぞ宜しく御願い致します
___________________________
Unchor, Inc. / 01 Jan. 2020
Posted by
unchor at
09:51
[ubuntu] setup & configurations
also on the old linux box
■version
uname -a
cat /etc/os-release
■hostname
vi /etc/hostname
vi /etc/hosts
hostnamectl
hostname
■更新
apt update
apt upgrade
apt dist-upgrade
apt autoremove
apt autoclean
■listen
netstat -lnt
■logwatch
apt-get install logwatch
■firewall (Uncomplicated FireWall)
ufw status verbose
ufw app list
ufw enable
ufw allow 'Apache Full'
ufw status numbered
■時刻系
date
timedatectl
apt-get install ntp
timedatectl
ntpq -p
■postfix
apt-get install postfix
apt install mailutils
postconf | grep mail_version
postqueue -p
■apache
apt install apache2
a2enmod ssl
service apache2 restart
apt-get install letsencrypt python-letsencrypt-apache
letsencrypt --apache
■bind
apt-get install -y bind9
■aide
apt install aide
cd /var/lib/aide
aide.wrapper --init
cp -p /var/lib/aide/aide.db.new /var/lib/aide/aide.db
Posted by
unchor at
10:54
|
Comments (0)