PufferPanel auto installer for Ubuntu 16.04LTS - Pastee Link #328
Replies: 8 comments 8 replies
-
derrickmehaffy wrote at Aug 5 2016 02:08:48 UTC: A note when installing nodes: If you attempt to run the auto-deploy script on another server you will get an error about not finding the openjdk 7 package. To resolve this simply run the following command on the remote server before running the auto-deploy command:
Personally I believe this auto deploy needs to be changed to auto install Java 1.8 as it is on the centos auto-deploy but those changes can be done manually after install. Edit: After attempting to add a default minecraft server (No mods bukkit, spigot, whatever) an error appears in the console about Java 1.8 To remedy this issue you just need to install the default jdk (aka java 1.8 from the ubuntu repo)
Once you have Java 1.8 the default minecraft server will run perfectly. After the auto deploy is finished, I manually changed out the self signed certificates for my AlphaSSL wildcard one and the Panel connected with the Node (although it did take a minute to actually start talking and appear online in the panel) I will continue to update as I test everything.
|
Beta Was this translation helpful? Give feedback.
-
PacksGamingHD wrote at Aug 5 2016 02:08:48 UTC: thanks so much but the pastee link says 502 bad gateway. also if i do-release-upgrade will i lose all of my data |
Beta Was this translation helpful? Give feedback.
-
derrickmehaffy wrote at Aug 5 2016 02:08:48 UTC: Yeah it looks like Pastee might be down, either way I pasted the exact same thing below the Pastee link. I have not tested doing a Distro Upgrade on 16.04. My install was tested on a fresh install of 16.04. I am also using Nginx and Apache2 at the same time (Created an Nginx reverse proxy to Apache2 and have Apache2 running only on localhost:8080) I would say do a complete backup of everything including your SQL databases and attempt the upgrade, if your running a virtual machine you can always do a snapshot and revert back if it doesn't work. (I run all my servers on XenServer 7 with VMs for everything and do snapshots before I do any major changes) |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at Aug 5 2016 02:08:48 UTC: In the future, the project's preferred pasting service is https://paste.ee |
Beta Was this translation helpful? Give feedback.
-
derrickmehaffy wrote at Aug 5 2016 02:08:48 UTC: PhpMyAdmin is a good tool if your in the Database quite a bit, otherwise if you want something simple you can use Webmin. It'll give you pretty basic controls over mysql but also everything else on the server. |
Beta Was this translation helpful? Give feedback.
-
derrickmehaffy wrote at Aug 5 2016 02:08:48 UTC: My setup is a tad more complicated, as I dont host the sql server(s) on the pufferpanel host itself. I run a Galera Cluster on 3 different machines with an HAProxy to load balance. Its easier for me just to manage Database/User creation using MySQL's Workbench on a Bastion Host. Benefit to my setup is all my machines connect to one "server" that is load balanced between 3 different mysql servers. And anytime I add/change/remove anything they all sync at the same time. I essentially have 3 backups of everything with better mysql response times so I -could- use phpmyadmin but workbench is so much easier and user friendly lol. It doesn't particularly care for MariaDB Galera though. |
Beta Was this translation helpful? Give feedback.
-
PacksGamingHD wrote at Aug 5 2016 02:08:48 UTC: confirmed and worked for ubuntu 16.04 was able to get a server running on it fine with the modified code. thanks |
Beta Was this translation helpful? Give feedback.
-
ariqcs wrote at Aug 5 2016 02:08:48 UTC: can it work with apache? |
Beta Was this translation helpful? Give feedback.
-
derrickmehaffy wrote at Aug 5 2016 02:08:48 UTC:
Was playing around with trying to edit the auto installer for Ubuntu 16.04LTS and made a few minor changes. For Ubuntu 16.04 the default release of PHP is Version 7.0 thus many of the directories for fpm and just php in general have changed. This includes the commands to install the dependencies.
Install the dependencies:
Then enable mcrypt and restart fpm
You can download my installer file here: https://pastee.org/wvrtt or I have placed it below:
Notes on what was changed:
Using these modifications, I was able to successfully install pufferpanel on Ubuntu 16.04LTS. I have not done any testing yet with installing nodes, servers, adding users, etc. I don't foresee any issues but will update as I find them.
To the PufferPanel admins, not sure how you want to handle this, but seeing as how Ubuntu 16.04 is a LTS release and is beginning to be used more often I would recommend adding a section to the documentation on installation for 16.04. There isn't many changes other than using systemd and the changes in php 7.0. Your install script actually checks for php5+ but doesn't take into account location changes.
Thanks,
DMehaffy
Beta Was this translation helpful? Give feedback.
All reactions