Archives
-
LVM ile Disk Birleştirme
alintidir. orjinal adresi: http://ipucu.enderunix.org/view.php?id=605&lang=tr LVM OLUŞTURMA Örnek1: sistemde 100GB /dev/sdb 150GB /dev/sdc şeklinde tanımlı olan iki diskten 250GBlik LVM oluşturalım. 1. pvcreate /dev/sdb (diskleri fiziksel olarak sisteme tanımladık.) 2. pvcreate /dev/sdc (diskleri fiziksel olarak sisteme tanımladık.) 3. vgcreate vg0 /dev/sdb /dev/sdc (vg0 isminde volume grup oluşturduk.) 4. lvcreate -L150GB vg0 (logical drieve oluşturduk.) 5. vgdisplay [...]
Yorumlar KapalıMay 28th, 2010 | Filed under Linux -
Linux konsol saat
dene: export PS1=’\u@\h\[\033[01;31m\]\t:\[\033[00m\]\w\$ ‘ ne oldu?
Yorumlar KapalıAğu 22nd, 2009 | Filed under Kategorisiz Yazilar, MySqL -
9 Adimda Centos 5.3 Ustunde Acele VPN Kuralim – POPTOP – pptpd
9 Adimda Centos 5.3 Ustunde Acele VPN Kuralim – POPTOP – pptpd Centos umuza ilgili programlari kuralim 1- #rpm -Uvh http://poptop.sourceforge.net/yum/beta/rhel5/i386/pptp-release-4-3.rhel5.noarch.rpm 2- yum install pptpd Simdi conf dosyalarini editleyelim 3-nano /etc/sysctl.conf net.ipv4.ip_forward = 1 yapalim, sonra sysctl -p sysctl yi bastan baslatir. veya kisa yoldan : # echo 1 > /proc/sys/net/ipv4/ip_forward 4- # nano /etc/pptpd.conf [...]
Yorumlar KapalıMay 23rd, 2009 | Filed under Kategorisiz Yazilar, Linux -
Make SSH connections with PHP
nasil yaptim Make SSH connections with PHP libssh2 Now we need libssh2 from sourcefourge. We have to compile this, but no worries, this is all you need to do: cd /usr/src wget http://surfnet.dl.sourceforge.net/sourceforge/libssh2/libssh2-0.14.tar.gz tar -zxvf libssh2-0.14.tar.gz cd libssh2-0.14/ ./configure make all install sonra locate ssh2.so sonra onu usr/local/lib altina kopyala sonra php.ini de extension diri [...]
Yorumlar KapalıMar 2nd, 2009 | Filed under Linux -
Centos 5.2 ve LSI 1064e / Intel MegaSR Driver How to :)
Centos 5.2 kurmak ve duzenli guncellemek istedigim 1u bir serverim var. Serverim Intel s5000vcl anakarti ile ustunde 6 Gb ecc registered buffeered ddr2 rame sahip intel xeon 5310 quad core cpusu ile guclendirilmis durumda. Bu anakart ustunde LSI1064e chipsetine sahip bir SAS kontrolcusu bulunmakta. Yapmak istedigim Intelin kendi SAS Raid ini kullanarak 3×73 GB 15k [...]
Yorumlar KapalıEyl 11th, 2008 | Filed under Linux -
retry time not reached for any host after a long failure period
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: sdsaddsaasd@tofas.com.tr retry time not reached for any host after a long failure period —— This is a copy of the message, [...]
Yorumlar KapalıNis 28th, 2008 | Filed under exim -
collection of Unix/Linux/BSD commands which are useful for IT work or for advanced users
UNIX TOOLBOX Pek faydali bir eser.
Yorumlar KapalıŞub 5th, 2008 | Filed under Linux -
PHP5 + Mysql 5 Türkçe Karakter Problemi
PHP5 + Mysql 5 Türkçe Karakter Problemi 2005-12-22 11:15:43 PHP5 + MYSQL 5 ikilisinin kurulu olduğu bir sunucuda şu şekilde bir sorun ile karşılaşmıştım. Bu problemi linux listelerindeki arkadaşlara da sordum ve saolsunlar yardımcı oldular. Bende şimdi sizlerle paylaşmak istedim.Site üzerinden mysql ‘den veri çeken php dosyasını çağırdığımda Türkçe karakterler ? şeklinde gözüküyordu. Bunun bir [...]
Yorumlar KapalıOca 21st, 2008 | Filed under MySqL -
How to mount an ISO image in Linux
Doubtlessly you will be familiar with tools such as ISO Buster for Windows which allow you to open an ISO file without having to burn it to CD to have a little lookie at its contents….However, in Linux we have this tech built in. And ISO image can be mounted just like any device or [...]
Yorumlar KapalıOca 21st, 2008 | Filed under Linux -
How to do a search and replace over multiple files
linux konsolda Birden cok dosya icinde bul ve degistir islemleri yapmak. Bu kod yeni sunuculardan bir tanesine aktarilan domainlerin dnslerinde yapilmasi gereken degisikler icin gerekti. Basariyla uygulandi. ingilizce metin su sekilde: You could also use find and sed, but I find that this little line of perl works nicely. perl -pi -w -e ‘s/search/replace/g;’ *.php-e [...]
Yorumlar KapalıOca 17th, 2008 | Filed under Linux