Tugriceri Web Notes
Operational telemetry, Linux internals, forensic carving, and infrastructure automation war stories. by Emre Tugriceri.
Yum Proxy settings
[root@localhost ~]# vi /etc/yum.conf
- proxy=http://10.129.0.23:8080
- http_proxy=http://10.129.0.23:8080
[root@localhost ~]# declare -x ftp_proxy="http://10.129.0.23:8080"
[root@localhost ~]# declare -x http_proxy="10.129.0.23:8080"

SSL Weak Cipher and SSLv2 tests
echo 'GET HTTP/1.0' | openssl s_client -ssl3 -cipher LOW -connect www.tugriceri.com:443
echo 'GET HTTP/1.0' | openssl s_client -ssl2 -cipher LOW -connect www.tugriceri.com:443
echo 'GET HTTP/1.0' | openssl s_client -ssl2 -connect www.tugriceri.com:443

LVM Create
1031 dmsetup ls --tree
1040 dmsetup remove /dev/dm-11 (silinen partition ın dmden kalkmaması sebebi ile)
1041 fdisk -l
1044 pvcreate /dev/mapper/mpath11
1045 pvdisplay
1046 vgcreate VolGroupBackup /dev/mapper/mpath11
1047 pvdisplay
1048 vgdisplay
1049 lvcreate -L 699.99G VolGroupBackup lvBackup
1050 lvcreate -L 699.99G VolGroupBackup -n lvBackup
1051 lvdisplay
1052 ls /dev/VolGroupBackup/lvBackup
1053 ls /dev/mapper/
1054 mkfs.ext3 /dev/mapper/VolGroupBackup-lvBackup
1058 mount
1059 mount /dev/mapper/VolGroupBackup-lvBackup /mnt/backup/







