@Madchatthew I use it here. It is faster, but not sure if that extends to build times.
installing flarum with plesk
-
@phenomlab plesk plesk … lalala
@phenomlab said in installing flarum with plesk:
@phenomlab Seeing as this is a testing box, you could try
apt install php8.0-cli
and see where that takes you, but I’m guessing it’s not the silver bullet you are looking for. -
@Hari that should in fact work !
-
@phenomlab that is the problem, its better to use pocket hold and install and update extensions using the Plesk panel.
but the only problem is installing Redis … is there any way to create user for domain in Plesk and set his CLI to php8 and composer version to 2
as mentioned in docs Plesk is not using php8 cli this is weird
-
@phenomlab will it work everytime i login or its only valid for this session?
-
@Hari the full path ? Yes.
-
@Hari yes. Take my advice and avoid Plesk. It’s sh**. Can’t be much plainer than that.
-
@phenomlab the php 8 CLI
-
@Hari that will work every time but you still need the full path to the
php
binary -
@phenomlab sure, i want to run this little software with light tools - are there any other alternatives?
someone is doing like this https://discuss.flarum.org/d/30211-gtmetrix-grade-and-stats-on-flarum/2 is it a good practice?
i don’t think this bare bones kind of process is good for newbies
-
@Hari with Linux, less is more. You should pay attention to the advice offered by @justoverclock here
https://discuss.flarum.org/d/30211-gtmetrix-grade-and-stats-on-flarum/10
In VirtualMin, everything is packaged ready for you. Configuring a hardened Linux platform from scratch with little experience is very daunting and unless you are prepared to invest multiple hours researching how to get the optimum build without being willing to accept you’ll trash that same server multiple times before you get it right, then this just isn’t going to work.
-
Summery: we can install flarum easily by using pocket hold and run it, if we need any extensions we just need to mention the extension name in Plesk composer it will automatically install. but it’s hard to run SSH commands because of Plesk limitations. and installing Redis for flarum is also a complicated process
thanks a lot for being with me throughout this exercise
-
@Hari no problems. It’s actually easy to install Redis in Plesk, but by the same token, Plesk as a platform is geared very differently meaning there are multiple dependencies etc which can easily fail with even minor changes, meaning Plesk won’t start and your sites won’t work.
You essentially have to do things the “Plesk” way, or not at all.
-
@phenomlab hi, someone at flarum want to use flarum with plesk, after all the exercise i do want to suggest how to install flarum using plesk. the one last thing that i need to learn is running Redis and flarum together. could you tell me how to create redis using docker or any other easy way and connect it to flarum.
i want to avoid using SSH because as we know plesk is so weird running ssh commands for flarum.
-
create redis using docker or any other easy way and connect it to flarum.
Why do you need to use Docker to run Redis ? For all the time I was using Flarum under Plesk, I never had to do this. Nor did I have any issues using SSH commands. Did you create a domain package in Plesk to use, or did you try to install everything as root ?
If root, then this definitely will not work.
-
@phenomlab i was using it wrong, i used root ID
Once we add domain how to login as / switch to domain user? Switching to domain user SSH will make installing flarum easy? All these days i thought using poket hold is the only easiest way to install flarum in plesk.
-
@Hari Yes, absolutely. In essence, you install Plesk, create the package you want to deploy (the default is fine) and then once you have added your domain, you create an associated user to go with it, and use that account to access SSH. No permissions issues etc.
If you do it as root, it’s 100% guaranteed to fail and cause severe problems with permissions. I personally would not use pocket hold. This is really designed for shared hosting with no SSH access.
A bit more detail here
https://www.eukhost.com/kb/setup-addon-domain-in-plesk-panel/
-
@phenomlab it’s around 6pm here and I was feeling lazy in bed… your reply made me to come online and deploy a droplet. Will disturb you in few minutes hope you don’t mind
-
@Hari No issues.
-
create the package you want to deploy (the default is fine)
once i pick plesk from marketplace it automatically created plesk . package means obsidian?
I’ve added the domain > need to update this right? @phenomlab
-
@Hari Yes. Sorry, by “package” I meant the allowance of disk space, memory, etc.