Moving abyss from windows to linux

 
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues
View previous topic :: View next topic  
Author Message
blaineca
-


Joined: 05 Dec 2018
Posts: 14

PostPosted: Sun Mar 14, 2021 9:50 pm    Post subject: Moving abyss from windows to linux Reply with quote

I have a sucessfull install on windows and am moving it to linux. When I try to start the server on port 80 on linux I get a "Listening error".
Can anyone tell me how I can fix this so it runs on Port 80?

BTW, I use Dynamic DNS to host the site on a local computer
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Mon Mar 15, 2021 12:41 pm    Post subject: Reply with quote

Hi blaineca,

To make this work successfully you need two users, one for running admin tasks and the other for running the server. Let's call the admin guy John and the user to run Abyss will name server. John will need to be a member of the sudo or wheel group depending on your distro. If you installed Ubuntu server, it tells you to create this super user during the installation. Here are the steps similar to my server.

1. run "sudo adduser server" while leaving the parameters blank. This user should not be a member of the sudo or wheel group.
2. switch user to server "su server" and enter the password you chose
3. create a directories under /home/server called apps and public_html.
4. Login to SSH as the server user. I like to use FileZilla FTP client to upload my files. Choose the SFTP option. Upload abyssws archive file to apps folder and add your website files to a folder called default and upload them to the public_html folder.
5. Extract the archive to the apps folder. I use the command "tar xzfm abwsx2-2-14.tgz" and cd into abyssws folder.
6. If you already have the abyss.conf, edit it with a text editor and change the Documents Path to point to "/home/server/public_html/default" and the list of allowed IP Addresses for the console to allow your IP Address if the server is outside your network (ipchicken.com is my fav), then upload it to the ~/apps/abyssws/ folder.
7. switch user to john and run "./autostart-setup install"
8. It should run under root automatically so do not prefix sudo to the command. Make sure the server is running by issuing the command "sudo systemctl start abyssws"
9. Server should be able to run on port 80 now under server user. You can check this or change the user under Server Configuration > Parameters > Operating System Parameters, and make sure the combo box for Operating System User is set to server.
10. It might be a good idea to install the ufw firewall program if you haven't and issue the commands to enable SSH and Web access "sudo ufw allow ssh & sudo ufw allow http & sudo ufw allow https & sudo ufw allow 9999/tcp & sudo ufw enable"

This is almost exactly how I configured my server for https://www.trustabyss.com/phpinfo.php. Check out the configuration page and you will see I add my files in the same locations. This is a great secure setup.

Check out Configuring Abyss Web Server on Linux (Ubuntu Server 20.04) for details.

Best regards,
Josh


Last edited by TRUSTAbyss on Thu Mar 25, 2021 2:19 pm; edited 4 times in total
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1295

PostPosted: Mon Mar 15, 2021 8:24 pm    Post subject: Re: Moving abyss from windows to linux Reply with quote

blaineca wrote:
I have a sucessfull install on windows and am moving it to linux. When I try to start the server on port 80 on linux I get a "Listening error".
Can anyone tell me how I can fix this so it runs on Port 80?

BTW, I use Dynamic DNS to host the site on a local computer


Ports below 1024 on Linux cannot be allocated by normal users hence the error. So you need to install Abyss Web Server as a service to be able to use such ports.

The procedure outlined by TRUSTAbyss is mainly similar to what we recommend.

If you still encounter any problem with the move, please contact our technical support by email.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 952
Location: Michigan, USA

PostPosted: Sun Mar 28, 2021 3:02 am    Post subject: Re: Moving abyss from windows to linux Reply with quote

blaineca wrote:
I have a sucessfull install on windows and am moving it to linux. When I try to start the server on port 80 on linux I get a "Listening error".
Can anyone tell me how I can fix this so it runs on Port 80?

BTW, I use Dynamic DNS to host the site on a local computer


I made some tutorials for installing Abyss on Linux that you may be interested in. Check them out at https://abyssvids.pksml.net/
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues 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