EAK Just Debian Guru Page :) Just another Linux weblog

21Feb/10Off

Move Apache domlogs to second disk drive or any where

Its a simple job and recommended appraoch is to stop Apache before moving domlogs so it will bring downtime. Here is how you can do it:

Quote:

service httpd stop
ps ax | grep httpd (Verify that no httpd process still running)
cd /usr/local/apache
mkdir /home2/apache ( Considering /home2 as your new drive)
mv domlogs /home2/apache/
ln -s /home2/apache/domlogs /usr/local/apache/domlogs
ls -la /usr/local/apache/ (Verify the link)
service httpd start

http://forums.cpanel.net/f5/move-apache-domlogs-second-disk-drive-98821.html

Filed under: Sunucu Comments Off
21Feb/10Off

Install Pidgin 2.6.2 on Lenny

The version of Pidgin that is in the Lenny repositories has some problems. It’s an older version and does not work with Yahoo messenger, usually you can’t get the proper certifcate from Yahoo in Pidgin. I attempted to install it myself using the version of Pidgin for Sid by downloading the files from Debian. I ran into dependency issue after issue and finally decided just to go with backports.  This is the easiest way to install Pidgin 2.6 on Debian Lenny.

Using Lenny-Backports you can install Pidgin 2.6.2 on Debian Lenny.

2Feb/10Off

`perl: warning: Please check that your locale settings` error on debian

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_DE:en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

dpkg-reconfigure locales

good luck ...

23Jan/10Off

if you are having problems with RPM’s, you can just get the CLI version of WinRar

Alternativley if you are having problems with RPM's, you can just get the CLI version of WinRar directly from www.rarlab.com. Make sure you have Glibc 2.4 though.

# wget http://rarlab.com/rar/rarlinux-3.7.1.tar.gz
# tar xvzf rarlinux*
# cd rar
# make
# make install

Hope this helps.

Filed under: Sunucu Comments Off
12Jan/10Off

Centos Pure-ftp Problem {Lxadmin pure-ftp problemi}

Merhabalar, bu problem pure-ftpd nin son surumlerinde ortaya cikiyor, tabi boyle olunca celiskiye dusmemek elde degil, guncel sistem herzaman daha guvenlik acisinda daha iidir fakat butur problemlerin cikacagini dusunmek biraz kafa aritiyor:) gordugum kadariyla bu sorun lxadmin yuklu centos sunucularda meydana geliyor, cozumu basit yapmamiz gereken pure-ftp yi xinet 'in kontrolunden cikartmamiz,

rm /etc/xinet.d/pure-ftpd

Bu islem yeterli gelir , sorun duzelmezse eger , pure-ftpd yi  kaldirip tekrar kurmamiz gerekir.

yum remove pure-ftpd
yum install pure-ftpd

Daha sonra yapmamiz gereken daha onceki kayitli olan `lxadmin tarafindan olusturulan fptuser larimizi tanitmamiz lazim` pureftpd.pdb  pure-ftp.conf dosyamizda etkinlestiriyoruz.

nano /etc/pure-ftpd/pure-ftpd.conf
dosyayi actiktan sonra
#PureDB                        /etc/pure-ftpd/pureftpd.pdb
yukardaki satiri asagidaki sekilde degistiriyoruz
PureDB                        /etc/pure-ftpd/pureftpd.pdb

Kayit edip cikiyoruz.`ctrl-x` pure-ftpd yi durdurup tekrar baslatiyoruz. hepsi bukkadar.

/etc/init.d/pure-ftpd stop
/etc/init.d/pure-ftpd start

Filed under: Sunucu Comments Off
7Jan/10Off

Debian Lenny Timezone Problems

Hoi hoi , Debian lenny de surekli karsilastigim ve karsilasiligini dusundugum timezone sorununun cozumunu kisaca ve basitce anlatacam,

cat timezone -->America/New_York ->Europe/Istanbul

olarak   biz bu degeri  degisitiriyoruz ve bu sorundan kurtuluyoruz.

Filed under: Sunucu Comments Off
7Jan/102

Nice Ubuntu themes for karmic Users

5Jan/10Off

ModSecurity SecResponseBodyLimit

Merhabalar,

Karsilastigim bir sorunun cozumunu paylasmak istedim, Apache sunucumda , sitemaplari gosterirken belli bir kayittan sonra sitemap.php dosyasi hata veriyordu, 404 yada 500  hatasi veriyordu , bu sorunu  ModSecurity SecResponseBodyLimit  degerini arttirarak cozebilirsiniz.

Filed under: Guvenlik, Sunucu Comments Off
2Jan/10Off

Administration-Remote Control (RCON)

"RCON" is short for remote control; it allows you to make changes to the server and gives you access to administrative commands when you're connected to a remote server. To use the RCON, you first need to enter the password by typing:
/rconpassword [yourpassword]

After you have enter the RCON password you can access all the RCON capabilities, by typing:
/rcon [command]
RCON Commands

These commands allow individuals to remotely administer a server. Their use is based on having the RCON password. These commands are to be used in the console.
Kicking

2Jan/10Off

B3 Bot Manual – Commands

Level determins the minimum level needed to run the command.
Scope determins whether the message is displayed in public view, private view, or both.

!command [] description
Time Suffixes

Commands that deal with time duration like !tempban can use time suffixes.

m = minutes

d = days

h = hours

w = weeks