News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Install the Simple Machines Discussion Forum (SMF) source on CentOS 7 ?

Started by rachel1254, January 13, 2020, 04:17:34 AM

Previous topic - Next topic

rachel1254

How to Install the Simple Machines Discussion Forum (SMF) source on CentOS 7 ?
Apkafe


rachel1254


Looking

Installing procedure is effective. If you have Softalicious on your server you can try that but its not recommended. You can also hire someone to do it for you.

m4z

The problem is there are many variables (database/webserver/php installation and config differs between distros and OSs; the necessary permissions depend on your distro and webserver config; do you want to install as root or as a user; does your webserver support userdirs; etc.).

When you have...

  • a distro that creates a group www-data for the webserver,
  • a working DB,
  • a working webserver with PHP,
  • want to install as an unprivileged user, and
  • have a PHP VHost that points to the right directory,
...the gist of installing is:

# useradd -m my-smf
# cp smf_<version>_install.tar.gz ~my-smf/
# su - my-smf
$ mkdir ~/public_html
$ tar xvf... -C public_html
# chown -R my-smf.www-data ~my-smf/public_html/
# chmod -R 775 ~my-smf/public_html/


Then you can surf to your site and begin configuring the ~5-step web-based installer.


But, as you can imagine, if only one condition is different, you need to do things differently. (For reference, I'm using nginx with php5-fpm and postgres on Debian.)
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!


rachel1254

The problem is there are many variables (database/webserver/php installation and config differs between distros and OSs; the necessary permissions depend on your distro and webserver config; do you want to install as root or as a user; does your webserver support userdirs; etc.).

When you have%u2026
a distro that creates a group www-data for the webserver,
a working DB,
a working webserver with PHP,
want to install as an unprivileged user, and
have a PHP VHost that points to the right directory,

Advertisement: