Skip to content

Digitalocean Ubuntu configuration

Solved Linux
33 3 15.8k 1
  • @phenomlab I could remedy this in moments via Dehydrated and Let’s Encrypt so am presuming the GUI’zed offering at ZeroSSL sports some clickery to achieve same. That would be the preferred solution.

    wrote on last edited by
    #10

    @gotwf The real issue here is that @justoverclock isn’t an expert with Linux, so we’re going to rebuilt this droplet using Webmin and Virtualmin. This will give him a way of managing the entire server using a GUI (us old crusties prefer the command line of course), and using Virtualmin will allow him to use Let’s Encrypt.

    He’ll just need nodejs installed (MySQL, PHP, and NGINX are installed as part of the build), so it’s a simple case of installing Ghost after that, then recovering his site and DB from backup.

  • wrote on last edited by
    #11

    @justoverclock I’ve rebuilt this droplet with Virtualmin, and have completed the below

    • Setup domain justoverlock.it so that it points to the new server
    • Secured the site with HTTPS using let’s encrypt
    • Installed PHPMyAdmin
    • Installed NodeJS version 14.x (supported by Ghost and recommended)
    • Installed and base configured GHOST.
    • Configured nginx.conf to use reverse proxy as below
    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_pass http://127.0.0.1:2368;
    }
    
    client_max_body_size 50m;
    

    Now ready at https://justoverclock.it 🙂

    We should discuss the following

    • Backup plans
    • Additional memory for server, as 1Gb RAM is leaving things a little “short”
    • Maintenance (all latest updates have been installed) - handover back to you when you are comfortable.
  • phenomlab phenomlab has marked this topic as solved on
  • @justoverclock I’ve rebuilt this droplet with Virtualmin, and have completed the below

    • Setup domain justoverlock.it so that it points to the new server
    • Secured the site with HTTPS using let’s encrypt
    • Installed PHPMyAdmin
    • Installed NodeJS version 14.x (supported by Ghost and recommended)
    • Installed and base configured GHOST.
    • Configured nginx.conf to use reverse proxy as below
    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Host $http_host;
        proxy_pass http://127.0.0.1:2368;
    }
    
    client_max_body_size 50m;
    

    Now ready at https://justoverclock.it 🙂

    We should discuss the following

    • Backup plans
    • Additional memory for server, as 1Gb RAM is leaving things a little “short”
    • Maintenance (all latest updates have been installed) - handover back to you when you are comfortable.
    wrote on last edited by
    #12

    @phenomlab great work as always, now i’ve noticed a terrible problem…

    all my email @justoverclock.it that previously works…are now stopped…there’s a way to have it again?

  • @phenomlab great work as always, now i’ve noticed a terrible problem…

    all my email @justoverclock.it that previously works…are now stopped…there’s a way to have it again?

    wrote on last edited by
    #13

    @justoverclock said in Digitalocean Ubuntu configuration:

    all my email @justoverclock.it that previously works…are now stopped…there’s a way to have it again?

    As discussed over PM, this is now resolved and confirmed working.

  • @justoverclock said in Digitalocean Ubuntu configuration:

    all my email @justoverclock.it that previously works…are now stopped…there’s a way to have it again?

    As discussed over PM, this is now resolved and confirmed working.

    wrote on last edited by
    #14

    @phenomlab yes, it a confirmation that sudonix (phenomlab) is a great resource for everyone like me is at first attempt to manage a server…

    i do not have words to say thanks

  • @phenomlab yes, it a confirmation that sudonix (phenomlab) is a great resource for everyone like me is at first attempt to manage a server…

    i do not have words to say thanks

    wrote on last edited by
    #15

    @justoverclock From what I see now, you just need to setup your forum. I think you’re good to go at this point, so (as per PM) I’m handing this server back to you. At some point (very soon - let’s not forget), we need to discuss backup policies etc.

    Create a snapshot once you’re done, so if the worst comes to it, you can get everything back.

  • @justoverclock From what I see now, you just need to setup your forum. I think you’re good to go at this point, so (as per PM) I’m handing this server back to you. At some point (very soon - let’s not forget), we need to discuss backup policies etc.

    Create a snapshot once you’re done, so if the worst comes to it, you can get everything back.

    wrote on last edited by
    #16

    @phenomlab said in Digitalocean Ubuntu configuration:

    Create a snapshot once you’re done, so if the worst comes to it, you can get everything back.

    👍

  • @justoverclock From what I see now, you just need to setup your forum. I think you’re good to go at this point, so (as per PM) I’m handing this server back to you. At some point (very soon - let’s not forget), we need to discuss backup policies etc.

    Create a snapshot once you’re done, so if the worst comes to it, you can get everything back.

    wrote on last edited by
    #17

    @phenomlab yep sure, now i’ve just noticed that forum.justoverclock.it is not reacheable on my phone but works on my pc…

  • @phenomlab yep sure, now i’ve just noticed that forum.justoverclock.it is not reacheable on my phone but works on my pc…

    wrote on last edited by
    #18

    @justoverclock works fine on my phone.

    Screenshot_20211011-222924.jpg

  • @justoverclock works fine on my phone.

    Screenshot_20211011-222924.jpg

    wrote on last edited by
    #19

    @phenomlab is a mystery…on my iphone does not work…and i’m on the same wifi of my house

  • @phenomlab is a mystery…on my iphone does not work…and i’m on the same wifi of my house

    wrote on last edited by
    #20

    @justoverclock does it work on 4g ?

  • @justoverclock does it work on 4g ?

    wrote on last edited by
    #21

    @phenomlab not work

  • wrote on last edited by
    #22

    @justoverclock Very odd indeed. Do you get any specific error message and does it work from a laptop on the same WiFi network ?

  • @justoverclock Very odd indeed. Do you get any specific error message and does it work from a laptop on the same WiFi network ?

    wrote on last edited by
    #23

    @phenomlab tomorrow i will try from work pc. here i have only my pc (and works) ant phone (not)

  • @phenomlab tomorrow i will try from work pc. here i have only my pc (and works) ant phone (not)

    wrote on last edited by
    #24

    @justoverclock this is a real mistery, it works on all computer except my iphone :)…i can’t see the website only on my phone, with 4g, with wifi…odd

  • @justoverclock this is a real mistery, it works on all computer except my iphone :)…i can’t see the website only on my phone, with 4g, with wifi…odd

    wrote on last edited by
    #25

    @justoverclock said in Digitalocean Ubuntu configuration:

    i can’t see the website only on my phone, with 4g, with wifi…odd

    Odd indeed. Do you get the same issue if you try with another browser on the iPhone ?

  • @justoverclock said in Digitalocean Ubuntu configuration:

    i can’t see the website only on my phone, with 4g, with wifi…odd

    Odd indeed. Do you get the same issue if you try with another browser on the iPhone ?

    wrote on last edited by
    #26

    @phenomlab on an android tablet i get CERT AUTHORITY INVALID, but if i click “proceed” i can see the forum

  • @phenomlab on an android tablet i get CERT AUTHORITY INVALID, but if i click “proceed” i can see the forum

    wrote on last edited by
    #27

    @justoverclock Hmm - you only get that message if the cert is invalid. According to this, it’s broken

    a22c806e-a450-4658-90d6-c9843c73a5ad-image.png

    Let me have a look

  • wrote on last edited by
    #28

    @justoverclock looks better now

    9c515b16-f426-41c3-ac15-39b1042d5675-image.png

    Try again ?

  • @justoverclock looks better now

    9c515b16-f426-41c3-ac15-39b1042d5675-image.png

    Try again ?

    wrote on last edited by
    #29

    @phenomlab and magically now works on my iphone 🙂 🙂


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics