Warning: Undefined array key "enable_lazyload_videos" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/reco-functions.php on line 129
Murat Uğur Eminoğlu – Page 17 – #!/bin/bash echo "Murat Uğur Eminoğlu"
Warning: Undefined array key "custom_scripts" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/custom-styles.php on line 48

Press enter to see results or esc to cancel.

Debian 6 ‘dan 7 ‘ye Guncelleme

vim /etc/apt/source.lists dosyasi asagidaki gibi duzenlenir. deb http://mirrors.kernel.org/debian/ wheezy main deb-src http://mirrors.kernel.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main deb http://mirrors.kernel.org/debian/ wheezy-updates main deb-src http://mirrors.kernel.org/debian/ wheezy-updates main apt-get update # komutu ile guncellenir apt-get upgrade && apt-get dist-upgrade # islemi ile guncelleme yapilir. Paket yuklenmeleri ve guncellemeleri bittikten sonra shutdown -r now …

Continue reading

awk ile tek tirnak kacirma (single quote in awk)

Olurya bir gun awk icinde mysql girdi islemi yapmak zorunda kalirsaniz diye buraya yazayim dedim. Asagida ki ornek referans olabilir. awk icinde tek tikrnak kacirma “‘\”” $2 “‘\”” cat logins_ | awk ‘{print “INSERT INTO `mail_log`.`login` (`logins_id`, `logins_date`, `logins_type`, `logins_email`, `logins_last`) VALUES (NULL, ” “‘\”” $2 ” ” $1 “‘\”””,” “‘\”” $4 “‘\”””,” “‘\”” $7 “‘\”””,” …

Continue reading

mysql ‘de innodb ‘yi aktif etme

Merhabalar, Ilk once innodb aktif edilmis mi ? yoksa edilmemis mi ? ona bakalim. show engines; ciktisinda InnoDB Support ‘ta NO ibaresi yer aliyorsa innodb ‘yi aktif etmemiz gerekmektedir. mysql -uroot -p mysql> show engines; +————+———+—————————————————————-+————–+——+————+ | Engine | Support | Comment | Transactions | XA | Savepoints | +————+———+—————————————————————-+————–+——+————+ | InnoDB | NO | …

Continue reading

Debian ustunde Tomcat Nasil Kurulur ?

TOMCAT KURULUMU  apt-get install openjdk-6-jdk apt-get install sun-java6-jdk apt-get install tomcat6 tomcat6-admin tomcat6-docs tomcat6-examples kurulumlar bittikten sonra vim /etc/tomcat6/tomcat-users.xml dosyasina girilip <tomcat-users></tomcat-users> taglari arasina asagidaki parametreler eklenir. Bu parametreler “Tomcat Web Application Manager” giris bilgileridir. <role rolename=”manager”/> <user username=”murat” password=”murat123″ roles=”manager”/> /etc/init.d/tomcat6 restart ile yeniden baslatilir. Not: Tomcat ‘in calisip calismadigini asagidaki komutlarla kontrol edebilirsiniz. …

Continue reading

pyzor: got response: No servers available! Maybe try the ‘discover’ command

Eger pyzor boyle bir hata donduruyorsa servers dosyasiniz bos veya “pyzor discover” komutu calistirilmamis demektir. Eger calistirmissaniz ve hala boyle bir hata aliyorsaniz bir sekilde servers dosyasina veri yazilamamistir. Yazamadiysa bizde elle yazariz 😛 (servers dosyasinin yerini yine log’lardan bulabiliriz, benimkisi /etc/spamassassin/servers altindaymis.) Cozum; vim /etc/spamassassin/servers icine public.pyzor.org:24441 satirini eklemekle problem cozulmus oluyor. Log’lar Jan 24 …

Continue reading

DeprecationWarning: the sha module is deprecated; use the hashlib module instead”

Eger asagidaki gibi hatalar aliyorsaniz yapmaniz gereken sisteminize python 2.5 yuklemek ve yine asagidaki degisikligi yapmaniz gerekmektedir. hatalar; SA dbg: pyzor: failure to parse response “/usr/lib/pymodules/python2.6/pyzor/__init__.py:11: DeprecationWarning: the sha module is deprecated; use the hashlib module instead” SA dbg: pyzor: failure to parse response “/usr/lib/pymodules/python2.6/pyzor/client.py:12: DeprecationWarning: the multifile module has been deprecated since Python 2.5 …

Continue reading

Warning: Undefined array key "custom_scripts_footer" in /var/www/murat.ws/public_html/wp-content/plugins/reco-functions/custom-styles.php on line 58