how to configure phpbb3, joomla, wordpress,xampp and moodle
TRANSCRIPT
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
1/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
2/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
How to Installation phpBB3
1.Install services such as:a. php5b. apachec. mysql
d. restart service mysql:i. #rcmysql restart
2.Create database in mysql by follow command below:a. #mysqladmin u root p password 123b. #mysql p
Entered password: 123c. mysql>create database phpBB3;
show database that just create we need
3.Copy packet phpBB-3.0.0.tar.bbz to /srv/www/htdocs:#cp /root/Desktop/Web-application/phpBB-3.o.o.tar.bzz
/srv/www/htdocs
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
3/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
4.Change directory to /srv/www/htdocs and extra file it:#cd /srv/www/htdocs#tar xvf phpBB-3.0.0.tar.bzz /srv/www/htdocs
5. Permission on the some file :#chmod 777 config.php
#chmod R 777 files/#chmod R 777 store/#chmod R 777 cache/#chmod R 777 images/
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
4/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
6. Configure Virtual host are :
a. Copyvhost.templete to phpBB3.conf and Edit file:#cp /etc/apache2/vhosts.d/vhost.templete /etc/apache2/vhosts.d/phpBB3.conf
#vi /etc/apache2/vhosts.d/phpBB3.conf
And Edit like bellow Picture:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
5/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
6/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Launch "http://phpbb3.web.local" into web browser and then click"INSTALL" Tab
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
7/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Click to install tab:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
8/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Proceed to next step:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
9/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Compete information:Username:Password:Email :
Next step:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
10/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Next step again:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
11/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
12/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
13/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
How to Installation Joomla with SSL
1.Requirement:a. Install apache:
apche2 apache2-example-pages apache2-prefork
b. Install php5:i. php5
ii. php-mysqliii. php-zlib
c. Install mysql:i. mysql
ii. mysql-develiii. mysql-client
d. Packet joomla2. Create database in the mysql:
#mysqladmin u root p password 123#mysql p#create database joomla;#exit
3. Extract and put permission: Extract packet:
#mkdir /srv/www/htdocs/joomla#tar xvf Joomla_1.0.14-RC1-Full_Package.tar.bz2 /srv/www/htdocs/joomla#chown R wwwrun.www /srv/www/htdocs#chmod R 744 /srv/www/htdocs
4. Edit file /etc/php5/apache2/php.ini:#vi /php5/apache2/php.ini
Line 86 onLine 107 onLine 368 on
5. Restart service apache2 and mysql:#rcapache2 restart#rcmysql restart
5. Configure Virtual host are:b.
Copyvhost.templete
tojoomla.conf and Edit file:
#cp /etc/apache2/vhosts.d/vhost.templete /etc/apache2/vhosts.d/joomla.conf
#vi /etc/apache2/vhosts.d/joomla.conf
And Edit like bellow picture:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
14/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Edit file in path/etc/hosts#vi /etc/hosts
Line 93
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
15/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
16/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
pen the web browser on your server and browse to http://joomla.web.local
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
17/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
18/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Next step complete information :
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
19/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Congratulation of joomla:
Login as:Username: adminPassword: nUmf&wla
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
20/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Homepage:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
21/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Configure Joomla with SSLencryption
create the file random by entering the following:#cat /dev/random > /tmp/random
Press some keys on the keyboard to generate random events which help to create the file.Stop the process after about 15 seconds by pressing Ctrl+C
Generate a server key#openssl genrsa -des3 -out /tmp/joomla.key rand /tmp/random 1024 (type password 2 times)
Sign the key by entering the following#openssl req -new -x509 -key /tmp/joomla.key -out /tmp/joomla.crt
Enter Password; after enter then following information:
1. Country Name US2. State or Province Name Utah3. Locality Name Provo4. Organization Name Digital Airlines5. Organizational Unit Name Joomla6. Common Name bona.ly7. Email Address [email protected]
Copy the needing files:#cp /tmp/joomla.key /etc/apache2/ssl.key/#cp /tmp/joomla.crt /etc/apache2/ssl.crt/
Delete the temporary files#rm /tmp/joomla.*
Adjust the file system permissions
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
22/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
#chmod 400 /etc/apache2/ssl.key/joomla.key#chmod 400 /etc/apache2/ssl.crt/joomla.crt
Edit joomla.conf in /etc/apache2/vhosts.d/#vi /etc/apache2/vhosts.d/joomla.conf
Change as following points:
=> =>
And after that add this script bellow:
SSLEngine onSSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULLSSLCertificateFile /etc/apache2/ssl.crt/joomla.crtSSLCertificateKeyFile /etc/apache2/ssl.key/joomla.key
Edit file apache2 in /etc/sysconfig/ in a text editor#vi /etc/sysconfig/apache2
Change two line below :
Line 132: APACHE_SERVER_FLAGS= => APACHE_SERVER_FLAGS=SSLLine 201: APACHE_START_TIMEOUT=2 => APACHE_START_TIMEOUT=10
Restart service apache and mysql:
#rcapache2 restart
#rcmysql restart
Access web by type in firefox:
: https://joomla.bona.web
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
23/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
24/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
How to Installation Wordpress
1)Requirement:a) Packet Wordpressa. php5b. php-mysqlc. php-zlib
2)Create dabase in mysql:#mysql pEnterpassword: 123#create database wordpress;#show databases;#exit
3)Extract Wordpress -2.3.2.tar.gz to /srv/www/htdocs/#cp /root/Desktop/wordpress-2.3.2.tar.gz /srv/www/htdocs#tar xvf /srv/www/wordpress-2.3.2.tar.gz /srv/www/htdocs
#cp srv/www/htdocs/wordpress/wp-config-sample.php/srv/www/htdocs/wordpress/wp-config.php
4)Edit file /srv/www/htdocs/wordpress/ wp-config.php#vi /srv/www/htdocs/wordpress/wp-config.php
define('DB_NAME', 'wordpress');define('DB_USER', 'root');define('DB_PASSWORD', '123');
5) Launch "http://wordpress.web.local" into web browser and fill someinformation:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
25/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
26/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
27/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
How to Installation Moodle
1)Requirement of packet to install:a) Mysql (mysql-devel, Mysql & php5-mysql)b) Php (apache2-mod_php5, & php5)c) Apache (apache2-example-pages, apache2, apache2-prefork)d) Moodle-latest-18.tar
2)Create database moodle:#rcmyql restart#mysqladmin u root p password 123#mysql pEnter password: 123mysql>create database moodle;mysql>show databases;mysql>exit
3) Copy packet moodle-lates-18.tar and Extract this file to/srv/www/htdocs:#cp /root/Desktop/moodle-lates-18.tar /srv/www/htdocs
#tar xvf moodle-lates-18.tar C /srv/www/htdocs#mkdir /srv/www/moodledata#chmod 777 /srv/www/moodledata
4) Copy file config-dist.php to file config.php and edit file config.php:# cp /srv/www/htdocs/moodle/config-dist.php /srv/www/htdocs/moodle/config-dist.php#vi /srv/www/htdocs/config.php
$CFG->dbtype = 'mysql'; // mysql or postgres7 (for now)$CFG->dbhost = 'localhost'; // eg localhost or db.isp.com$CFG->dbname = 'moodle'; // database name, eg moodle
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
28/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
$CFG->dbuser = 'root'; // your database username (LINE 53,21)$CFG->dbpass = ' 123'; // your database password (LINE 54,21)$CFG->prefix = 'mdl_'; // Prefix to use for all table names- $CFG->wwwroot = 'http://192.168.1.2/moodle'; (LINE 70,21)- $CFG->dirroot = '/srv/www/htdocs/moodle'; (LINE 83,21)
- $CFG->dataroot = '/srv/www/moodledata'; (LINE 99,21)
5) Configure Vitual host are :c. Copyvhost.templete to moodle.conf and Edit file:
#cp /etc/apache2/vhosts.d/vhost.templete /etc/apache2/vhosts.d/moodle.conf
#vi /etc/apache2/vhosts.d/moodle.conf
And Edit like bellow picture:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
29/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
30/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
31/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Open firefox and Launch http://172.16.0.223/moodle:
Click to continue
Continue Next step:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
32/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Next step:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
33/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Click Next step:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
34/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
Fill information Bellow:
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
35/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
36/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
37/38
Center for Information Systems Training Systems Administrative
Teacher: Buntouen Prepare by: LY Bona
How to Installation Xampp
1) Copy packet xampp-linux-1.7.2.tar.gz to/opt
#cp /root/Desktop/Web-application /opt
#cd /opt
#tar xvf xampp-linux-1.7.2.tar.gz
2) Stop service apache2 and mysql:#rcapache2 stop
#rcmysql stop
3) Restart service Xampp by command bellow:#/opt/lampp/lampp start
-
7/29/2019 How to Configure PhpBB3, Joomla, Wordpress,Xampp and Moodle
38/38
Center for Information Systems Training Systems Administrative