Edit the /etc/hosts
file to view ISLE locally on a personal computer browser.
Please select your operating system and software:
-
Open a terminal on the personal computer.
-
Enter:
sudo nano /etc/hosts
- For end users familiar with editing files on the command line, vim, emacs or alternative tools can be used in lieu of nano
-
Enter the personal computer end user password
-
Select the appropriate installation scenario, below:
-
For Demo ISLE Installations:
- Find the
127.0.0.1 localhost
entry in the/etc/hosts
file. - Go to end of same line, add one space, and then paste the following:
isle.localdomain admin.isle.localdomain images.isle.localdomain portainer.isle.localdomain
- Find the
-
For Local ISLE Installations:
- Find the
127.0.0.1 localhost
entry in the/etc/hosts
file. - Go to end of same line, add one space, and then paste the following, substituting
yourprojectnamehere
with your preferred name: yourprojectnamehere.localdomain admin.yourprojectnamehere.localdomain images.yourprojectnamehere.localdomain portainer.yourprojectnamehere.localdomain
- Note: While not required, it is perfectly okay to have multiple lines so as to define both the Demo and the Local ISLE installations, as shown in the example below:
- Find the
-
127.0.0.1 localhost isle.localdomain admin.isle.localdomain images.isle.localdomain portainer.isle.localdomain
127.0.0.1 localhost yourprojectnamehere.localdomain admin.yourprojectnamehere.localdomain images.yourprojectnamehere.localdomain portainer.yourprojectnamehere.localdomain
-
Enter
Cntrl
and the lettero
together to write the changes to the file. -
Enter
Cntrl
and the letterx
together to exit the file.
Please return to the appropriate installation:
- Demo ISLE Installation and continue with Step 2.
- Local ISLE Installation: New Site and continue with Step 2.
- Local ISLE Installation: Migrate Existing Islandora Site and continue with Step 2.
-
For end users running Windows 10:
-
Press the Windows key.
-
Type
Notepad
. -
In the search results, RIGHT-CLICK
Notepad
, selectRun as administrator
, and enterYes
to prompt. -
Select
File -> Open
. -
In the
File name:
input box, paste this pathC:\Windows\System32\Drivers\etc\hosts
. -
Click
Open
. -
Select the appropriate installation scenario, below:
-
For Demo ISLE Installations:
- Find the
127.0.0.1 localhost
entry and uncomment it (by deleting the preceding#
character). - Go to end of same line, add one space, and then paste the following:
isle.localdomain admin.isle.localdomain images.isle.localdomain portainer.isle.localdomain
- Find the
-
For Local ISLE Installations:
- Find the
127.0.0.1 localhost
entry and uncomment it (by deleting the preceding#
character). - Go to end of same line, add one space, and then paste the following, substituting
yourprojectnamehere
with your preferred name: yourprojectnamehere.localdomain admin.yourprojectnamehere.localdomain images.yourprojectnamehere.localdomain portainer.yourprojectnamehere.localdomain
- Note: While not required, it is perfectly okay to have multiple lines so as to define both the Demo and the Local ISLE installations, as shown in the example below:
- Find the
-
127.0.0.1 localhost isle.localdomain admin.isle.localdomain images.isle.localdomain portainer.isle.localdomain
127.0.0.1 localhost yourprojectnamehere.localdomain admin.yourprojectnamehere.localdomain images.yourprojectnamehere.localdomain portainer.yourprojectnamehere.localdomain
- Click
File > Save
, and thenFile -> Exit
.
Please return to the appropriate installation:
- Demo ISLE Installation and continue with Step 2.
- Local ISLE Installation: New Site and continue with Step 2.
- Local ISLE Installation: Migrate Existing Islandora Site and continue with Step 2.