Trying to follow instruction from http://php.net/manual/en/install.unix.openbsd.php (thanks to the creator).
Steps taken to install php7 on httpd (OpenBSD 6.3) as follow.
- install php packages
- pkg_add php
- choose php version 7
- rcctl enable php70_fpm
- create /etc/httpd.conf
Continue reading “OpenBSD 6.3 install php7 on httpd”
Location for packages readme as follow
This is for openbsd 6.3
Interesting web programming stacks using OpenBSD.
Sample from website below in case it cease to exist in the future.
Continue reading “OpenBSD , C, HTTPD, SQLite”
Open BSD 6.2 was released on Oct 2017 and i am curious how to upgrade my Open BSD 6.1 laptop. From what i read/know, upgrading OpenBSD must be done from a version to the next version following that version. In my case i want to upgrade from 6.1 to 6.2.
Start with downloading files from your favorite OpenBSD mirror and get these following files.
- All Files end with .tgz
Continue reading “First Time Upgrading OpenBSD”
If you a programmer you can use vi or vim or nano to code. Sometimes it just not enough feature or give comfort. I use an editor called bluefish. Install it from package like this :
For openbsd do pkg_add bluefish
If installing for openbsd dont forget to set your PKG_PATH env variable.
For Dragonfly BSD do pkg install bluefish
Bluefish have a good support for html tags and ruby language. See bluefish screenshot below.
Happy coding all !
connect to access point
ifconfig <deviceid> -nwid -wpa -nwkey
get ip address from dhcp
Finally im able to create a simple web application using ruby with sinatra,sequel, postgres.
Continue reading “Ruby Sequel Web Application”
To list installed files by a gem execute command :
jruby -S gem contents [gem_name]
For example to show files from jdbc-h2 gem we do as follow
try it for ruby
gem contents [gem_name]
bye for now …