المشروع القومي للإستثمار و التنميه الخاص بتدريب و تعليم و توظيف شباب مصر
10 نوفمبر 2011 – 16:35 | عدد التعليقات 2

هو مش إنت هاتشترك مع مثلاً 100 شخص زي حالاتك في المشروع ؟ يبقى نسمح إن كل واحد يشغل إبنه و كل واحد على حسب مساهمته و مجلس إداره منتخب من المودعين في الحاله دي حضرتك بدل ما تدفع رشوه 20000 جنيه علشان تشغل إبنك ولا بنتك ولا أخوك لا حضرتك هاتدفعهم في مشروع و هتشغل إبنك ولا بنتك و في نفس الوقت فلوسك موجوده و مضمونه ” بضمان الحكومه ” يعني اللي إنت عايز تشغله هايشتغل ببلاش و هياخد مرتب كويس ” على حسب النشاط ” و هتاخد أرباح كل سنه و هتضمن إن اللي بيشغلك فلوسك مش هايسرقك و هايكون خايف على كل قرش بيندفع لانها فلوسه. كده تخيلوا كام فرصة عمل هتتوفر ؟

أكمل قراءة بقية الموضوع »
اصحاب المواقع

كل ما يهم اصحاب المواقع من اسرار, مقالات و فيديوهات لتقودهم نحو موقع افضل..

التجارة إلكترونية

الربح من الانترنت, الربح من موقعك, جوجل ادسنس, البيع بالعمولة, البنوك الالكترونية

خدمات المدونة

عرض لجميع الخدمات التي تقدمها المدونة سواء مجانية او بمقابل مادي..

كمبيوتر وانترنت

كل ما يخص اجهزة الكمبيوتر, والاب توب, البرامج الجديدة وانظمة التشغيل..

هواتف نقالة

كل مايخص اجهزة المحمول والاي فون من عروض, برامج ,ثيمات, شروحات..

افضل استضافة لموقعك
الرئيسية » الوردبريس

تركيب الوردبريس بسهولة 3

تركيب وردبريس عن طريق ال Shell

تركيب وردبريس عن طريق ال Shell

تكلمنا في التدوينه الأولي “تركيب الوربريس بسهولة” عن تركيب الوردبريس بواسطة لوحة التحكم الخاصة بالإستضافة.

وتكلمنا في التدوينة الثانية “تركيب الوردبريس بسهولة 2” عن تركيب الوردبريس بواسطة الFTP .

واليوم إن شاء الله سوف نتكلم عن تركيب الوردبريس عن طريق إستخدام ال Shell

هذه الطريقة تُستخدم من قبل من لديه معرفة باللينوكس وله صلاحيه على السيرفر الخاص به لذلك فهي موجهه للمتقدمين فقط.

ملحوظة تم شرح هذه الطريقة على سيرفر Debian

Create new database

create database DB_NAME;
grant all privileges on DB_NAME.* to ‘USERNAME’@'SERVERNAME’ identified by ‘PASSWORD’;
exit

To get on last version You must be following these steps

cd /usr/local
wget http://wordpress.org/latest.zip

Extract wordpress folder

unzip latest.zip  ” make sure you have unzip package “

Change wordpress folder permissions for the web server user ” In my case my web server user is www-data

chown www-data:www-data /usr/local/wordpress/ -R

Change wp-config-sample.php to wp-config.php

mv wp-config-sample.php wp-config.php

Set up wp-config.php

vim /usr/local/wordpress/wp-config.php

Edit these lines
define(‘DB_NAME’, ‘YourDataBaseName’);    // The name of the database
define(‘DB_USER’, ‘UserName’);     // Your MySQL username
define(‘DB_PASSWORD’, ‘passwordForDatabase’); // …and password

Add new VirtualHost in apache configration file

vim /etc/apache2/sites-available/default
add this line:
<VirtualHost *>
ServerName YourDomainName.com
ServerAlias www.YourDomainName.com
ServerAdmin user@YourDomainName.com
DocumentRoot /usr/local/wordpress
Options Indexes FollowSymlinks
</VirtualHost>

:wq! to save and exit

Restart apache

apache2ctrl restart

Follow setup page

http://YourDomainName.com/index.php

Finished

1- Create new database:

create database DB_NAME;
grant all privileges on DB_NAME.* to ‘USERNAME’@'SERVERNAME’ identified by ‘PASSWORD’;

exit

2- To get on last version You must be following these steps:

cd /usr/local

wget http://wordpress.org/latest.zip

3- Extract wordpress folder.

unzip latest.zip ” make sure you have unzip package “

4- Change wordpress folder permissions for the web server user ” In my case my web server user is www-data”.

chown www-data:www-data /usr/local/wordpress/ -R


5- Change wp-config-sample.php to wp-config.php.

mv wp-config-sample.php wp-config.php

6- Set up wp-config.php:

vim /usr/local/wordpress/wp-config.php

Edit these lines

define(‘DB_NAME’, ‘YourDataBaseName’); // The name of the database

define(‘DB_USER’, ‘UserName’); // Your MySQL username

define(‘DB_PASSWORD’, ‘passwordForDatabase’); // …and password

7- Add new VirtualHost in apache configration file:

vim /etc/apache2/sites-available/default

add this line:

<VirtualHost *>

ServerName YourDomainName.com

ServerAlias www.YourDomainName.com

ServerAdmin user@YourDomainName.com

DocumentRoot /usr/local/wordpress

Options Indexes FollowSymlinks
</VirtualHost>


:wq! to save and exit

8- Restart apache

apache2ctrl restart


9- Follow setup page:

http://YourDomainName.com/index.php

10- Finished

احفظ التدوينة او شاركها مع اصدقائك:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • Ping.fm
  • StumbleUpon
  • Twitter
  • Yahoo! Bookmarks
  • Diigo
  • MySpace
  • Add to favorites
  • LinkedIn
  • Reddit
  • Yahoo! Buzz

شارك بتعليقاتك !

أضف تعليقك أدناه ، أو رابط دائم من موقعك.. يمكنك أيضا الأشتراك في هذه التعليقات من خلال الخلاصات

ليبقى موقعنا نظيف من رسائل السبام.

تستطيع أستخدام هذه الأكواد في تعليقاتك :
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

سجل في هذا الموقع لرفع صورك ومشاهدتها جوار تعليقاتك في المدونة. Gravatar.

:D :-) :( :o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

مساحة إعلانية