Typical OSF Directory Structure
From TechWiki
For general questions regarding the "standard" directory structure of a Linux installation, see for example:
Different flavors of Linux have different directory structures. However, since the OSF installation guide is premised on Ubuntu, we use it as the general reference.
Locations from Root
The two key locations you need to know from the initial <root> location are:
- Drupal:
/usr/share/drupal - structWSF:
/usr/share/structwsf/
Relevant Directory Structure
There is much contained on a remote instance. The listing below, however, highlights some of the particular directory locations -- with comments -- of importance to the open semantic framework.
| <root> | | ||||||||||
| | data | | |||||||||
| | | configs | | ||||||||
| | | | apache2 | | |||||||
| | | | | sites-available | Web sites configuration files | ||||||
| | | | mysql | configuration files | |||||||
| | | | php | configuration files | |||||||
| | | | phpmyadmin | configuration files | |||||||
| | | | solr | configuration files | |||||||
| | | ontologies | | ||||||||
| | | files | mostly external ontologies | ||||||||
| | | | structure | internal; do NOT alter | |||||||
| | etc | | |||||||||
| | | [multiples] | configuration files | ||||||||
| | usr | | |||||||||
| | | local | | ||||||||
| | | | virtuoso-opensource | | |||||||
| | | | | [multiple directories/files] | Virtuoso application | ||||||
| | | share | MAIN DESTINATION | ||||||||
| | | | drupal | Drupal destination | |||||||
| | | | | data | | ||||||
| | | | | doc | | ||||||
| | | | | includes | | ||||||
| | | | | modules | | ||||||
| | | | | | [multiple standard modules] | | |||||
| | | | | ontologies | | ||||||
| | | | | profiles | | ||||||
| | | | | scripts | | ||||||
| | | | | site | everything is accessed below here; ignore the other Drupal sections | ||||||
| | | | | | [multiple sites] | | |||||
| | | | | | mysite.com | | |||||
| | | | | | | files | | ||||
| | | | | | | | icons | location of site app icons | |||
| | | | | | | | images | location of site app images | |||
| | | | | | | | | temp | standard image placeholder directory | ||
| | | | | | | logs | Apache requires, with set internal files | ||||
| XXXX | | | | | modules | | |||||
| | XXXX | | | | | conStruct | generally, will not need to modify | ||||
| | | XXXX | | | | | css | | |||
| | | | XXXX | | | | framework | | |||
| | | | | XXXX | | | imgs | | |||
| | | | | | XXXX | | js | | |||
| | | | | | | XXXX | modules | | |||
| | | | | | | | XXXX | [multiple] | | ||
| | | | | | | | | XXXX | [structIndividual] | | |
| | | | | | | | | | XXXX | css | some styling options here |
| | | | | | | | | | | imgs | |
| | | | | | | | | templates | | ||
| | | | | | | | | | owl_thing.html | generic, fallback Smarty template | |
| | | | | | | | | | [more templates] | potential for many multiples here | |
| | | | | | | themes | | ||||
| | | | | | | | garland | default theme with initial install | |||
| | | | | | | | our_theme | | |||
| | | | | | | | | images | images specific to the theme rendering | ||
| | | | | | | | | style.css | MOST IMPORTANT: style sheet for theme | ||
| | | | | | | | | block.tpl.php | base block template; others possible | ||
| | | | | | | | | node.tpl.php | base node template; others possible | ||
| | | | | | | | | page.tpl.php | base page template; others possible | ||
| | | | | | | | | page-front.tpl.php | may have a different front page look | ||
| | | | | | | | | template.php | general theme settings | ||
| | | | | | | settings.php | major point for specific app configuration settings | ||||
| | | | | themes | default fallback; use sites instead | ||||||
| | | | mediawiki | | |||||||
| | | | | [more] | application files | ||||||
| | | | mysql | | |||||||
| | | | | [more] | application files | ||||||
| | | | php5 | | |||||||
| | | | | [more] | application files | ||||||
| | | | phpmyadmin | | |||||||
| | | | | [more] | application files | ||||||
| | | | solr | | |||||||
| | | | | [more] | application files | ||||||
| | | | structwsf | | |||||||
| | | | | [multiple directories/files] | base application code | ||||||
| | | | websites | | |||||||
| | | | | [specific sites] | static sites and Web pages | ||||||
| | var | | |||||||||