Switch from Mac to Linux version?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
themrfreeze
-


Joined: 05 Jan 2012
Posts: 6

PostPosted: Fri Sep 07, 2018 4:26 pm    Post subject: Switch from Mac to Linux version? Reply with quote

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 View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 821

PostPosted: Fri Sep 14, 2018 6:11 pm    Post subject: Re: Switch from Mac to Linux version? Reply with quote

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:

Code:
            <root>
                .
            </root>


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

Code:
dir1/dir2


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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group