Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-10 Thread soko.tica
Many thanks to everyone who responded. I mean it, really.


On Thu, Nov 9, 2023 at 8:57 PM Todd  wrote:

> https://www.tiltedwindmillpress.com/product/httpd-and-relayd-mastery/
>
> An older book, but it has detailed setup of php applications on OpenBSD
>
> On Thu, Nov 9, 2023 at 5:40 AM soko.tica  wrote:
>
> > Hello,
> >
> > I have a task to launch from scratch one site web hosting google cloud
> > instance.
> >
> > I know OpenBSD does have httpd web server, but I couldn't have found
> > neither wordpress nor joomla software neither in packages nor in ports
> (7.4
> > -stable).
> >
> > Is there a possibility to launch wordpress or joomla on such an instance
> on
> > OpenBSD? Which manpages should I read?
> > Thanks in advance,
> >
>


Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Todd
https://www.tiltedwindmillpress.com/product/httpd-and-relayd-mastery/

An older book, but it has detailed setup of php applications on OpenBSD

On Thu, Nov 9, 2023 at 5:40 AM soko.tica  wrote:

> Hello,
>
> I have a task to launch from scratch one site web hosting google cloud
> instance.
>
> I know OpenBSD does have httpd web server, but I couldn't have found
> neither wordpress nor joomla software neither in packages nor in ports (7.4
> -stable).
>
> Is there a possibility to launch wordpress or joomla on such an instance on
> OpenBSD? Which manpages should I read?
> Thanks in advance,
>


Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Daniele B.
Peter J. Philipp :

> Instead of wordpress I invite you to be creative with C programming language
> and construct your own BCHS (pronounced beaches) website.  Many people have
> written their own blogs this way, so have I.  Check out my source code for
> this at:
> 
> https://gotweb.delphinusdns.org/?action=summary=centroidblog.got
> 
> It could be on github, but I haven't uploaded it there yet.
> 
> https://learnbchs.org/  <-- another great educational site
> 
> Best Regards,

Indeed my coporate vacuums are always very welcome here.

Nov 9, 2023 14:45:15 Peter J. Philipp :

> Instead of wordpress I invite you to be creative with C programming language
> and construct your own BCHS (pronounced beaches) website.  Many people have
> written their own blogs this way, so have I.  Check out my source code for
> this at:
> 
> https://gotweb.delphinusdns.org/?action=summary=centroidblog.got
> 
> It could be on github, but I haven't uploaded it there yet.
> 
> https://learnbchs.org/  <-- another great educational site
> 
> Best Regards,



Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Peter J. Philipp
On Thu, Nov 09, 2023 at 12:38:27PM +0100, soko.tica wrote:
> Hello,
> 
> I have a task to launch from scratch one site web hosting google cloud
> instance.
> 
> I know OpenBSD does have httpd web server, but I couldn't have found
> neither wordpress nor joomla software neither in packages nor in ports (7.4
> -stable).
> 
> Is there a possibility to launch wordpress or joomla on such an instance on
> OpenBSD? Which manpages should I read?
> Thanks in advance,

Instead of wordpress I invite you to be creative with C programming language
and construct your own BCHS (pronounced beaches) website.  Many people have
written their own blogs this way, so have I.  Check out my source code for
this at:

https://gotweb.delphinusdns.org/?action=summary=centroidblog.got

It could be on github, but I haven't uploaded it there yet.

https://learnbchs.org/  <-- another great educational site

Best Regards,
-peter

-- 
Over thirty years experience on Unix-like Operating Systems starting with QNX.



Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Daniele B.
If you are trying to implement a blog you can try out AvatarFree (php as well):

https://avatarfree.org
https://github.com/5mode/AvatarFree

It is a software on premise, assl and corporation free to own your social 
presence.

Eventually don't forget to edit your skinner.html and metrics.html

I am sorry if I'm not intimidated to prop my stuff..


-- Daniele Bonini

Nov 9, 2023 12:41:43 soko.tica :

> Hello,
> 
> I have a task to launch from scratch one site web hosting google cloud
> instance.
> 
> I know OpenBSD does have httpd web server, but I couldn't have found
> neither wordpress nor joomla software neither in packages nor in ports (7.4
> -stable).
> 
> Is there a possibility to launch wordpress or joomla on such an instance on
> OpenBSD? Which manpages should I read?
> Thanks in advance,



Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Manuel Giraud
"Peter N. M. Hansteen"  writes:

> On Thu, Nov 09, 2023 at 12:38:27PM +0100, soko.tica wrote:
>> I have a task to launch from scratch one site web hosting google cloud
>> instance.
>> 
>> I know OpenBSD does have httpd web server, but I couldn't have found
>> neither wordpress nor joomla software neither in packages nor in ports (7.4
>> -stable).
>> 
>> Is there a possibility to launch wordpress or joomla on such an instance on
>> OpenBSD? Which manpages should I read?
>
> You're probably right that those systems do not come pre-packaged for
> OpenBSD.

Yes and I think there is no point in pre-packaging them.  Wordpress
wants to manage its update.  I have some sites with this stack
(OpenBSD/mariadb/php-fpm/httpd) and it just works.

>From this stack, the only thing that you will find in man pages is what
is related to httpd.  You could also read pkg-readmes for mariadb and
php-fpm.  And, as Peter said, the rest will be on internet.  Good luck.
-- 
Manuel Giraud



Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Omar Polo
On 2023/11/09 12:38:27 +0100, "soko.tica"  wrote:
> Hello,
> 
> I have a task to launch from scratch one site web hosting google cloud
> instance.
> 
> I know OpenBSD does have httpd web server, but I couldn't have found
> neither wordpress nor joomla software neither in packages nor in ports (7.4
> -stable).
> 
> Is there a possibility to launch wordpress or joomla on such an instance on
> OpenBSD? Which manpages should I read?
> Thanks in advance,

Both wordpress and joomla are written in PHP, so start by installing it
and reading the README file the php package installs in
/usr/local/share/doc/pkg-readmes/php-8.2

There you'll find carefully described the steps you need to to do run
php stuff in the /var/www chroot with OpenBSD' httpd (and also notes for
Apache httpd and nginx).  Pay particular attention to the "Extension
modules" section since wordpress will need a few of them, "Living with
chroot" and "Making network connections".

Similarly, you'll also need mariadb (for wordpress at least.)  Same
thing, the package installs a README file with the relevant information.

Then, installing wordpress is a matter of fetching the latest sources,
unzip them somewhere under /var/www/ and run the installer.  It will
probably complain about a few missing php modules (stuff like php-gd or
maybe php-zip).  Install them, restart php-fpm, rinse and repeat until
it's happy :)



Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Mike Fischer
Yep, WordPress is doable. I’ve never used Joomla, so I can’t say for sure.

One thing to note is that OpenBSD httpd does not have the .htaccess mechanism. 
So sites relying on Apache httpd .htaccess features might need some thought. 
OTOH there is a port for Apache httpd…


HTH
Mike

> Am 09.11.2023 um 12:58 schrieb Peter N. M. Hansteen :
> 
> On Thu, Nov 09, 2023 at 12:38:27PM +0100, soko.tica wrote:
>> I have a task to launch from scratch one site web hosting google cloud
>> instance.
>> 
>> I know OpenBSD does have httpd web server, but I couldn't have found
>> neither wordpress nor joomla software neither in packages nor in ports (7.4
>> -stable).
>> 
>> Is there a possibility to launch wordpress or joomla on such an instance on
>> OpenBSD? Which manpages should I read?
> 
> You're probably right that those systems do not come pre-packaged for OpenBSD.
> 
> But simple web search on "wordpress on openbsd httpd" and "joomla on openbsd 
> httpd"
> yields enough seemingly relevant hits that I strongly suspect both are doable.
> 
> I have not tried either myself, though.
> 
> -- 
> Peter N. M. Hansteen, member of the first RFC 1149 implementation team
> https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
> "Remember to set the evil bit on all malicious network traffic"
> delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
> 




Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Maja Reberc
WordPress and Joomla can be deployed without using a port/package. I've
always done it this way.

It's up to you which web server you choose. I'd go with OpenBSD httpd
because I really like its simple configuration (in contrast to Apache).
If you decide to use httpd, definitely read httpd(8). httpd.conf(5) has
some very neat config file examples.

If you plan on using an SSL certificate from Let's Encrypt, you will
find acme-client(1) most useful. It's really nice light replacement for
certbot.

See this guide for installing WordPress on OpenBSD:
https://www.openbsdhandbook.com/howto/wordpress/

In essence, you'll need to set httpd up to use PHP (examples have that
covered), and set up MariaDB. Then you drop WP files, extract them in
the server root, and complete the process in the web browser.

WP also has an install guide you can follow:
https://developer.wordpress.org/advanced-administration/before-install/howto-install/
This one will probably use Apache, though.

On Thu, 9 Nov 2023 12:38:27 +0100
"soko.tica"  wrote:

> Hello,
> 
> I have a task to launch from scratch one site web hosting google cloud
> instance.
> 
> I know OpenBSD does have httpd web server, but I couldn't have found
> neither wordpress nor joomla software neither in packages nor in
> ports (7.4 -stable).
> 
> Is there a possibility to launch wordpress or joomla on such an
> instance on OpenBSD? Which manpages should I read?
> Thanks in advance,


Re: OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread Peter N. M. Hansteen
On Thu, Nov 09, 2023 at 12:38:27PM +0100, soko.tica wrote:
> I have a task to launch from scratch one site web hosting google cloud
> instance.
> 
> I know OpenBSD does have httpd web server, but I couldn't have found
> neither wordpress nor joomla software neither in packages nor in ports (7.4
> -stable).
> 
> Is there a possibility to launch wordpress or joomla on such an instance on
> OpenBSD? Which manpages should I read?

You're probably right that those systems do not come pre-packaged for OpenBSD.

But simple web search on "wordpress on openbsd httpd" and "joomla on openbsd 
httpd"
yields enough seemingly relevant hits that I strongly suspect both are doable.

I have not tried either myself, though.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



OpenBSD_one_site_web_hosting_software_recommendation

2023-11-09 Thread soko.tica
Hello,

I have a task to launch from scratch one site web hosting google cloud
instance.

I know OpenBSD does have httpd web server, but I couldn't have found
neither wordpress nor joomla software neither in packages nor in ports (7.4
-stable).

Is there a possibility to launch wordpress or joomla on such an instance on
OpenBSD? Which manpages should I read?
Thanks in advance,