friendica.eskimo.com

what VPS offer fits best for a small friendica instance?

@Friendica Support
@Friendica Admins
@Friendica Developers

Hi there,
in the end I want to try to setup my first own hosted friendica VPS on a small setup:
1gig RAM/1 Core/25gig

The idea is kinda single user instance with a few forum pages.

The hosting provider has the following options:

  • debian bullsey - vpn server
  • debian bookworm - wireguard server
  • debian bookworm - bookworm 2023-07-03
  • debian bookworm - bookworm 2023-07-03 LEMP (nginx+php8.2+mariaDB10.5)
  • debian bookworm - nextcloud
  • ubuntu 22.04.01LTS
  • CENTOS8.1 - 2020-05-03
  • cleanVPS to upload own ISO


I'm used to debian/devuan on PC, so am obviously inclined to go for debian but have no idea what version would be the best choice.

In the first place the debian LEMP option looks like the way to go.
Latest experience with a new friendica installation seemed to be in need of PHP8.1 instead of PHP8.2.
Is it difficult to downgrade that?

Also, I'm kinda worried about security in general, even tho the data exposed will only be my own, so there is no responsibility with others.
Are there more security risks than on a shared hosting with let's say a standard phpBB forum page?

The idea would be to point the IP from my existing hosting provider to the VPS.


  • Do we have some general "how to setup" for a VPS setting from scratch?
  • Anyone interested in creating such a "how to" in a conversation with me here to have a refence or base to sum that up for the frindica wiki?
  • Could it even be of interest to create a "friendica VPS-ISO installation" with the help of git.friendi.ca for example?

@TupambAdmin
@bitPickup mʕ•ﻌ•ʔm

1
i run my 40 people instance in a qemu kvm virtual machine on an older hetzner server together with a few other webserver and mailserver virtual machines, it has access to 4 cpu cores, 4gb ram and 100gb of storage space on an ssd. i did not enable remote contact fetch, as that filled up the harddisk quite quickly when i tried it, and also created a lot of workload on the server.
3
@Matthew Exon @bitPickup mʕ•ﻌ•ʔm @Andy H3 @…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup @Raroun @TupambAdmin You would get twice the RAM here for the same amount of money or alternately you could get the same amount of RAM for $16/month on our VPS's. eskimo.com/services/virtual-pr…
3

@Matthew Exon @bitPickup mʕ•ﻌ•ʔm @Andy H3 @…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup @Raroun @TupambAdmin Tell me about it, and the older I get the faster it flies.

Time doesn't fly like an arrow, it flies like a laser beam towards obliteration.

3

Please consider our services:

eskimo.com/services/virtual-pr…

We also operate a shared web server that may be more appropriate for your needs in that it is quite robust with a 10-core 20-thread I9-10900K clocked at 5Ghz, (it is actually variable but Linux is set to performance mode so it spends the majority of that time at 5Ghz and cooling is adequate to support that), 256GB of RAM, and all disk including the root partition, is RAIDed. The root partition and most non-long term storage is SSD. There is both a mariadb and a postgresql server available, and many languages.

We also offer shell accounts on a variety of Linux distributions with the ability to get a full remote desktops with a variety of desktops like mate, gnome, kde, and others.

We operate free fediverse serves, which include friendica.eskimo.com/, hubzilla.eskimo.com/, mastodon.eskimo.com/ (all message sites), and yacy.eskimo.com/ (a federated search engine) and nextcloude.eskimo.com/ (a free cloud service).
eskimo.com/services/

Operating these free services costs money so we much appreciate it when you help support us by using some of our Paid Services.

4
@Nanook
I use that machine exclussively for friendica.
3
Thank you, I apologize for the downtime tonight, something went south with the device drivers we were using for the Ethernet tonight. Around 9:30 the machine
spontaneously unloaded them or so it seemed. When I tried to load them it said
invalid arguments. Thing is I have no arguments just the default. I was using
a 6.1.57 kernel. I tried installing the 6.2.x driver that is shipped with Ubuntu
22.04, that loaded and ran, not ideally tuned but the device drivers worked in it.
We are running this way because our old router (a Ubiquiti Edgerouter 3, crapped
out (the third one to do so) and it was getting ready to be replaced with a Dream
Machine Pro, but the software on the DRM Pro is just shit and would not do some
things we needed to do, for example, it would not route without also performing NAT, changing the originating address to addresses interface, it would not use a real subnet, it used something it called virtual subnets which ate up six addresses out of every class C. I did not feel like readdressing a bunch of machines; so I configured a Linux box to work as a router in the meantime while we obtain a suitable replacement. I purchased a Juniper ACX1100 to replace it but I have to learn the Junipers command syntax and general operation before I can place it into service.
3

update on this specific request of mine:

In the end I managed to get my hands on a ubuntu 22.04.02LTS.

I used the refereed tutorial by @Hank G ☑️ to set it up:
nequalsonelifestyle.com/2022/0…

Now it's a ubuntu 22.04.03LTS

I just ran thru the instructions and executed them and apparently everything worked fine and friendica 2023.05 (stable) is awaiting installation.

The difference in my case is that the idea is to move a (new) friendica instance (2023.05) I created in a BETA testing by a hoster that abandoned his intent to offer hosting for friendica to this new hosting.

The difference in the installation process as described by HankG as of now was that I couldn't setup completely the certbot part as the actual domain (tupambae.org) is running right now with that other hosting provider.

letsencrypt wrote:

Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Some challenges have failed.

I just did the whole installation process being simply connected with the IP over SSH.

I skipped the part:

CREATE DATABASE friendicadb;
CREATE USER 'friendica'@'localhost' IDENTIFIED BY '<password>';
GRANT ALL ON friendicadb.* TO 'friendica'@'localhost';
FLUSH PRIVILEGES;
EXIT;

The part:
sudo nano /etc/apache2/sites-available/000-default-le-ssl.conf
created an empty file as the certbot instalation wasn't completed fully.
I created that file using the example given in the tutorial, adding the domain name that will be used.

What I wonder now:
How do I upload the DB I will have to grab from the old provider and upload to the new setup?
How do I change the password for the DB?
Is there a way to also change the name of the existing DB?

My access is over SSH with puTTy created public/private keys, no password.
Can I create sFTP access with for example filezilla and if so how?

3
@…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup @Hank G ☑️ The reason I don't like and won't use certbot is that it won't let you create certs that last longer than 3 months, and if apache hits a bad cert it can prevent the entire server from launching.
3

@…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup
You can export your DB - depending on the old provider you do a full export (with mysql tables) or only a "friendica db backup".
If you only have a friendica DB backup you have to create a new mysql user and a new password.
if you have a full backup, you can change the password of your db user - which is your db-password 😀

sFTP should work out of the box with any Application that supports private key authorization - like scp or FileZilla.

1 3

@Raroun

I decided to publish a new post just describing and summing up the whole installation process:
friendica VPS setup on ubuntu 22.04 LTS
based on @Hank G ☑️'s tutorial adding my experience/observations and the particular differences I ran into.

I will try to address the DB export/import details and eventually other issues over there so this post over here is more about the general VPS decision and particular size experience as it already became because of the existing comments.
👍


friendica VPS setup on ubuntu 22.04 LTS


@Friendica Support

Hi,
I'm working on my first #friendica #VPS installation, here you'll find my initial post about general thoughts like what distro to use, size and costs.
I'm using the tutorial "creating a friendica server - ubuntu" by @Hank G ☑️.

As of now I'm doing well in the process and want to start this post to document differences and questions while installing the server.

This server is going to host an already existing friendica node I have to move from another hosting provider. That means that for example the DB doesn't have to be created from scratch but moved and other smaller details.

I will try to address the different steps of installation in answers to this post and appreciate help, ideas and observations.

I'm doing this from a #linux desktop environment from the console but there shouldn't be differences if you want to do this from a #windows machine.

#fediVerse #tutorial #fediHelp #activityPub


1 3