Advertisement:

Author Topic: Ubuntu and SMF  (Read 893 times)

Offline NiceMan72

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
    • RiceRacing Team
Ubuntu and SMF
« on: August 11, 2017, 03:29:24 PM »
I have own server and now i want install SMF in that, Server has Ubuntu 16.x whit 4 core intell and 32Gb memory.
There has already CopperMine, OwnCloud and they run ok.
MySQL version 10.0.31
Apache version 2.4.18

I download SMF packet and put them var/www/forum

Owncloud run in var/www/owncloud but coppermine is in var/www/html/coppermine

www.theniceman.com go direct to my coppermine and www.theniceman.com/owncloud is my cloud system.
I want at SMF foud www.theniceman.com/forum so something i missing because i try "install" its only say:

The requested URL /forum/install.php was not found on this server.
Apache/2.4.18 (Ubuntu) Server at theniceman.com Port 80

Can get little help? i not know what missing...
Kuutiotuumia ja pillin vihellystä ei mikään voita.
www.theniceman.com

Offline NiceMan72

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
    • RiceRacing Team
Re: Ubuntu and SMF
« Reply #1 on: August 12, 2017, 03:35:18 AM »
Any help? I am newbie whit Linux...

Need make virtual server in apache to SMF ? Owncloud has virtual server but i not know how make it...
Its problem if multi soft use some port like 80 ?
Kuutiotuumia ja pillin vihellystä ei mikään voita.
www.theniceman.com

Offline Gwenwyfar

  • Full Member
  • ***
  • Posts: 512
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Ubuntu and SMF
« Reply #2 on: August 12, 2017, 12:30:39 PM »
Have you checked where is the install.php file? Have you extracted the SMF package or just put it on the server?

Offline NiceMan72

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
    • RiceRacing Team
Re: Ubuntu and SMF
« Reply #3 on: August 12, 2017, 04:27:28 PM »
Look in directory where i copy all from package.
Kuutiotuumia ja pillin vihellystä ei mikään voita.
www.theniceman.com

Offline Gwenwyfar

  • Full Member
  • ***
  • Posts: 512
  • Gender: Female
    • Gwenwyfar on GitHub
Re: Ubuntu and SMF
« Reply #4 on: August 13, 2017, 10:17:34 AM »
Only your link to http://www.theniceman.com/owncloud/ seems to work. You could check how is that folder set up so you can do the same with /forum.

Offline NiceMan72

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
    • RiceRacing Team
Re: Ubuntu and SMF
« Reply #5 on: August 13, 2017, 10:21:47 AM »
Only your link to http://www.theniceman.com/owncloud/ seems to work. You could check how is that folder set up so you can do the same with /forum.

Both gallery and owncloud works hire but problem is at i need help how get SMF works too in /forum, i think at there has virtual host in apache to owncloud, i am newbie this :-(
Edit: I put hire what has apache2/site-enabled directory

*
Galleria:


<VirtualHost *:80>
ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/html/coppermine/
ServerName your-domain.com
ServerAlias www.your-domain.com
<Directory /var/www/html/coppermine/>
Options FollowSymLinks
AllowOverride All
</Directory>
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
</VirtualHost>

*
000-defaul....

<VirtualHost *:8080>
   # The ServerName directive sets the request scheme, hostname and port that
   # the server uses to identify itself. This is used when creating
   # redirection URLs. In the context of virtual hosts, the ServerName
   # specifies what hostname must appear in the request's Host: header to
   # match this virtual host. For the default virtual host (this file) this
   # value is not decisive as it is used as a last resort host regardless.
   # However, you must set it for any further virtual host explicitly.
   #ServerName www.example.com

   ServerAdmin webmaster@localhost
   DocumentRoot /var/www/html

   # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
   # error, crit, alert, emerg.
   # It is also possible to configure the loglevel for particular
   # modules, e.g.
   #LogLevel info ssl:warn

   ErrorLog ${APACHE_LOG_DIR}/error.log
   CustomLog ${APACHE_LOG_DIR}/access.log combined
   ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/run/php/php7.0-fpm.sock|fcgi://localhost/var/www/html/

   # For most configuration files from conf-available/, which are
   # enabled or disabled at a global level, it is possible to
   # include a line for only one particular virtual host. For example the
   # following line enables the CGI configuration for this host only
   # after it has been globally disabled with "a2disconf".
   #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

*
« Last Edit: August 13, 2017, 10:39:15 AM by NiceMan72 »
Kuutiotuumia ja pillin vihellystä ei mikään voita.
www.theniceman.com

Offline NiceMan72

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
    • RiceRacing Team
Re: Ubuntu and SMF
« Reply #6 on: August 13, 2017, 04:58:20 PM »
I get it now "works" so can start install but not get far...
Critical Error!
Cannot connect to the database server with the supplied data.

If you are not sure about what to type in, please contact your host.

I make database "riceforum" and user rice@localhost
Smf not accept this, why ? If i use mysql -u rice -p and put correct password i get inside mysql,

MariaDB [(none)]> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| riceforum          |
+--------------------+
2 rows in set (0.00 sec)

So what i can do now ?

EDIT, i get it work, little older packet not want install but 2.x.14 install nice but something missing still, no gfx anywhere, can use forum but its only text...
How this fix ?


« Last Edit: August 13, 2017, 05:46:00 PM by NiceMan72 »
Kuutiotuumia ja pillin vihellystä ei mikään voita.
www.theniceman.com

Offline NiceMan72

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
    • RiceRacing Team
Re: Ubuntu and SMF
« Reply #7 on: August 13, 2017, 05:58:37 PM »
Just happy say at get it work, sometime need make it hard way =)

I find repair.php and now its start work.
Kuutiotuumia ja pillin vihellystä ei mikään voita.
www.theniceman.com