tom derki: (proxmox developer)

here are my values (Raid10, 4 x 500 GB sata, adaptec 3805 with cache enabled and batteries backup module).
Code:

proxmoxve:~# pveperf
CPU BOGOMIPS: 17027.42
REGEX/SECOND: 765295
HD SIZE: 94.49 GB (/dev/pve/root)
BUFFERED READS: 180.32 MB/sec
AVERAGE SEEK TIME: 9.97 ms
FSYNCS/SECOND: 1209.17
DNS EXT: 36.50 ms
DNS INT: 1.02 ms (maurer-it.com)
proxmoxve:~#

buda kapak olsun o zaman…


Nasil proxmox kurdum

1- makina 2 disk 2x2 tb debian 7 !ps! raid yok.. lvm falan hakgetire..
2- makinada hem grub lecacy hem grub 2 var kafa bundan karisiyor..
3- apt-get update
apt-get upgrade
4- reboot
5- nano /etc/hosts
----
127.0.0.1 localhost.localdomain localhost
99.99.99.99 vm2.domainimbenim.com vm2 vm2localhost

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
----
6- nano /etc/resolv.conf
---
nameserver 8.8.8.8
nameserver 8.8.4.4
---
7- nano /etc/hostname
---
vm2.domainimbenim.com
---
8- nano /etc/apt/sources.list
---
#

unlemli satirlari degistir aynen kopyalama :)

!!deb http://mirror.de.ps.com/debian/ wheezy main non-free
!!deb-src http://mirror.de.ps.com/debian/ wheezy main non-free

deb http://ftp.de.debian.org/debian/ wheezy main non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main non-free

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian wheezy pve

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

##deb http://volatile.debian.org/debian-volatile wheezy/volatile main
##deb-src http://volatile.debian.org/debian-volatile wheezy/volatile main

---
9- wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -

10- apt-get update && apt-get dist-upgrade

11- apt-get install pve-firmware pve-kernel-2.6.32-22-pve

12- apt-get install pve-headers-2.6.32-22-pve

13- nano /boot/grub/menu.lst
---
## ## End Default Options ##
title proxmox
root (hd0,1)
kernel /vmlinuz-2.6.32-22-pve root=/dev/sda1 ro quiet
initrd /initrd.img-2.6.32-22-pve
---
Bla bla...

reboot

14- uname -a
Linux 2.6.32-22-pve ...

15- apt-get install proxmox-ve-2.6.32 ntp ssh lvm2 postfix ksm-control-daemon vzprocps open-iscsi bootlogd

16- Connect to the admin web interface (https://youripaddress:8006) and configure the vmbr0 and review all other settings, finally reboot to check if everything is running as expected. *timezone* etc...

17- VMBR0 setup icin

datacenter > nodeadi > network

eth0 yes yes emtpy all
vmbr0 yes yes eth0 99.99.99.99 255.255.255.0 99.99.99.1*gw*

18- /var/lib/vz yi /home/vz/ altina tasidiktan sonra
ln -s /home/vz/ /var/lib/vz

19- reboot and done :)

nano /etc/system_filter.exim

=======================================


#For blocking all incoming and outgoing .win emails
if first_delivery
and ("$h_to:, $h_cc:" contains ".win")
or ("$h_from:" contains ".win")
then
seen finish
endif

=======================================

DONE!

directadmin de spamassassin secili ve aktif olmasina ragmen spam olarak isaretledigi mesajlari silmiyor?

1- nano /usr/local/directadmin/data/templates/filter_base


# Exim Filter

# created by |NAME|, version |VERSION|
# Do not modify this file as any changes will be
# overwritten when the user makes a change.
# (data is only written to this file, not read)

|*if BLOCKLEVEL|
if
$h_X-Spam-Level: contains "|BLOCKLEVEL|"
then
seen finish
endif
|*endif|

|SPAMFILTERS|

if error_message then finish endif

|WORDFILTERS|

|ADULTFILTERS|

#end filter

2-
echo "action=rewrite&value=filter" >> /usr/local/directadmin/data/task.queue

Mount LVM-based volumes from loopback full disk images

TURKCESI FULL EGLENCE!!!

Background:

1- .raw uzantili kvm disk imajimiz var.
bu dosya aslinda bildigin .img dosyasi
icinde sanal makinamizin diski var malum
ancak sanal disk imaji icinde makina diskimiz LVM
buyur buradan yak.
Bu LVM yi nasil aktif edipde disk imajimizi sistemimize mount edicezde
icinden 3 5 tane dosya alacagiz?

2- su link harika sekilde anlatmis

http://www.thegibson.org/blog/archives/467

3- kisaca soyle yapiyoruz

a- once bize lvm offset numarasi lazim ki onu uygun sekilde mount edelim
mount the whole disk image loopback: losetup /dev/loop0 sda.img

b- durumuna bakalim
fdisk -u -l /dev/loop0

Disk /dev/loop0: 250 GB, 250056737280 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488392065 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/loop0p1 * 63 401624 200781 83 Linux
/dev/loop0p2 401625 488392064 243987187 8e Linux LVM

c- bize lazim olan lvm bolumu start nosu 401625
her sektor 512 byte
o zaman 401625×512= 205632000 offset numarasi

d- losetup -d /dev/loop0 diyip bundan kurtulalim sev sadece lvm nin oldugu yeri lopplayalim
losetup /dev/loop0 sda.img -o205632000

e- lvm pvscan
diyip pvmize baktiktan sonra
lvm vgchange -ay
diyip aktif edelim
lvm lvs diyip mapper durumuna bakalim

f- ve mount edelim
mount /dev/mapper/VolGroup00-LogVol00 /eben1

gibi

Hoppacik
LVM nin te amina sokim bu arada…
Sevemedim gitti bunca yildir. Hep sorun hep sorun..
Getirdigi pek cok avantaj var ama bir sorun cikinca islem yapmasi tam eziyet…

1) SELL A BRANDED MONTHLY LICENSE FOR $20/mo.
2) SELL A $200 BRANDED OWNED LICENSE – IT’S YOUR VEHICLE TO ADVERTISE FOR FREE
3) DON’T TRY TO INCLUDE SO MANY MODULES WITH XXX! GIVE DEVELOPERS A CHANCE TO DEVELOP FOR IT SO THAT YOU CAN HAVE AN ECOSYSTEM AROUND YOUR PLATFORM
4) MAKE IT EASY FOR DESIGNERS TO CREATE TEMPLATES
5) NEXT TIME YOU WANT TO DO CRAZY THINGS WITH PRICING MAKE AN ANNOUNCEMENT FIRST
6) DON’T LOCK DOWN YOUR FORUMS AND TRY TO HIDE – KEEP COMMUNICATIONS OPEN AND BUILD A STRONG COMMUNITY AROUND YOUR PRODUCT – AND KEEP A LINE OF COMMUNICATIONS OPEN FOR POTENTIAL CUSTOMERS
7) YOUR BEHIND THE 8 BALL RIGHT NOW, SO LEARN FROM THIS LESSON, AND LEARN WELL: THE MORE PEOPLE CAN AFFORD YOUR SOFTWARE, THE FURTHER IT WILL SPREAD AND IN TURN YOU WILL MAKE MORE MONEY!