View previous topic :: View next topic |
Author |
Message |
themrfreeze -
Joined: 05 Jan 2012 Posts: 8
|
Posted: Fri Sep 07, 2018 4:26 pm Post subject: Switch from Mac to Linux version? |
|
|
Hi there.
I'm thinking of moving our Abyss X2 installation off of Mac OS and onto Linux. Aside from needing to contact Aprelium directly to obtain the Linux version of X2, what would be involved in moving over all of the settings and the such to the new platform? Is it possible to move things like the "abyss.conf" file over and everything would "just work", or will recreating the entire configuration manually on the new system be necessary? |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1295
|
Posted: Fri Sep 14, 2018 6:11 pm Post subject: Re: Switch from Mac to Linux version? |
|
|
themrfreeze,
We have already replied by email but we are reposting here in case someone needs the same information.
Moving Abyss Web Server from Mac OS to Linux is pretty easy. You'll have to copy your Web site contents directories and to the new box for a start.
Next, copy abyss.conf and persist.data files as well as kcstore, log, and htdocs sub-directories inside the new Abyss Web Server installation directory.
Now edit abyss.conf using a text editor and:
* First locate at the top the chunk:
Code: | <root>
/Applications/Abyss Web Server/
</root> |
and transform it to:
The dot . is magical value that makes the root dynamically set to the directory where Abyss Web Server executable is located.
* Do a search/replace with the following string:
Code: | /Applications/Abyss Web Server/ |
replaced by an empty space in all the abyss.conf file. Note that the trailing / must be included in the search string.
This has the effect to transform paths such as
Code: | /Applications/Abyss Web Server/dir1/dir2 |
to
The second path being not absolute (it does not start with /), it will be resolved relatively to the Server Root (<root> value set above.)
* Replace the PHP/Perl/whatever interpreter locations with their actual location on the new system.
Once these changes are made, do not forget to check the Document Paths and update them. After that, everything should be running fine from the new system. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
|