-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.txt
109 lines (74 loc) · 4.09 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
=== PREREQUISITES ===
1. An AAF account for access to NeCTAR.
2. A public SSH key imported into your NeCTAR account, or a created keypair with the
downloaded key setup for SSH access.
3. A NeCTAR Security Group (eg. default) configured to allow access to ports 80 (HTTP) and 22 (SSH).
4. A Formidable Pro license will be required later on in the process. http://formidablepro.com/
5. A dynamic domain name with username and password, www.dnsdynamic.org recommended. [optional]
=== INSTALLATION NOTES ===
* Login to the NECTAR Dashboard using you AAF credentials.
https://dashboard.rc.nectar.org.au/nova/
* Search for the appropriate base image with prefix "VU-ANDS-base" under the "Images & Snapshots"
section, eg. VU-ANDS-base20121025
Note: the "BUILD GUIDE.txt" has more detailed information about how this image was created.
* Launch the approriate image, a small flavor is sufficient, remember to select your keypair
and the right secuirty group.
You'll need to provide 5 lines of "User Data" to start the image. The first line is a
hostname for dynamic DNS, or start with a hash for none. Next 2 lines are username and
password for dynamic DNS, provide dummy values if you have none. The 4th line is the
(non-root) username and password that WordPress will use to connect to the database, your choice.
eg.
------------------------
#ands.vicuni.dnsd.info
nouser
nopass
dbuser
dbpass534231
------------------------
* Configure WordPress's new URL by loggin in as administrator. You must directly access the login
URL then directly access the Settings/General URL. Example IP address used below.
NOTE: Use direct URLs only! Or the site will forward you to the wrong (configured) URL.
Login:
http://115.146.95.168/ands2/wp-login.php
Username: admin
Password: Xy4SE9TP2sQT
Settings/General:
http://115.146.95.168/ands2/wp-admin/options-general.php
* Update the post-registration URL...
http://115.146.95.168/ands2/wp-admin/options-general.php?page=wplogin_redirect.php
* Update the "Login with Ajax" global logout redirect URL...
http://115.146.95.168/ands2/wp-admin/options-general.php?page=login-with-ajax
=== SECURING THE INSTANCE ===
Remove any old SSH key lines from /home/ubuntu/.ssh/authorized_keys , but be sure to leave your own.
$ ssh [email protected]
$ pico /home/ubuntu/.ssh/authorized_keys
Change the root password of the MySQL database server.
$ ssh [email protected]
$ mysqladmin -u root -pmypassword123 password "NewPassword"
$ pico /home/ubunut/root
### modify any references to the old root password
Using the phpMyAdmin interface to MySQL drop any unused database users:
http://115.146.95.168/phpmyadmin/
localhost
Privileges
(select unwanted users, especially those where Host=%)
Remove selected users (section) -> Go
Login via WordPress and change the "admin" account's password.
http://115.146.95.168/ands2/wp-admin/
Username: admin
Password: Xy4SE9TP2sQT
Remove any old Formidable/Form-Entries from the WordPress admin menu.
Note: Once a form-entry owner (User ID) is deleted the entry is harder to access.
Remove any old Users from the WordPress admin menu. Be sure to leave "admin".
Register the site with your own Formidable Pro license.
Formidable > Settings > "Deauthorize", then "Enter new credentials"
=== CUSTOMISING THE INSTANCE ===
In WordPress you should customise the look and feel of the site...
Settings > General - Site Title, Tagline, E-mail Address
Formidable > Forms > ANDS v100 > Settings > Email - Modify email addresses in the settings.
Formidable > Forms > ANDS v100 > Edit - Modify the default copyright statement.
Appearance > Header - Select a new header image
Appearance > Theme - Changing theme is possible but requires browser testing. Graphene works best with the VU SOE.
Appearance > Menu - Change "Main Menu" if required.
Pages > All Pages - You'll need to customise text in Home, About RDA.
Posts > All Posts - Posts aren't really used, but if you start using them you should modify existing entries.