Table of Contents
- What is Uniform Server
- Installation:
- Configure for EE Core prior to installation:
- Install EE on Uniform Server
- Conclusion
What is Uniform Server
Uniform Server is a fully portable, fully functional Windows based web server that runs Apache MySQL and PHP. It’s a lightweight solution, NO INSTALLATION REQUIRED, just UNPACK and RUN! Uniform Server is an open source project from the generous programmers at http://sourceforge.net. Oh—and it’s free.
Installation:
The basic installation and setup of Uniform Server is quick and easy.
1. Download the installation package from http://www.uniformserver.com and save it to your local drive.
2. Execute the installer to extract the files. This will create a Folder called Uniform Server.
3. Open the newly created Uniform Server folder and launch the Server_Start.bat file.
4. Done. The server is now running and will open the server Admin Panel.
Note: This document assumes your installation is in the default folder named “Uniform Server”. This folder contains the start and stop scripts, and the folder diskw. Diskw is the root of the web server. The Uniform Server folder location is not important and all file paths noted here start in this folder.
You are now running a fully functional web server with Apache, MySQL, and PHP. Just enter
http://localhost/ in your browser’s address bar to load the default page or enter http://localhost/apanel/ for the server admin page.
As easy as it is to setup the server it does require some tweaks to start and run EE smoothly.
Configure for EE Core prior to installation:
1. By default Uniform Server does not automatically start MySQL. Edit the Server_Start.bat file. Look for the line:
IF ”%2”==“mysql” start \usr\local\mysql\bin\mysqld-opt.exe—defaults-file=/usr/local/mysql/bin/my-small.cnf
and change it to:
start \usr\local\mysql\bin\mysqld-opt.exe—defaults-file=/usr/local/mysql/bin/my-small.cnf
1. Stop and restart the server. MySQL will now start automatically when Uniform Server starts.
During installation EE will require 4 pieces of information.
# MySQL Database Name
# MySQL Server Address
# MySQL Username
# MySQL Password
2. To create a database open the Uniform Server Admin Panel and click on the phpMyAdmin link. On the phpMyAdmin page enter the name of your database in the “Create new database” field and click the “Create” button. Done… database created. Just remember the name for the EE installation. In this example I will use “ee_core.”
3. We already know the MySQL Server address, it is localhost
4. The only thing left is the Username and Password, by default Uniform Server has no MySQL password. To set the password, edit the file:
/home/admin/www/mysql_password
The one line should read root, change the entry to read root:root (Username:Password, I had some problems playing around with passwords, best to just root:root)
5. Now you are ready to install EE Core on the running Uniform Server.
Install EE on Uniform Server
1. Download and extract the EE Core files.
2. Copy/Move the extracted file/folders to the root folder of your installed Uniform Server. (/Uniform Server/diskw/www/) You will be prompted to overwrite the “images” folder.
3. Stop and restart the server.
4. In your web browser, open the location “http://localhost/install.php”. This will load the ExpressionEngine Installation Wizard.
5. Click the “Click Here to Begin” Button
6. Agree to the license agreement, click “Submit”
7. Keep the default system folder “system”, click Submit.
8. On the enter your settings page keep all the defaults. Add the following information:
* Email address of webmaster > (any email will do)
* What type of server are your hosted on? > Windows
* MySQL Server Address > localhost
* MySQL Username > root
* MySQL Password > root
* MySQL Database Name > ee_core
* Username > your choice
* Password > your choice
* Your email address > your choice
* Screen Name > your choice
* Name of your site > your choice
9. Click on “Click Here to install Expression Engine!”
10. Done.
Conclusion
You now have a fully functional web server running EE Core, MySQL, PHP, Perl, and Apache. This is just an introduction and some tweaks to get it running.
Optional: Once you set the MySQL password you will no longer be able to access the phpMyAdmin page. To fix this edit the \home\admin\www\phpMyAdmin\config.inc.php file.
Look for the line:
$cfg[‘Servers’][$i][‘password’]= implode (’‘, file ’../mysql_password’));
and change it to:
$cfg[‘Servers’][$i][‘password’] = ‘root’;
Category:TipsCategory:GeneralCategory:Core
