كيفية تثبيت Oxwall على سينت أو إس

oxwall vpsOxwall هو مفتوح المصدر برمجيات الشبكات الاجتماعية كتب في PHP. يتم استخدامها لإنشاء وإدارة الشبكة الاجتماعية والمواقع المجتمعية. Oxwall ديه العديد مرنة وسهلة الاستخدام الإضافات والملحقات المتوفرة في مخزن Oxwall.

يفترض هذا دليل على أن تثبيت أباتشي, MySQL and PHP are already installed and configured on your لينكس VPS. At the time of writing this tutorial, the latest stable version of Oxwall is 1.8.1 and it requires:

 

  • PHP 5.3 or higher with the following PHP extensions enabled: ftp, mbstring, PDO, DOM, cURL, الرمز البريدي, zlib, json, GD Graphics Library version 2.0.x+ and FreeType font library. أيضا, safe_mode, register_globals, suPHP, suApache and Suhosin settings should be disabled and allow_url_fopen and cURL setting should be enabled in php.ini
  • Apache Web Server 2.0 or higher compiled with mod_rewrite module and with the following directives allowed: RewriteEngine, RewriteBase, RewriteCond and RewriteRule.
  • الخلية 5.0 أو أعلى
  • Cron service
  • Mail server (SendMail, بوستفيكس, Exim or other) installed on your CentOS virtual server.

Download the latest version of Oxwall available at ‘http://www.oxwall.org/download’ to the server and extract it using the following commands:

cd /opt/
wget http://www.oxwall.org/dl/oxwall-1.8.1.zip
mkdir -p /var/www/html/oxwall
unzip oxwall-1.8.1.zip -d /var/www/html/oxwall

Create a new MySQL database for Oxwall on your server:

mysql -u root -p
mysql> CREATE DATABASE oxwalldb;
mysql> GRANT ALL PRIVILEGES ON oxwalldb.* TO 'oxwalluser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;
mysql> الامتيازات فلوش.
ك> quit

Locate the php configuration file using the following command:

#php -i | grep php.ini
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini

Edit the ‘php.ini’ file and add/modify the following lines:

file_uploads = On
allow_url_fopen = On
register_globals = off
safe_mode = Off
session.auto_start = 0

قم بتشغيل الأمر التالي:

chown apache:apache -R /var/www/html/oxwall/

إنشاء توجيه المضيف الظاهري جديد في Apache. فمثلا, edit your Apache configuration file (‘/etc/httpd/conf/httpd.conf’ by default) and un-comment the following line:

#NameVirtualHost *: 80

ثم, add the following lines at the end:

<استضافة افتراضية *: 80>
ServerAdmin admin@your-domain.com
DocumentRoot /var/www/html/oxwall/
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/oxwall/>
    Options FollowSymLinks
    AllowOverride All
</دليل >
    ErrorLog logs/your-domain.com-error_log
    CustomLog logs/your-domain.com-access_log common
</استضافة افتراضية>

Restart the Apache web server for the changes to take effect:

خدمة هتبد إعادة تشغيل

Open http://your-domain.com in your popular web browser and follow the easy instructions; set website title, admininistrator email address and login credentials, enter database information, then copy and paste the code shown on the ‘Finalizing install’ page replacing the existing one into ‘/var/www/html/oxwall/ow_includes/config.php’ file.

Create a cron job to run ‘/var/www/html/oxwall/ow_cron/run.php’ script every minute:

* * * * * wget -q -O /dev/null http://your-domain.com/ow_cron/run.php

Install Oxwall plugins of your choice and click ‘Finish’. For security reason, it is recommended to delete the ‘/var/www/html/oxwall/ow_install/’ directory:

rm -rf /var/www/html/oxwall/ow_install/

That is it. The Oxwall installation is now complete. Log in to the Admin area at http://your-domain.com/admin , configure Oxwall according to your needs and start building your Social Network website.

oxwall-back-end.png

 

منشور له صلة

اترك رد

يستخدم هذا الموقع أكيسمت للحد من البريد المزعج. تعلم كيفية معالجة البيانات تعليقك.