cd /usr/local/directadmin/custombuild
./build update
perl -pi -e ‘s/clean_old_webapps=no/clean_old_webapps=yes/’ options.conf
./build clean
./build roundcube
Centos 5.2 ve LSI 1064e / Intel MegaSR Driver How to :)
Centos 5.2 kurmak ve duzenli guncellemek istedigim 1u bir serverim var.
Serverim Intel s5000vcl anakarti ile ustunde 6 Gb ecc registered buffeered ddr2 rame sahip
intel xeon 5310 quad core cpusu ile guclendirilmis durumda.
Bu anakart ustunde LSI1064e chipsetine sahip bir SAS kontrolcusu bulunmakta.
Yapmak istedigim Intelin kendi SAS Raid ini kullanarak 3×73 GB 15k Rpm Seagate SAS disklerimi RAID 0 olarak calistirmak.
Ancak nedense Intel inatla Centos / Redhat 5.2 icin bir turlu x86_64 driverlarini cikartmadi.
http://downloadcenter.intel.com u 1 ay boyunca hergun ziyaret etmeme ragmen bir cozum bulamamaktan sikayet ediyordum.
Sonra cozumun zaten uzun zamandir onumde durdugunu farkettim.
HOW TO / NASIL
1- Redhat / Centos 5.1 icin intelin cikardigi SAS driverlari indirilir.
ve centos 5.2 x86_64 kurulumu normal bir sekilde yapilir.
Boot ettikden sonra linux dd dememiz ve indirdigimiz driveri USB floppy imiz ile yuklememiz gerek.
Centos driver bulamadim falan desede Intel MEGASR yuklendi yazarsa ekranda isleme devam edilir.
2- Raid0 seklinde disklerimize default 5.1 kurulumu yapildikdan sonra
yum -y update ile sistem 5.2 ye terfi ettirilir.
3- Makinamiz reboot ettikten sonra – update sonrasi yukledigimiz degil default 5.1 kernelimiz ile acmaliyiz –
Reboot dan sonra asagidaki adimlar yapilir
4-
megasr modulu yeni yerine kopyalanir – not kernel numaralari eskidir yenisine gore duzenleyin.
cp -r /lib/modules/2.6.18-8.el5/updates /lib/modules/2.6.18-8.1.15.el5/
Depmod calistirilir
depmod -a 2.6.18-8.1.15.el5
yeni bir boot imaji olusturulur.
update sonrasi gelen yeni img yi /boot altindan silip yeniden olusturuyoruz
mkinitrd /boot/initrd-2.6.18-8.1.15.el5.img 2.6.18-8.1.15.el5
Reboot ve yeni kernelimiz ile centos 5.2 miz calismaya hazir.
Gule gule kullaniniz.
Ayni seyi bu makina ustune kurmayi dusundugum hypervm ile openvz kernelindede deneyecegim az sonra.
Calisacagindan eminim...
Centos forumlarina tesekkurler :)
Create/Restore An Image
Create An Image
dd if=/dev/sda | gzip > /mnt/sdb1/sda.img.gz
Restore An Image
gzip -dc /mnt/sdb1/sda.img.gz | dd of=/dev/sda
USB FLASH DISKI BOOTABLE YAPMACA
1- Hpnin bu is isin yaptigi prgyi indir
http://shukko.com/usb/SP27608.zip
2- boot etmek icin gerekli sistem dosyalarini indir
http://shukko.com/usb/bootme.zip
3- 
Oldu bitti masallah..
BEN

Not: resim Teb.com.tr sitesinden alintidir. Tum haklari kendilerine aittir 🙂
WHAT IS RAID? – RAID NEDIR?
exim queue
if the message is frozen
exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm
if the message is <>
exim -bpru|grep '<>'|awk {'print $3'}|xargs exim -Mrm
if all
exim -bpru|awk {'print $3'}|xargs exim -Mrm
cd romu olmayan servera centos kurmak icin usb flash stick hazirlamak
cd romu olmayan servera centos kurmak icin usb flash stick hazirlamak
1- http://www.chrysocome.net/dd
adresinden dd.exe nin en son surumu indirilir
2- http://mirror.centos.org/centos/5.1/os/x86_64/images/
adresinden diskboot.img dosyasi indirilir
3- USB disk bilgisayara takilir
4- cmd ile dd.exe nin bulundugu dizine gidilir
dd –list denerek usb diskin nerede mount edilmis oldugu bulunur.
5- asagidaki ornekde usb disk c: de mount edilmis.
buna gore diskboot.img dosyamizi c: de bulunan usb diskimize yazalim.
dd if=diskboot.img of=\\.\C: –progress
retry time not reached for any host after a long failure period
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients.
This is a permanent error.
The following address(es) failed: sdsaddsaasd@tofas.com.tr retry time not reached for any host after a long failure period
------ This is a copy of the message, including all the headers. ------
Return-path:
EXIM Bir gun birden bire tum domainlere mail atarken 1 tek domaine mail atmamaya baslarsa
ve maili atar atmaz yukaridaki hata mesaji geri geliyorsa
ancak konsoldan patir patir smtp serverina baglanip islem yapilip
dns de en ufak sorun yok olup mx ler cillop gibiyse…
anlaki eximin /var/spool/exim/db altindaki
-rw-r—– 1 mail mail 12288 Apr 28 16:01 retry
-rw-r—– 1 mail mail 0 Apr 28 15:58 retry.lockfile
-rw-r—– 1 mail mail 12288 Apr 28 16:06 wait-remote_smtp
-rw-r—– 1 mail mail 0 Apr 28 15:58 wait-remote_smtp.lockfile
dosyalarina bir haller olmustur.
Emin ol corruption eninde sonunda hepimizin basina bir gun gelicektir.
Anti corrupt olmaya ne gerek var…
ne yapmak gerekir.
1-delete all under exim db folder
2- delete al queued msgs ( fuk them all)
3- delete all msg logs
4- delete yourself ( can you? ) YES I CAN ..
reboot et birde ciksin kokusu …
freebsd static arp entry
arp -s 10.100.100.199 00:03:fa:57:11:30
arp -s fake.ip m:a:c
