CATEGORY / LINUX

Linux

28 posts

Jul 16, 2015 • 1 min read

recover files with linux tools

ddhttps://en.wikipedia.org/wiki/Dd_%28Unix%29 dd_rescuehttp://www.garloff.de/kurt/linux/ddrescue/ PhotoRechttp://www.cgsecurity.org/wiki/PhotoRec Foremosthttp://foremost.sourceforge.net/ MagicRescuehttp://www.itu.dk/people/jobr/magicrescue/ …

Apr 27, 2013 • 1 min read

StrongSwan and Android configs

root@six #cat ipsec.conf conn tugriceri.com leftsubnet=0.0.0.0/0 left=209.208.63.204 leftcert=/cert/strongswan.pem leftauth=pubkey leftsendcert=yes leftid=six.tugriceri.com right=%any rightid=%any rightsourceip=10.0.5.0/24 …

Oct 07, 2011 • 1 min read

SELinux FTP Home dir write permission

Connected to 127.0.0.1.220 (vsFTPd 2.2.2)530 Please login with USER and PASS.530 Please login with USER and PASS.KERBEROS_V4 rejected as an authentication typeName (127.0.0.1:root): test1331 Please specify the password.Password:500 OOPS: …

Oct 04, 2011 • 1 min read

tacacs+ compile error

if you are getting this error when compiling tacacs+ , you should compile with --enable-maxsess option.gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -g -O2 -pthread -MT maxsessint.o -MD -MP -MF .deps/maxsessint.Tpo -c -o maxsessint.o …

Jun 18, 2011 • 1 min read

ZFS deduplication test on Fedora 15 Linux

I recently tested ZFS deduplication test on Fedora 15 Linux. This is my test script. I tested only text file. For final report, other file format tests is unnecessary. [root@etugriceri fast]# du -ch 0/textfile 6.5K 0/textfile 6.5K total …

Mar 26, 2011 • 1 min read

Yum Proxy settings

[root@localhost ~]# vi /etc/yum.conf proxy=http://10.129.0.23:8080http_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"

Jan 21, 2011 • 1 min read

LVM Create

1031 dmsetup ls --tree1040 dmsetup remove /dev/dm-11 (silinen partition ın dmden kalkmaması sebebi ile)1041 fdisk -l1044 pvcreate /dev/mapper/mpath111045 pvdisplay1046 vgcreate VolGroupBackup /dev/mapper/mpath111047 pvdisplay1048 …