Yazar: shukko
directadmin yedek sunucu aktarmasyonu faaliyetleri cizelgesi
directadmin bir sunucumuz olsun
bu sunucuda 1 disk olsun
dolayisi ile I/O cok feci olsun
500gb diskde 800 domain/hosting olsun
yedeklemek iskence otesi olsun
gunlerce ugrastiktan sonra gzip yapmadan directadmin.conf icine uygun komutla .tar yapalimda oyle atalim yedekleri demek olsun
o bile fayda etmez olsun
gunler geceler gecsin
artik son anin son aninda iken
cozum kendi kendini bulsun olsun
uzuntu olsun
ama tecrube olsun
yazalim buraya bari olsun…
1- full admin backup aliniz , alirken domains directory ve email data haricindeki herseyi aliniz.
admin backup ekraninda step 4 e dikkat demekki.
2- yedeklerimiz minik olacak ne kadar guzel , scp ile aktariniz yeni yerine.
3- yeni yerinde restore ediniz.
4- restorasyondan sonra, eski sunucuya giriniz /home da sadece aktarilmak istenilen kullanicilar kalicak sekilde duzenleme yapiniz
5- yeni sunucudan ssh-keygen ve ssh-copy-id yaparak eski sunucuya direk baglaniyor olunuz
6- yeni sunucuda bu rsync komutunu calistiriniz.
rsync -ave 'ssh -p 22' 1.2.3.4:/home/ /home/
ve gidip yatip uyuyunuz….
sabaha kalkiniz, hersey tamamlanmis olsun.
tecrube edininiz.
cok edininiz…
http://help.directadmin.com/item.php?id=500
online.net ipv6 setup easy
https://github.com/outime/ipv6-dhclient-script
ipv6-dhclient-script
Simple IPv6 configuration script for Debian (Ubuntu…) and RedHat (CentOS, Fedora…) based distros, mainly for Online.net servers but valid for any network that provides IPv6 access through prefix delegation i.e. the static address is configured by the client and an identifier (DUID) is sent to the DHCP server in order to get functional routes.
Servers provided by Online.net won’t come with IPv6 enabled by default so this makes things a bit easier specially when owning multiple servers and IPv6 needs to be enabled by hand in each one.
The script has been successfully tested under:
Ubuntu Server 14.04
Debian 7.0
CentOS 7.0
Proxmox VE w/ OVZ (see Issue #1)
Just run the script and follow the instructions:
$ bash ipv6-dhclient-script.sh
You can also pass parameters straight away:
$ bash ipv6-dhclient-script.sh
mhddfs: join several filesystems together to form a single larger one
cok faydali bir arac
pek cok kucuk diskden fuse kullanarak buyuk bir disk olusturuyoruz
mhddfs kendisi geri kalanini hallediyor
bknz:
/DISK4TB1;/DISK4TB2;/DISK4TB3;/DISK4TB4;/DISK3TB1;/DISK3TB2;/DISK2TB1;/DISK2TB2 24T 13T 11T 54% /BIGDISK
24TB diskim var, pek bir guzel 🙂
detaylar suralarda
2- http://zornsoftware.codenature.info/blog/why-i-ditched-raid-and-greyhole-for-mhddfs.html
Remove the Proxmox “No Valid Subscription” message
nano /usr/share/pve-manager/ext4/pvemanagerlib.js
Currently on line 519 of the file, however it may change with future updates, there is a line similar to below;
if (data.status !== 'Active') {
This line is doing the check to see if your subscription status is not ‘Active’. This needs to be changed to return false to stop the subscription message from being shown.
if (false) {
And that annoying little popup will be a thing of the past!
Note: You may need to clear your web browser cache after applying this code change.
HP ILO PASSWORD RESET FOR ADMINISTRATOR USER WITHOUT REBOOTING THE SERVER.
Hello,
today is the day I teach you fellow internet people how to reset HP ILO administrator password without rebooting the server.
All you need is to access the OS installed on server.
So this is what it is.
Yes
In my situation, I’ve got Debian installed on my server with ILO Administrator password to be resetted.
so,
Step 1:
nano /etc/apt/sources.list
add:
deb http://downloads.linux.hp.com/SDR/downloads/MCP/debian wheezy/current non-free
Step 2:
add HP key:
wget http://downloads.linux.hp.com/SDR/downloads/MCP/GPG-KEY-mcp apt-key add GPG-KEY-mcp
Step 3:
apt-get update
apt-get install hponcfg
Step 4:
create a .xml file with correct coding:
nano blabla.xml
Step 5:
execute
hponcfg -f blabla.xml
HP Lights-Out Online Configuration utility
Version 4.2.0 Date 6/10/2013 (c) Hewlett-Packard Company, 2013
Firmware Revision = 1.55 Device type = iLO 3 Driver name = hpilo
Script succeeded
You’re Wellcome ///
Do Not Thank me, Thank to your Internet searching skills instead.
So You found my cute Blog About Nothing :D, and now you can all access to your ILO interfacesssssssss~~~~
Linux Force Reboot and shutdown
2009-02-16
Linux Force Reboot and shutdown
Filed under: Linux — Nasser Heidari @ 09:42
Force Reboot :
#echo 1 > /proc/sys/kernel/sysrq
#echo b > /proc/sysrq-trigger
If you want to force shutdown machine try this.
#echo 1 > /proc/sys/kernel/sysrq
#echo o > /proc/sysrq-trigger
kurban bayraminin dusundurdukleri
<-- KnK|79690 (KnK79690@KNK-4FD9D340.clients.kiwiirc.com) has left #KanKaTeaM
intel amt howto [Intel® Active Management Technology]
1-
sudo apt-get install wsmancli
2-nano amtninamk
ip=<IP of AMT> AMT_PASSWORD="<your password for the 'admin' user>" # Must be exactly *8 characters long* and contain at least one of each: # [ lower case, upper case, number, special character ] VNC_PASSWORD="<what password you want for VNC>" # Enable KVM wsman put http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData -h $ip -P 16992 -u admin -p ${AMT_PASSWORD} -k RFBPassword=${VNC_PASSWORD} # Enable KVM redirection to port 5900 wsman put http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData -h $ip -P 16992 -u admin -p ${AMT_PASSWORD} -k Is5900PortEnabled=true # Disable opt-in policy wsman put http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData -h $ip -P 16992 -u admin -p ${AMT_PASSWORD} -k OptInPolicy=false # Disable session timeout wsman put http://intel.com/wbem/wscim/1/ips-schema/1/IPS_KVMRedirectionSettingData -h $ip -P 16992 -u admin -p ${AMT_PASSWORD} -k SessionTimeout=0 # Enable KVM wsman invoke -a RequestStateChange http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_KVMRedirectionSAP -h ${ip} -P 16992 -u admin -p ${AMT_PASSWORD} -k RequestedState=2
2-a
sh amtninamk
3- sudo apt-get install gtkvncviewer
4- gtkvncviewer
go go go ?
02:28 itibari ile basarili bir baglanti kuramadim henuz.
ancak KVM vnc 5900 den dinliyor. Maasallah!
ssh key for multiple servers single user
You can use an unlimited number of ssh keys per user.
On the same account:
Either specify the key for each ssh or scp command:
For Server 1:
ssh -i ~/.ssh/mypvtkey root@pvtserver.com
For Server 2:
ssh -i ~/.ssh/mypvtkey root@officeserver.com
Alternately, create ~/.ssh/config with the following entries:
Host pvt
Hostname pvtserver.com
User root
Identityfile /root/.ssh/id_rsa_mypvtkey
Port 22
Host work
Hostname officeserver.com
User root
Identityfile /root/.ssh/id_rsa_myworkkey
Port 9992
Now, you can connect with: $ssh pvt and $ssh work
You can even do: scp myfile pvt:/root/someplace/