zpanel / installers

Provides a central place to store, version and distribute ZPanel installers and upgrade scripts from.
http://www.zpanelcp.com
GNU General Public License v3.0
73 stars 153 forks source link

Fixed missing db.php insert and mysql service name #17

Closed stokes84 closed 10 years ago

stokes84 commented 10 years ago

Installer was missing sed -i "s|YOUR_ROOT_MYSQL_PASSWORD|$password|" /etc/zpanel/panel/cnf/db.php Also mysql service was referenced as mysqld service. Fixes issue #13

Also fixing "Cron Task" permission issue on contabs folder. Cron Tasks can now be created.

stokes84 commented 10 years ago

Haven't tested if Cron Task creation works in versions previous to 10.1.1 to know if chmod 744 /var/spool/cron/crontabs is needed for the update script. Maybe someone running an older version can test? Otherwise once this gets pulled I'll make it checkout to a later version to test that.

trojanspike commented 10 years ago

Have you tried this in a VM?

stokes84 commented 10 years ago

Yep, if by VM you imply a VPS qualifies. I do most testing in a VPS, can wipe, reload or switch OS, and have it booted up in a matter of seconds.

trojanspike commented 10 years ago

Sweet :+1:

stokes84 commented 10 years ago

Feel free to test just replace the installer link with the one from my fork

stokes84 commented 10 years ago

Example bash <(curl -Ss https://raw.github.com/stokes84/installers/master/install/Ubuntu-12_04/10_1_1.sh)

stokes84 commented 10 years ago

That was odd, was editing this from the work VPN and somehow it bugged out on a comment click and got closed lol? Maybe someone over here messing with me. Anyways, had to reopen, it's back in pull requests.

allebb commented 10 years ago

Merged! :)

On 7 March 2014 16:48, Chris Stokes notifications@github.com wrote:

That was odd, was editing this from the work VPN and somehow it bugged out on a comment click and got closed lol? Maybe someone over here messing with me. Anyways, had to reopen, it's back in pull requests.

Reply to this email directly or view it on GitHubhttps://github.com/zpanel/installers/pull/17#issuecomment-37042561 .