Main site of OMNILab at Shanghai Jiao Tong University.
- MySQL >= 5.0
- PHP >= 5.5
-
Install basic Web utilities including Web server, PHP, MySQL etc.
-
Clone this code repository into local web root folder, e.g.,
$ git clone --recursive [email protected]:OMNILab/omnilab.sjtu.edu.cn.git omnilab
-
Create new WordPress configuration file and change database settings for your requirements:
$ cp wp-config-sample.php wp-config.php
-
Activate the
OmniParallax
theme modified for our own site style. -
Active
Team Member
plugin. -
Create our pages: Frontpage, Team, Researches, Publications, Blogs, About etc.
-
Allocate the
Frontpage
andPost
page inSettings -> Reading -> FrontPageDisplay
. -
Configure the permalinks as "Day and name" for a friendly reading style. (NOTE: You have to enable the
rewrite_module
in apache2 and add "AllowOverride All" inhttpd.conf
. See: How to enable rewrite_mod)
- Requested URL xxx (page) URL not found on this server.
Try flushing your mod_rewrite rules:
Dashboard -> Settings -> Permalinks
. Save settings (no need to make any changes).