Need some hosting suggestions

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.2.4 (stable)
I have access to my server : all of these: Through SSH | through the webadmin | direct access via keyboard / screen |
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain:


I have several websites, which have not generate much traffic or income. So I want to put them all in one server.

I don’t want to upgrade my Cloudways VPS plan. So I bought Linode’s machine.

Hopefully, if I use Yunohost, I can easily installed Peertube and Funkwhale, and my flarum, wordpress sites can also hosting in the same server. (My flarum site and wordpress site need to be in one IP, since they share the same domain name.)

I have my wordpress site up and running. It is a big site, with nearly 25G disk usage. I have migrate it to Yunohosting server.

Now, I am installing flarum. I know how to install through SSH, with composer. However, when I migrate my flarum site to the Yunohost’s flarum site. I cannot use composer(Updating | Flarum Documentation, step 6), nor can I install composer(Introduction - Composer)

composer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies

or

php composer-setup.php --install-dir=bin --filename=composer

I know the flarum site installed on Yunohost:

Note that, for the moment, all third-party extensions are removed upon upgrading.
Their data and parameters remain in Flarum’s database, they only require to be reinstalled.

Whereas, I do need some flexibility in the future upgrading, I have made a lot of customization on my flarum site.


What would you suggest?

I do want to have some software like Yunohost to shield my server, from being hacked. I cannot afford to subscribe cPanel. I have a 2G cpu server, hoping to have peertube, funkwhale, flarum and wordpress running on it. Since it doesn’t have much traffic, even though it did have some data on it.

Shall I use Yunohost? How shall I make my plan work?

Thanks in advance ~ ~

Well, I’m currently using Yunohost for “basic” services (Nextcloud, AdGuard Home, LanguageTool, …), but I also planned hosting some small websites on that machine. I’ve been playing with 2 websites during several months, having in mind that, if the traffic would require it, I would probably transfer them to a host. It was quite easy to manage them. So, yes, for a small website, Yunohost could be a good solution.

Hello,
To use composer follow the recommandations in this extension installation example :

So in short : run composer.phar from the flarum app folder, with sudo and using the right php version !

You should now be able to open a shell with all the proper parameters with sudo yunohost app shell flarum, then run php composer.phar require <vendor/extension>. (php is automatically pointing to the proper version and the directory is the app’s one in that environment)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.