Howtobuild: Ispconfig + Wordpress + Cloud (Seafile) server

Discussion in 'HOWTO-Related Questions' started by Trebbor38, Nov 11, 2019.

  1. Trebbor38

    Trebbor38 New Member

    Hi All,

    I'm using in this moment 3 servers (at home) for this configuration (1 for ISP, 1 for Wordpress and 1 for Seafile).
    For me it would be great if there was a possibility to have this on 1 server.
    Now everytime I setup ISP with wordpress it works fine (also Isp + Seafile), butt when I install seafile (or FTP server) my configuration is blowen to hell and the only thing that keeps working is ISP.

    Can someone help me out how to build something like this.

    ISP & Wordpress are both nessesery, the Seafile can be another cloud programm or software.

    Thank in advanced.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I do not know what ISP is, and Search Engines suggest Indiana State Police. So I do not know if and how those three could run on the same host.
    But one way to solve this is use virtual hosts. Install for example Proxmox https://www.proxmox.com/en/proxmox-ve and then create three or more virtual hosts to run those services you need. This way you can give a service its own host to run on, but have only one physical server.
     
    Trebbor38 likes this.
  3. Trebbor38

    Trebbor38 New Member

    Hi Taleman,
    Thanks for your reply, ISP = ISPconfig build on Ubuntu 18.04 Server.
    The option you give is also possible with VM-Ware (ESXI).
    I'm looking for a All-in-One sollution.
    Mabye another sugestion?
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You do not say what happens when you install Seafile on your ISPConfig + Wordpress host. How are you installing Seafile? If it could be installed in a website created by ISPConfig it should at least not mess other websites and services.
    You have made no mention of OS you use.
     
    Trebbor38 likes this.
  5. Trebbor38

    Trebbor38 New Member

  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    For installing Wordpress, do not use https://www.howtoforge.com/tutorial/how-to-install-wordpress-on-ubuntu-16.04-lamp/ when you have ISPConfig. That way messes the setups ISPConfig makes.
    Instead create a website in ISPConfig Panel, with database user, database and ftp and or ssh user for that website. Then use those users to install Wordpress on that website. I have just followed the usual Wordpress installation instructions from Wordpress itself.
    If there is a working tutorial for installing Seafile in ISPConfig, I would use that and then install Worpress like I wrote above. But I am wary of tutorials concerning ISPConfig if they are not from ispconfig.org or howtoforge. But that one is on Howtoforge, so it may be OK. Read also the comments!
     
    Trebbor38 likes this.
  7. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    I don't see anything there that would be a problem with installing the latest seafile on the latest ispconfig, assuming the install procedure is the same for the latest seafile. for wordress on ispconfig, that tutorial is definitely unusable if you want to manage the site in ispconfig. whatever it says in the tutorial about creating the website area, the database and database user, plus any ftp user or ssh user. do ALL of that within the ispconfig interface instead.
    ssh to the server, either as the site's ssh user, or as root. and change to /var/www/<siteurl>/web/
    assuming you want wordpress in the root of the site and not a subfolder:

    wget https://wordpress.org/latest.tar.gz
    tar -xf latest.tar.gz
    rm latest.tar.gz
    cd wordpress
    mv * ../.
    cd ..
    rmdir wordpress
    mv wp-config-sample.php wp-config.php

    if you've done all the above as root, you'll also want to run this command:
    chown -R web#:client#
    ** replace each # with the sites web id number and client id number respectively.

    edit wp-config.php and fill in the correct database details ** and change all the salts to something randomly generated

    open a browser and visit your wordpress site.....
     
    Trebbor38 likes this.
  8. Trebbor38

    Trebbor38 New Member

    Tryed it......but I'll think I'm to stuppid for it....does not work...

    ERROR 404 - Not Found!
    The following error occurred:
    The requested URL was not found on this server.
    Please check the URL or contact the webmaster.

    :(

     
  9. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    what is the url for the site?
    does it have dns entries or is it just an entry in your local hosts file?
    when you created a site in ispconfig, did you give it an ip? or just leave it as * ?
     
  10. Trebbor38

    Trebbor38 New Member


    Just leave the * because its the same IP as where ISPconfig is installed on...
     
  11. Trebbor38

    Trebbor38 New Member

    URL: Its on a domain in DNS...Ip is configured right when I install IPSconfig first and Wordpress in same server in the same it works..I'm trying now one of the wordpress-plugins..
     
  12. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    what ip is the server on?
    what is the url for the wordpress site?
     
  13. furion3000

    furion3000 New Member

    seafile work with ispconfig and wordpress

    in ispconfig website option change Apache Directives
    /////////////////////////////////////////
    # seafile httpserver
    #
    ##ProxyPass /seafhttp http://127.0.0.1:8082
    ##ProxyPassReverse /seafhttp http://127.0.0.1:8082
    RewriteRule ^/seafhttp - [QSA,L]
    #
    # seahub
    #
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
    ##ProxyPass / http://127.0.0.1:8000/
    ##ProxyPassReverse / http://127.0.0.1:8000/
    /////////////////////////////////////////

    and in conf/gunicorn.conf.py

    change
    # default localhost:8000
    bind = "0.0.0.0:8000"

    or in alternative install nextcloud
     
    Last edited: Aug 11, 2020

Share This Page