Bu projenin genel amacı, Linux üzerinde Bluetooth, kızılötesi, Wi-Fi ya da TCP / IP bağlantısı üzerinden uzaktan kumanda hizmet sunmaktır.
http://anyremote.sourceforge.net/
Bu Blogda Ara
23 Haziran 2009 Salı
VMware e kurulabilecek guest listesi
Bu linkten VMware Compatibility Guide a erişebilirsiniz. Gayet güncel.
17 Haziran 2009 Çarşamba
sysadmin's rule
Asla cuma günü önemli bir değişiklik yapma hele birde yaz tatiline çıkmaya hazırlanıyorsan. :)
"Never make a major change on a Friday, nor before leaving for vacation."
"Never make a major change on a Friday, nor before leaving for vacation."
Centos son kullanma tarihine dikkat :)
CentOS update support u 7 yıl boyunca devam ediyor. Centos' un iki update destek şekli var.
Full Updates (including hardware updates): Dikkat Centos 4 için bu update ler artık çıkmıyor. Feb 29, 2008 den beri.
Maintenance Updates: Centos 4 için Feb 29, 2012 yılına kadar devam edecek. Bu update ler sadece security içeriklidir.
Full Updates (including hardware updates): Dikkat Centos 4 için bu update ler artık çıkmıyor. Feb 29, 2008 den beri.
Maintenance Updates: Centos 4 için Feb 29, 2012 yılına kadar devam edecek. Bu update ler sadece security içeriklidir.
15 Haziran 2009 Pazartesi
Vsphere Client otomatik logon
pass though authentication kullanarak virtual center a otomatik login olabilirsiniz. VI client kısayolunu aşağıdaki gibi değiştirin.
şöyle olmalı,
"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -passthroughAuth -s virtualcenter.domain.local
Domain yoksa username ve password belirtebilirsiniz.
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s VCENTER_IP -u username -p password
şöyle olmalı,
"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -passthroughAuth -s virtualcenter.domain.local
Domain yoksa username ve password belirtebilirsiniz.
"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -s VCENTER_IP -u username -p password
24 Nisan 2009 Cuma
www.bilgikale.com
Kardeşimin sahibi olduğu www.bilgikale.com Elektronik & Bilgisayar online mağazası hizmete açıldı. :)

vmware eğitimi ( VCP )
Vmware infrastructure eğitimini bilgeadamın bünyesinde açtığı ilk sınıfta tamamladım. Bu eğitimin konu ve lablarında esx ssh komutlarından bahsedilmiyor. Müfredad dışına pek çıkılmadı. Eğitimin en önemli konuları bence resource management ve storage yönetimi idi. İlk sınıf olmanın verdiği eksiklikleri vardı tabi. Ama genel anlamda yararlı bir eğitim oldu.
16 Nisan 2009 Perşembe
How to resize disk LVM on the vitual machine guest in the ESX
Guest sunucunun edit setting ten disk boyutu artırılır.
bu işlem restart gerektirir.
ardından
ossec:~ :fdisk -l komutu ile diskin genişlediğinden emin olun.
ossec:~ :fdisk /dev/sda
sırasıyla aşağıdaki seçenekleri kendi sisteminize göre yapınız ,
new partition "n"
primary "p"
no : 3 "3"
print "p"
type "t"
no : 3 "3"
type 8e "8e"
print "p"
write "w"
restart gerektirir.
ossec:~ :pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 7.90 GB / not usable 23.41 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 252
Free PE 0
Allocated PE 252
PV UUID JKfbP2-Cn9A-bVCh-qKy1-VNcc-GHkU-BzVBzP
burada oluşan sda3 ü görmemiz gerekiyor bunun için;
ossec:~ :pvcreate /dev/sda3
Physical volume "/dev/sda3" successfully created
ossec:~ :pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 7.90 GB / not usable 23.41 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 252
Free PE 0
Allocated PE 252
PV UUID JKfbP2-Cn9A-bVCh-qKy1-VNcc-GHkU-BzVBzP
"/dev/sda3" is a new physical volume of "2.00 GB"
--- NEW Physical volume ---
PV Name /dev/sda3
VG Name
PV Size 2.00 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID CO2NZh-g01f-QKhQ-s4VW-Eo24-DY4k-NpzaXB
Artık /dev/sda3 ü görebiliyoruz.
vgdisplay komutu ile Free PE / Size alanına bakıyoruz "0" gözüküyor. burada ekelediğimiz boş alanı göstermek için ;
ossec:~ :vgextend VolGroup00 /dev/sda3
ossec:~ :vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 9.84 GB
PE Size 32.00 MB
Total PE 315
Alloc PE / Size 252 / 7.88 GB
Free PE / Size 63 / 1.97 GB
VG UUID hj2Jey-fzRJ-4I1d-sUA2-aVZM-fPhQ-6XDEWJ
şimdi Free PE / Size olarak 1.97GB görüyoruz.
lvdisplay komutu ile görünen /dev/VolGroup00/LogVol00 a Free PE size eklenir. Tüm free size i eklemek için ;
ossec:~ :lvextend -l +100%FREE /dev/VolGroup00/LogVol00
son olarak resize ediyoruz ve diskimiz kullanıma hazır hale gelecek.
ossec:~ : resize2fs /dev/mapper/VolGroup00-LogVol00
ossec:~ :df -h ile disk alanının genişlediğini görebilirsiniz.
bu işlem restart gerektirir.
ardından
ossec:~ :fdisk -l komutu ile diskin genişlediğinden emin olun.
ossec:~ :fdisk /dev/sda
sırasıyla aşağıdaki seçenekleri kendi sisteminize göre yapınız ,
new partition "n"
primary "p"
no : 3 "3"
print "p"
type "t"
no : 3 "3"
type 8e "8e"
print "p"
write "w"
restart gerektirir.
ossec:~ :pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 7.90 GB / not usable 23.41 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 252
Free PE 0
Allocated PE 252
PV UUID JKfbP2-Cn9A-bVCh-qKy1-VNcc-GHkU-BzVBzP
burada oluşan sda3 ü görmemiz gerekiyor bunun için;
ossec:~ :pvcreate /dev/sda3
Physical volume "/dev/sda3" successfully created
ossec:~ :pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 7.90 GB / not usable 23.41 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 252
Free PE 0
Allocated PE 252
PV UUID JKfbP2-Cn9A-bVCh-qKy1-VNcc-GHkU-BzVBzP
"/dev/sda3" is a new physical volume of "2.00 GB"
--- NEW Physical volume ---
PV Name /dev/sda3
VG Name
PV Size 2.00 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID CO2NZh-g01f-QKhQ-s4VW-Eo24-DY4k-NpzaXB
Artık /dev/sda3 ü görebiliyoruz.
vgdisplay komutu ile Free PE / Size alanına bakıyoruz "0" gözüküyor. burada ekelediğimiz boş alanı göstermek için ;
ossec:~ :vgextend VolGroup00 /dev/sda3
ossec:~ :vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 9.84 GB
PE Size 32.00 MB
Total PE 315
Alloc PE / Size 252 / 7.88 GB
Free PE / Size 63 / 1.97 GB
VG UUID hj2Jey-fzRJ-4I1d-sUA2-aVZM-fPhQ-6XDEWJ
şimdi Free PE / Size olarak 1.97GB görüyoruz.
lvdisplay komutu ile görünen /dev/VolGroup00/LogVol00 a Free PE size eklenir. Tüm free size i eklemek için ;
ossec:~ :lvextend -l +100%FREE /dev/VolGroup00/LogVol00
son olarak resize ediyoruz ve diskimiz kullanıma hazır hale gelecek.
ossec:~ : resize2fs /dev/mapper/VolGroup00-LogVol00
ossec:~ :df -h ile disk alanının genişlediğini görebilirsiniz.
6 Şubat 2009 Cuma
Centos Servisleri ve ne işe yaradıkları
acpid - off Advanced Configuration and Power Interface
event daemon. Shutdown applications if the power fails.
aep1000 - off AEP1000/AEP2000 coprocessor driver.
anacron - off Cron-like, but doesn't assume that the
machine is always on.
apmd - off Advanced Power Management. Only on for your
UPS to shutdown your computer when the power fails.
atd - off Run jobs queued for later execution by "at".
autofs - off Auto mount CDs and other file system-like
devices and media.
bcm5820 - off Hardware cryptographic accelerator support for
the BCM5820 Cryptonet driver.
cpuspeed - on for laptops, off for desktop computers.
crond - on Runs regularly scheduled system tasks, e.g. a
task that runs once a day.
cups - on Common Unix Printing System. Necesary if you
want to print.
cups-config-daemon - off(?) Works with HAL to dynamically manage printer
configuration. Might overwrite
/etc/cups/cupsd.conf. See:
http://www.cups.org/articles.php?L301
cxoffice - off Probably runs automatically if you have
Crossover Office and run an installed Windows application.
dc_client - off Distributed session cache client proxy.
dc_server - off Distributed session cache server.
gpm - off unless you want mouse cut/paste on the
non-graphical console.
haldaemon - on Auto-recognizes various kinds of hardware and
mountable media.
httpd - off The Apache web server. Only on if you need a
web server.
iptables - on The firewall.
irda - off Infrared wireless device daemon. For PDA, etc.
irqbalance - on If you have a multiprocessor system. Off on
all single cpu machines.
isdn - off Only used if you have an ISDN network connection.
kudzu - off Detects and configures new and/or changed
hardware on a system. Can be run manually if you need it.
lisa - off Scans your network to provide information
about hosts on your network, perhaps including
Windows shares. Some versions have security
problems. Part of kdenetwork utilities.
lm_sensors - off Monitor system sensors such as CPU and
motherboard temperature.
mDNSResponder - off Publishes and browses available network
services via Zeronconf (aka "Rendezvous").
mdmonitor - off Part of the mdadm package to administer
software RAID. See rpm -qi mdadm
mdmpd - off Monitor MD multipath devices, e.g. disks with
more than one controller. Apparently only for
RAID arrays.
messagebus - on Provides a communication bus for dbus. Programs
talk to other programs. Probably leave enabled.
microcode_ctl - on for Intel CPUs, off for AMD processors. Only works on Intel CPUs
(doesn't work with AMD). I'm not clear what the
updated microcode does. You can find out your cpu
info on Linux systems with this command:
cat /proc/cpuinfo
More info at:
http://www.urbanmyth.org/microcode/
mysqld - off A crash prone, slow, non-standard SQL
database server.
named - off A DNS server.
netdump - off Only for diagnosing kernel crashes.
netfs - off Automatically Mounts and unmounts all Network
File System (NFS), SMB/CIFS (Lan
Manager/Windows), and NCP (NetWare) mount points.
This is the only thing you need if you are an NFS
client (e.g. not an NFS server), since netfs will
run any other necessary daemons. Netfs may
automatically handle everything necessary for the
other (non-NFS) protocols, but I've only tested
it with NFS. Disable this if you don't use NFS,
Samba, or NetWare.
netplugd - off Automatic recognition of active/inactive
network interfaces.
network - on if you have an Ethernet connection. Off for
modem users.
nfs - off Network File System. Only on to allows other
unix systems to share your hard drive (volume, file system). Not
necessary if you are a client to a shared volume.
nfslock - off Provides NFS file locking functionality.
Disable if you aren't using NFS. Required by nfs.
nifd - off Network interface monitor. Calls
mDNSResponder if your IP address changes.
nscd - off Nscd provides cacheing for the passwd(5),
group(5), and hosts(5) databases.
ntpd - off Network Time Protocol. Easier to put this in
cron: /usr/sbin/ntpdate -s -u ntp1.virginia.edu
pcmcia - on for laptop users with PCMCIA cards. Off for
desktop machines.
portmap - off Netfs will start portmap as necessary.
Portmap is DARPA port to RPC program number
mapper. Required if you are an nfs client or
server (although netfs starts portmap for
clients, so you don't need it explicitly
enabled). If you're not using NFS or NIS, then
you should disable portmap. Some (?) versions of
portmap are highly insecure. You can run `rpcinfo
-p $hostname` against your system to see what
additional services it is providing. More info
at:
http://cert.uni-stuttgart.de/archive/suse/security/2003/04/msg00141.html
postgresql - off The most powerful, fastest, easiest to use SQL
database. Robust and has excellent documentation.
psacct - off Daemon used by several utilities for monitoring process
activities, including ac, lastcomm, accton, and sa.
readahead - off The readahead process preloads the buffer
cache with files that might be paged in one 'page
demand triggered' read at a time. This can speed
things up of boxes with enough memory. Config
file is: /etc/readahead.files
readahead_early - off See readahead. Config file is: /etc/readahead.early.files
rhnsd - off Queries the Red Hat Network for updates and
information.
rpcgssd - off Part of the nfs-utils package. Required by nfs.
rpcidmapd - off Required if you are running an nfs server.
rpcsvcgssd - off Required by nfs.
saslauthd - off unless you are using plaintext SASL password
authentication
sendmail - off Part of the mail server. Only on if you
machine is mail server.
sgi_fam - off FAM is a file monitoring daemon that detects
when files have changed and then performs some action.
smartd - off SMART Disk Monitoring Daemon. Monitor hard
drive and predict failure.
smb - off Samba Windows file sharing server.
snmpd - off Respond to SNMP request packets. Probably
only on if another machine is monitoring the
status of your machine.
snmptrapd - off Receive and log SNMP trap messages. SNMP is
for monitoring system status.
spamassassin - off Mail filter to identify spam using text
analysis. Only for mail servers(?)
squid - off Proxy caching server for web and ftp.
sshd - off SSH daemon. On if you want to ssh into your
machine.
syslog - on Handles logging of system events. It is good
to leave this turned on. Logs autorotate and will
not fill your hard drive.
tux - off Apparently a web server.
vncserver - off Remote desktop sharing.
winbind - off Related to Samba.
xfs - on X Windows font server. Use by X windows to
support a graphical desktop (including KDE and Gnome)
xinetd - on Super daemon (aka super server), launches network related daemons
on demand.
ypbind - off Disabled unless you are using and NIS server, usually
for password authentication
yppasswdd - off yppasswdd is the RPC server that lets users
change their passwords when you are using NIS
(a.k.a. YP).
ypserv - off ypserv is an implementation of the standard
NIS/YP networking protocol.
ypxfrd - off ypxfrd should be started in addition to ypserv to
accelerate transferring yp maps.
yum - off Yellow dog Updater, Modified. Updates
software packages (rpm and/or apt
packages). Some people run it nightly, some run
it manually.
ilk kurulum için açmanız gereken ve yeterli olan servisler ise ;
# chkconfig --list |grep 3:on
acpid 3:on
apmd 3:on
cpuspeed 3:on
crond 3:on
haldaemon 3:on
ipmi 3:on
irqbalance 3:on
messagebus 3:on
network 3:on
sendmail 3:on
sshd 3:on
syslog 3:on
xinetd 3:on
28 Aralık 2008 Pazar
reload /etc/hosts file ?
hosts dosyasında yaptığınız değişiklikleri göremiyorsanız önce /etc/sysconfig/network dosyasında hostname i düzeltin örneğin (hostname=abc.domain.local) ve ardınan
# hostname abc.domain.local
komutunu uygulayın.
hostname -f ile kontrol edin.
doğru hosts dosyası aşağıdaki gibi olmalı.
cat /etc/hosts
# hostname abc.domain.local
komutunu uygulayın.
hostname -f ile kontrol edin.
doğru hosts dosyası aşağıdaki gibi olmalı.
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localdomain.localhost
192.168.1.8 abc abc.domain.com
14 Aralık 2008 Pazar
Semaphore delete
Lotus domino yada apache crash durumlarında semaphores değerleri artar ve bu servisleri start edemessiniz. Semaphore u boşaltarak yada değerlerini artırarak yolunuza devam edebilirsiniz.
önce semaphore ayarlarına bakalım
cat /proc/sys/kernel/sem
250 32000 32 128
şimdi bu değeri artıralım
/etc/sysctl.conf
kernel.msgmni = 1024
kernel.sem = 250 256000 32 1024
ardından sysctl -p komutu ile reload yapın.
ipcs komutu ile smaphore id lerini görebilirsiniz .
ipcrm -s ile bu semaphore değerlerini silebilirsiniz.
önce semaphore ayarlarına bakalım
cat /proc/sys/kernel/sem
250 32000 32 128
şimdi bu değeri artıralım
/etc/sysctl.conf
kernel.msgmni = 1024
kernel.sem = 250 256000 32 1024
ardından sysctl -p komutu ile reload yapın.
ipcs komutu ile smaphore id lerini görebilirsiniz .
ipcrm -s ile bu semaphore değerlerini silebilirsiniz.
23 Kasım 2008 Pazar
cisco router şifresi nasıl resetlenir.
Config Register ayarı değiştirerek şifre resetlenebilir.
Password resetlemek için router IOS açılırken ctrl+break basılır ve böylece rommon mod a geçilir.
rommon 6 > confreg 0x2142
You must reset or power cycle for new config to take effect
rommon 6 > reset
reset komutu ile birlikte IOS yeniden başlayacaktır.
Password resetlemek için router IOS açılırken ctrl+break basılır ve böylece rommon mod a geçilir.
rommon 6 > confreg 0x2142
You must reset or power cycle for new config to take effect
rommon 6 > reset
reset komutu ile birlikte IOS yeniden başlayacaktır.
17 Kasım 2008 Pazartesi
Swatch nasıl kullanılır ?
log dosyalarınızda geçen kritere göre bir script çalıştırarak işleri otomize edebilirsiniz.
linux swatch komutu bunun için yazılmış.
-c parametresi ile swatchrc dosyanızın yerini gösterin. (örneğin bu dosyayı /usr/local/etc/ altına oluşturabilirsiniz. )
-t parametresi ile izlenmesini istediğiniz log dosyasını belirtin.
örnek swatchrc dosyası, sisteme login olunduğunda mail gönderecek ve uygulanmasını istediğiniz bir komut çalışacak.
__________________
watchfor /session opened for user/
mail addresses=harunsahiner\@deneme.com, subject=Test Makinasina SSH Girisi yapildi
exec " buraya uygulanmasını istediğiniz bir komut girin"
__________________
bu dosyayı kaydettikten sonra aşağıdaki komutu çalıştırın.
swatch -c /usr/local/etc/swatchrc -t /var/log/messages &
linux swatch komutu bunun için yazılmış.
-c parametresi ile swatchrc dosyanızın yerini gösterin. (örneğin bu dosyayı /usr/local/etc/ altına oluşturabilirsiniz. )
-t parametresi ile izlenmesini istediğiniz log dosyasını belirtin.
örnek swatchrc dosyası, sisteme login olunduğunda mail gönderecek ve uygulanmasını istediğiniz bir komut çalışacak.
__________________
watchfor /session opened for user/
mail addresses=harunsahiner\@deneme.com, subject=Test Makinasina SSH Girisi yapildi
exec " buraya uygulanmasını istediğiniz bir komut girin"
__________________
bu dosyayı kaydettikten sonra aşağıdaki komutu çalıştırın.
swatch -c /usr/local/etc/swatchrc -t /var/log/messages &
13 Kasım 2008 Perşembe
kardeş..
Kardeşim bugün evlilik yolunda ilk adımını attın . Sizlere bir ömür boyu mutluluklar dilerim. Bu güne kadar senin büyüğün olarak birçok deneyimi senden önce yaşadım ve sana bu konularda yardımcı olmaya çalıştım. Evlilikle ilgilide artık sen bana öğüt verirsin. Bu sefer sıra küçükten başlasın :) aslında nede garip iştir evlilik birbirlerinin varlığından bile habersiz iki insan günün birinde elele tutuşup sonsuza dek yürüyecek...sanki ikiside o yaşa gelene kadar birbirlerini beklemişler.. Allah mesut etsin..
12 Kasım 2008 Çarşamba
mysql tuner scripti
Aşağıdaki scriptle mysql hangi özelliklerle çalışıyor kontrol edebilirsiniz. Çıktı da önerilenleri yaparsınız artık.
wget http://mysqltuner.com/mysqltuner.pl
perl mysqltuner.pl
29 Ekim 2008 Çarşamba
Cumhuriyet
Selamlar,
Bugün Cumhuriyetin 85 nci yıl dönümü. istanbulda hiç olmadığı kadar büyük bir coşkuyla kutlandı bu bayram. (Etkinliklerin İstanbul Büyükşehir Belediyesi’ne maliyeti 2.355.000,00 YTL ) Bu kadar büyük yani :)Bende buradan herkesin bayramını kutluyorum ve Atamızın Cumhuriyete dair güzel bir sözünü sizinle paylaşıyorum.
" Cumhuriyet, yeni ve sağlam esaslariyle, Türk milletini emin ve sağlam bir istikbal yoluna koyduğu kadar, asıl fikirlerde ve ruhlarda yarattığı güvenlik itibariyle, büsbütün yeni bir hayatın müjdecisi olmuştur. 1936 (Atatürk'ün S.D. I, S. 372) "
Bugün Cumhuriyetin 85 nci yıl dönümü. istanbulda hiç olmadığı kadar büyük bir coşkuyla kutlandı bu bayram. (Etkinliklerin İstanbul Büyükşehir Belediyesi’ne maliyeti 2.355.000,00 YTL ) Bu kadar büyük yani :)Bende buradan herkesin bayramını kutluyorum ve Atamızın Cumhuriyete dair güzel bir sözünü sizinle paylaşıyorum.
" Cumhuriyet, yeni ve sağlam esaslariyle, Türk milletini emin ve sağlam bir istikbal yoluna koyduğu kadar, asıl fikirlerde ve ruhlarda yarattığı güvenlik itibariyle, büsbütün yeni bir hayatın müjdecisi olmuştur. 1936 (Atatürk'ün S.D. I, S. 372) "
Kaydol:
Kayıtlar (Atom)