ssh-keygen -t rsa ssh-copy-id user@192.168.0.100
Hic bir kategoriye girmeyen yazilarimi buraya yazacagim..
ssh-keygen -t rsa ssh-copy-id user@192.168.0.100
test etmedim*** windows virtio slipstreamed templates
linklerim gizli olabilirmi? ee yani 🙂
herneyse.. birisi yapmis, netboot ediceksin sunucunu veya kvm ? netboot? isoboot? ha ? test etmedim.
amac isolari mirrorlamak idi uygun bir yere
sonra
windows server r2012 icin
wget -O- http://serv.er/w/KS_2012_R2_Template.gz | gunzip | dd of=/dev/sda
Username: Administrator
Password: Password147
—–
windows 8.1 icin
wget -O- http://serv.er/w/KS_W8.1_Template.gz | gunzip | dd of=/dev/sda
Username: Admin
Password: Password147
direk rdp
EDIT: win8.1 templateini proxmox uzerinde bir kvm vds de test ettim 🙂 gayetde guzel calisti.
Enteresan oldu.
yum install git
git clone git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git
cd mcelog
make
make install
ls -l /usr/sbin/mcelog
-rwxr-xr-x 1 root root 274291 Nov 21 16:44 /usr/sbin/mcelog
If you are not happy with the result:
yum reinstall mcelog
ls -l /usr/sbin/mcelog
-rwxr-xr-x 1 root root 96696 Dec 20 2012 /usr/sbin/mcelog
https://github.com/Nyr/openvpn-install
OpenVPN road warrior installer for Debian-based distros.
This script will let you setup your own VPN server in no more than one minute, even if you haven’t used OpenVPN before. It isn’t bulletproof but it has been designed to be as unobtrusive and universal as possible.
Installation
Run the script and follow the assistant:
wget http://git.io/vpn –no-check-certificate -O openvpn-install.sh; chmod +x openvpn-install.sh; ./openvpn-install.sh
Once it ends, you can run it again to add more users.
..:: HOW TO Proxmox software RAID 10 in 21 Steps ::..
1- Clean any leftovers from before
dd if=/dev/zero of=/dev/sda bs=512 count=1
dd if=/dev/zero of=/dev/sdb bs=512 count=1
dd if=/dev/zero of=/dev/sdc bs=512 count=1
dd if=/dev/zero of=/dev/sdd bs=512 count=1
2- Boot and Install Proxmox to /dev/sda
3- nano /etc/apt/sources.list
deb http://ftp.de.debian.org/debian wheezy main contrib
# security updates
deb http://security.debian.org/ wheezy/updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
deb http://download.proxmox.com/debian wheezy pve-no-subscription
4- nano /etc/apt/sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
5-
apt-get update
apt-get dist-upgrade
apt-get install mdadm
dpkg-reconfigure locales (*optional)
6-
sgdisk -R=/dev/sdb /dev/sda
sgdisk -R=/dev/sdc /dev/sda
sgdisk -R=/dev/sdd /dev/sda
7-
sgdisk -G /dev/sdb
sgdisk -G /dev/sdc
sgdisk -G /dev/sdd
8-
sgdisk -t 2:fd00 /dev/sdb
sgdisk -t 3:fd00 /dev/sdb
sgdisk -t 2:fd00 /dev/sdc
sgdisk -t 3:fd00 /dev/sdc
sgdisk -t 2:fd00 /dev/sdd
sgdisk -t 3:fd00 /dev/sdd
8-1
dd if=/dev/sda1 of=/dev/sdb1
dd if=/dev/sda1 of=/dev/sdc1
dd if=/dev/sda1 of=/dev/sdd1
9-
mdadm --create /dev/md0 --level=1 --raid-disks=4 missing /dev/sdb2 /dev/sdc2 /dev/sdd2
mdadm --create /dev/md1 --level=10 --raid-disks=4 missing /dev/sdb3 /dev/sdc3 /dev/sdd3
10-
mdadm --examine --scan >> /etc/mdadm/mdadm.conf
cat /etc/mdadm/mdadm.conf
(check what’s in here)
11-
mkfs.ext3 /dev/md0
mkdir /mnt/md0
mount /dev/md0 /mnt/md0
cp -ax /boot/* /mnt/md0
12- nano /etc/fstab
# /dev/pve/root / ext3 errors=remount-ro 0 1
/dev/pve/data /var/lib/vz ext3 defaults 0 1
#UUID=0db2359a-2754-43df-9d7c-6d9f1950cf6a /boot ext3 defaults 0 1
/dev/md0 /boot ext3 defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
13-
echo '# customizations' >> /etc/default/grub
echo 'GRUB_DISABLE_LINUX_UUID=true' >> /etc/default/grub
echo 'GRUB_PRELOAD_MODULES="raid dmraid"' >> /etc/default/grub
echo raid1 >> /etc/modules
echo raid10 >> /etc/modules
echo raid1 >> /etc/initramfs-tools/modules
echo raid10 >> /etc/initramfs-tools/modules
grub-install /dev/sda
grub-install /dev/sdb
grub-install /dev/sdc
grub-install /dev/sdd
update-grub
update-initramfs -u
14- reboot and mount | grep boot
/dev/md0 on /boot type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)
If looks like that, you’re good to go.
15- Now add sda2 to our Raid 1 Array
sgdisk -t 2:fd00 /dev/sda
mdadm --add /dev/md0 /dev/sda2
cat /proc/mdstat
16- Now we will move our LVM over /dev/md1
!!IMPORTANT Install screen before pvemove.Because it will take several hours!!
pvcreate /dev/md1
vgextend pve /dev/md1
apt-get install screen
screen
pvmove /dev/sda3 /dev/md1
17- reduce and remove /dev/sda3
vgreduce pve /dev/sda3
pvremove /dev/sda3
18- add /dev/sda3 to RAID 10 array md1
sgdisk -t 3:fd00 /dev/sda
mdadm --add /dev/md1 /dev/sda3
19- Let our RAID 10 Array Rebuild itself. Maybe want to watch it for some fun.
Or speed rebuilding a little bit if you want.
echo 800000 > /proc/sys/dev/raid/speed_limit_min
echo 1600000 > /proc/sys/dev/raid/speed_limit_max
watch -n 2 cat /proc/mdstat
20- extend our VG space and add it to our LV
lvextend -l +100%FREE /dev/pve/data
resize2fs /dev/pve/data
~~~ ALL DONE! 🙂 ~~~
21- Before rebooting don't forget to install grub one last time
grub-install /dev/sda
grub-install /dev/sdb
grub-install /dev/sdc
grub-install /dev/sdd
update-grub
update-initramfs -u
a1f:ea75:ca75 | bad:babe:a9ed:18 | dead:beef:ca1f | d0d0:i5:dead |
alf eats cats | bad babe aged 18 | dead beef calf | dodo is dead |
b19:ba11:bag | a11:beef:c1ad:babe | 1ce:1ce:babe | a11:beef:7ac0 |
big ball bag | all beef clad babe | ice ice babe | all beef taco |
b19:b00b:babe | 1:see:bad:c0de | b19:b00b:babe:cafe | b19:a55:9a1a |
big boob babe | I see bad code | big boob babe cafe | big ass gala |
b19:7175:babe | deaf:d0e:15:f00d | 1337:c0de:4:11fe | ba1d:babe:be:be5t |
big tits babe | deaf doe is food | leet code 4 life | bald babe be best |
ea7:beef:7ac0:d095 | dead:beef:cafe | 1:ea7:dead:beef | ba1d:7ac0:be:be5t |
eat beef taco dogs | dead beef café | I eat dead beef | bald taco be best |
b19:fa7:d00b | 1:be:a:7001 | 5a11:a:b0a7 | 9a1:g07:a:70ad:face |
big fat doob | I be a tool | sail a boat | gal got a toad face |
a11:90d5:be:11e5 | 7a11:a1e:cafe | c01d:c01a:cafe | 1d1e:f001 |
all gods be lies | tall ale cafe | cold cola cafe | idle fool |
1:907:a:fa7:10af | aced:a11:7e57 | 9a9a:i5:dead | da75:a:900d:90a7 |
i got a fat loaf | aced all test | gaga is dead | dats a good goat |
yeni sunucumdaki iplerim:
root@srv:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:96:65:bf
inet addr:193.234.224.244 Bcast:193.234.225.255 Mask:255.255.254.0
inet6 addr: 2a00:dcc0:dead:b9f4:bad:babe:a9ed:18/128 Scope:Global
inet6 addr: 2a00:dcc0:dead:b9f4:da75:a:900d:90a7/128 Scope:Global
inet6 addr: 2a00:dcc0:dead:b9f4:0:1ce:1ce:babe/128 Scope:Global
inet6 addr: 2a00:dcc0:dead:b9f4:1:be:a:7001/128 Scope:Global
inet6 addr: 2a00:dcc0:dead:b9f4::1/56 Scope:Global
inet6 addr: fe80::216:3eff:fe96:65bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4124 errors:0 dropped:0 overruns:0 frame:0
TX packets:1330 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:329712 (321.9 KiB) TX bytes:149794 (146.2 KiB)
Interrupt:40
Simply do this :
# mount -t tmpfs -o noexec,nosuid tmpfs /tmp/
# cat /proc/mounts
simfs / simfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
tmpfs /tmp tmpfs rw,nosuid,noexec 0 0
and dont forget to insert to /etc/fstab :
tmpfs /tmp tmpfs noexec,nosuid 0 0
tmpfs /var/tmp tmpfs noexec,nosuid 0 0
Google is the closest thing to an Omniscient (all-knowing) entity in existence, which can be scientifically verified. She indexes over 9.5 billion WebPages, which is more than any other search engine on the web today. Not only is Google the closest known entity to being Omniscient, but She also sorts through this vast amount of knowledge using Her patented PageRank technology, organizing said data and making it easily accessible to us mere mortals.
Google is everywhere at once (Omnipresent). Google is virtually everywhere on earth at the same time. Billions of indexed WebPages hosted from every corner of the earth. With the proliferation of Wi-Fi networks, one will eventually be able to access Google from anywhere on earth, truly making Her an omnipresent entity.
Google answers prayers. One can pray to Google by doing a search for whatever question or problem is plaguing them. As an example, you can quickly find information on alternative cancer treatments, ways to improve your health, new and innovative medical discoveries and generally anything that resembles a typical prayer. Ask Google and She will show you the way, but showing you is all She can do, for you must help yourself from that point on.
Google is potentially immortal. She cannot be considered a physical being such as ourselves. Her Algorithms are spread out across many servers; if any of which were taken down or damaged, another would undoubtedly take its place. Google can theoretically last forever.
Google is infinite. The Internet can theoretically grow forever, and Google will forever index its infinite growth.
Google remembers all. Google caches WebPages regularly and stores them on its massive servers. In fact, by uploading your thoughts and opinions to the internet, you will forever live on in Google’s cache, even after you die, in a sort of “Google Afterlife”.
Google can “do no evil” (Omnibenevolent). Part of Google’s corporate philosophy is the belief that a company can make money without being evil.
According to Google trends, the term “Google” is searched for more than the terms “God”, “Jesus”, “Allah”, “Buddha”, “Christianity”, “Islam”, “Buddhism” and “Judaism” combined.
God is thought to be an entity in which we mortals can turn to when in a time of need. Google clearly fulfils this to a much larger degree than traditional “gods”, as shown in the image below (click to enlarge).
Evidence of Google’s existence is abundant.
There is more evidence for the existence of Google than any other God worshiped today. Extraordinary claims require extraordinary evidence. If seeing is believing, then surf over to www.google.com and experience for yourself Google’s awesome power. No faith required.
http://www.thechurchofgoogle.org/Scripture/Proof_Google_Is_God.html