UNIMAS Official Wiki » Dashboard » HOW-TO, Tutorial & User Manual » HOW-TO : Install MyMesyuarat v1.1 in Ubuntu 14.04 64-bit
Last modified by Khairilzamrie bin Rosle on 2017/01/26 15:56
From version 8.1
edited by Khairilzamrie bin Rosle
on 2015/05/07 15:17
To version 9.1
edited by Khairilzamrie bin Rosle
on 2015/05/07 15:24
Change comment: There is no comment for this version

Content changes

... ... @@ -6,6 +6,7 @@
6 6 {{/box}}
7 7
8 8 === Prerequisite ===
9 +
9 9 * Ubuntu 14.04 64bit
10 10 * Apache 2.4 (bundled with Ubuntu 14.04)
11 11 * PHP 5.5 and above
... ... @@ -13,8 +13,8 @@
13 13 * Domain name for MyMesyuarat server - In this HOWTO we will use mymesyuarat.example.my
14 14 * IP Address for eprints MyMesyuarat server - In this tutorial we will use 10.0.0.11
15 15
16 -
17 17 === Step 1 of 7 : Prepare your PC ===
18 +
18 18 **On your PC** (not your server) set the MyMesyuarat server domain name you want to use in your hosts file. In this tutorial we used** mymesyuarat.example.my** as the domain name with 10.0.0.11 IP Address for the MyMesyuarat server.
19 19
20 20 {{highlight language="bash"}}
... ... @@ -42,6 +42,7 @@
42 42
43 43
44 44 === Step 2 of 7 : Install Apache2, PHP, PhpMyadmin & MySQL Server ===
46 +
45 45 First, log into your MyMesyuarat server via ssh from your PC. If you are using Windows PC, you can use [[Putty>>url:http://tartarus.org/~~simon/putty-snapshots/x86/putty.exe||rel="__blank" title="Putty"]]. If you are using a Mac or a Linux PC then open a terminal and issue this command (replace **//user//** with your own user **which has sudo privillege** and also replace **10.0.0.11** with your server real IP Address):
46 46
47 47 {{highlight language="bash"}}
... ... @@ -72,7 +72,7 @@
72 72 sudo apt-get install phpmyadmin
73 73 {{/highlight}}
74 74
75 -During the installation you will be asked to specify the webserver to run phpmyadmin on, please choose Apache. You will also be asked to specify username/password to access MySQL Server. Use the password you set previously. You also will be asked to set password for PhpMyadmin admin account. Please remember the password you set s you will need it to log into PhpMyadmin later.
77 +During the installation you will be asked to specify the webserver to run phpmyadmin on, please choose Apache. You will also be asked to specify username/password to access MySQL Server. Use the password you set previously. You also will be asked to set password for PhpMyadmin admin account. Please remember the password you set because you will need it to log into PhpMyadmin later.
76 76
77 77
78 78 Next, you need to change some PHP configuration. To do that, issue this command :
... ... @@ -83,7 +83,6 @@
83 83
84 84 Change that you need to make :
85 85
86 -
87 87 1. memory_limit - Make sure the value is set to the maximum RAM say, 4096 if the RAM is 4M
88 88 1. max_execution_time - Increase it to 500
89 89 1. max_input_time - This works in parallel with max_execution_time. Increase it to 300.
... ... @@ -95,6 +95,7 @@
95 95
96 96
97 97 === Step 3 of 7 : Create Database for MyMesyuarat ===
99 +
98 98 Open the installed PhpMyadmin using web browser (replace the IP Address 10.0.0.11 with your server server real IP Address)
99 99
100 100 {{highlight language="bash"}}
... ... @@ -115,6 +115,7 @@
115 115
116 116
117 117 === Step 4 of 7 : Deploy MyMesyuarat ===
120 +
118 118 To deploy MyMesyuarat, download the MyMesyuarat source file into your server from this URL :
119 119
120 120 {{highlight language="bash"}}
... ... @@ -127,13 +127,13 @@
127 127 /var/www/mymesyuarat/
128 128 {{/highlight}}
129 129
130 -Now, change the owner of the folders and files to www-data :
133 +Now, change the ownership of the folders and files to www-data :
131 131
132 132 {{highlight language="bash"}}
133 133 sudo chown -R www-data:www-data /var/www/mymesyuarat
134 134 {{/highlight}}
135 135
136 -And change the file permission :
139 +And also change the file permission :
137 137
138 138 {{highlight language="bash"}}
139 139 sudo chmod -R 755 /var/www/mymesyuarat
... ... @@ -143,6 +143,7 @@
143 143
144 144
145 145 === Step 5 of 6 : Configure Virtualhost ===
149 +
146 146 Create new virtualhost config file :
147 147
148 148 {{highlight language="bash"}}
... ... @@ -196,6 +196,7 @@
196 196
197 197
198 198 === Step 6 of 7 : Setup Job Schedule (Cronjob) ===
203 +
199 199 MyMesyuarat take advantage of background job and we need to specify the job schedule . To setup, issue this command in the server :
200 200
201 201 {{highlight language="bash"}}
... ... @@ -202,7 +202,7 @@
202 202 crontab -e
203 203 {{/highlight}}
204 204
205 -Choose option 2 and add the line:
210 +Choose **option 2** and add the line:
206 206
207 207 {{highlight language="bash"}}
208 208 */5 * * * * /var/www/mymesyuarat/cake/console/cake -app /var/www/mymesyuarat/app cron emails > /dev/null 2>&1
... ... @@ -214,6 +214,7 @@
214 214
215 215
216 216 === Step 7 of 7 : Install MyMesyuarat ===
222 +
217 217 Before starting installation, we must specify the correct database account in MyMesyuarat config file. You will need to edit database.php file :
218 218
219 219 {{highlight language="bash"}}
... ... @@ -252,10 +252,10 @@
252 252
253 253
254 254 1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)The first page is //Software License Agreement//. Just check on ** Agree and Install ** and click **Next** button to proceed.
255 -1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)After that,// Directory & File Permission// page will be displayed. There are several directories inside MyMesyuarat that needs to checked if the file permission is accessible to be executed as part of the CakePHP engine itself. If everything is in green then you can click on **Next** button to proceed. If there is still in red that means you may accidentally skipped Step 4 of 6 above.
261 +1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)After that,// Directory & File Permission// page will be displayed. There are several directories inside MyMesyuarat that needs to checked if the file permission is accessible to be executed as part of the CakePHP engine itself. If everything is in green then you can click on **Next** button to proceed. If there is still in red that means you may accidentally skipped Step 4 of 7 above.
256 256 1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Next, //MySQL Configuration// page will appear. You can change the particulars if you need to. But in this case just leave it as it is and proceed by clicking on **Next** Button.
257 -1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Next, Language page will be displayed. Just choose whatever language you prefer and click Submit Button. Then click on Next Button to procced.
258 -1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Next, Global Settings page will appear. Specify all the details in the form. Just make sure to remember the username and password you specified as you will use that to log into MyMesyuarat. Click Submit button.
259 -1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Finally , registration page will appear. Just complete the form and click on Register and go to MyMesyuarat now button to proceed
263 +1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Next, Language page will be displayed. Just choose whatever language you prefer and click **Submit** Button. Then click on **Next** button to procced.
264 +1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Next, Global Settings page will appear. Specify all the details in the form. Just make sure to remember the username and password you specified as you will use that to log into MyMesyuarat. Click **Submit** button.
265 +1. (% style="font-size: 14px; background-color: rgb(245, 245, 245);" %)Finally , registration page will appear. Just complete the form and click on **Register and go to MyMesyuarat now** button to proceed
260 260
261 -After finishing these steps, you should be able to log in into MyMesyuarat.
267 +After finishing these steps, you should be able to log in into MyMesyuarat. Enjoy!

Start Here

Welcome to the UNIMAS WIKI.
To start, use search function by entering keywords in the search box below :
 

Quick Navigation

About UNIMAS

HOW-TO, Tutorial & User Manual

HOW-TO, Tutorial & User Manual

Macros

STB2242 - PLANT BIOTECHNOLOGY

Semester Registration

signatureattach

Recently Created

70001 | 50539 | 71121 | 71966 | 71055

Recently Modified

My Recent Modifications


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 5.0.3 - Documentation