How to install Zend optimizer on directadmin

تركيب Zend optimizer  لمستخدمين لوحه directadmin

للتثبيت نفذ التالي

[root@server] ~ # cd /usr/local/directadmin/custombuild
[root@server] /usr/local/directadmin/custombuild # sed -i 's/zend=no/zend=yes/g' options.conf
[root@server] /usr/local/directadmin/custombuild # ./build zend

Permission denied: .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

المشكله هذي حصلت لي في الموقع عندما اطلب من المتصفح مجلد ينتج الخطأ 403 راجعت ملفات اللوق كان الناتج

[Thu Jun 11 02:37:08 2009] [crit] [client 78.00.100.11] (13)Permission denied: /home/user/public_html/blog/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

» إقراء المزيد…

Install suPhp on directadmin – تركيب suPHP في Directadmin

اسهل طريقه لتثبيت suPHP في لوحة directadmin طبعاً هو يركب افتراضي مع php_cgi
في البدايه ,الدخول لهذا المسار :

cd /usr/local/directadmin/custombuild

الان نقوم بالتعديل على الملف options.conf

nano options.conf

» إقراء المزيد…

Windows-1256 by default for gedit

لجعل الترميز عربي في gedit (محرر النصوص الافتراضي في gnome)

لجعله افتراضي نفذ التالي وانت بصلاحيات root :

root@r0ot-desktop:/home/r0ot# echo "export CHARSET=Windows-1256" >> /etc/profile

» إقراء المزيد…

MySQL : Change root Password

في البدايه لتغير باسورد الروت بعد ضياعه نفذ التالي :
اولاً : ايقاف الخدمه

[root@4BDuLL4H] ~ # service mysqld stop

ثانياً : تشغيل الخدمه في الوضع الاختياري وتخطي طلب الباسورد

[root@4BDuLL4H] ~ # mysqld_safe --skip-grant-tables &

» إقراء المزيد…

Mysql : Create Database

لاضافه قاعده جديده ننفذ التالي

[root@server] ~ # mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 27
Server version: 5.0.67-community MySQL Community Edition (GPL)

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.

mysql> create database big;

» إقراء المزيد…

Using Proxy in the terminal – أستخدام بروكسي في التيرمنال

لأستخدام بروكسي في التيرمنال نفذ التالي :

r0ot@r0ot-desktop:~$ export  http_proxy="http://username:password@host:port/"

استبدل عنوان البروكسي بالبروكسي الخاص بك
للتأكد من عمله نفذ التالي :
r0ot@r0ot-desktop:~$ set | grep "http_proxy"
» إقراء المزيد…

السماح لأي بي معين الأتصال ب ssh بأستخدام apf

لمنع جميع الاتصال ببورت ssh والسماح لاي بي معين بأستخدام الجدار الناري apf

في البدايه نعدل على هذا الملف

nano /etc/apf/conf.apf

ابحث عن هذا السطر

IG_TCP_CPORTS

نحذف بورت ssh

ثم نحفظ الملف

نضيف الى الملف هذا

/etc/apf/allow_hosts.rules

» إقراء المزيد…

Comming soon

r0ot@r0ot-desktop:~$ bash << EOF
while true;do
  echo "Welcome All Visitors"
done
EOF
Page 4 of 41234