Actions
Reconfigure the database¶
- Drop the databases if they exist
mysql -h localhost -u root show databases;
If you see:
projectdb
leginondbdrop database projectdb; drop database leginondb;
- Create the databases
create database projectdb; create database leginondb;
- Download config.php and put it in /var/www/html/myamiweb
- Change the permission of the config file
chmod 777 /var/www/html/myamiweb/config.php
- Point your web browser to http://localhost/myamiweb/setup
- The database username is root
- There is no database password. Leave this field empty.
- Click Next on each page without making any changes.
- Eventually, you will see a button to Create Web Tools Config. Click on this button, and ignore the Apache User error.
- Click on the DB Initialization button.
- Click Next.
- Click Next to insert default values.
- You will need to enter information for the Adminstrator Appion user. You may enter any password and your email address.
- When this completes, you may start using Appion, or may continue with the following steps to insert a sample project into the database which can be used for processing with Appion.
- Delete the sample images folder
cd /myamiImages/leginon rm -rf sample
- Point your browser to the following url but first replace your_root_password with the root password of your CentOS installation.
http://localhost/myamiweb/setup/autoInstallSetup.php?password=your_root_password
- When this script completes, you will be redirected to the Appion and Leginon home page.
Updated by Amber Herold about 14 years ago · 17 revisions