![]() |
|
ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: Sentora on Windows (Un-Official) v1.0 (https://senforums.mach-hosting.com/forumdisplay.php?fid=61) +---- Thread: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version (/showthread.php?tid=2198) |
ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - TGates - 11-24-2015 Sentora-Windows-Upgrade This project is designed to upgrade ZPanel 10.1.1 to Sentora 1.0.3 on Windows.
Disclaimer: This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use at your OWN RISK! The link: https://github.com/TGates71/Sentora-Windows-Upgrade Do NOT use the DB-Name-Conversion.txt! It is NOT complete at this time and will break your installation! Feel free to contribute to this script and the database conversion script on GitHub. No .exe is planned at all by me. This process is as easy as it gets, just like updating most any other web software. Upload files, run the upgrade script. RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - Theo - 11-24-2015 Thank you ☺ i test it after i go back at home. Can you plan create for future .exe instalator? RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - TGates - 11-24-2015 (11-24-2015, 07:36 PM)Theo Wrote: Thank you ☺ i test it after i go back at home. Can you plan create for future .exe instalator?Thanks for testing, let me know how it turns out! I suggest you skip the DB-Name-Conversion.txt until that gets completed. No .exe is planned at all by me. This process is as easy as it gets (for maintaining and updating it), just like updating most any other web software. Upload the files, run the upgrade script. (Which, if you think about it, is exactly the same as an EXE - Upload the exe, run it.) RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - EvilBoy - 11-28-2015 Hello. Ok... and what now? What is differently here? New tools or just themes... RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - TGates - 11-29-2015 There are many differences. You are running the current stable version of Sentora 1.0.3 designed for Windows Bug fixes, exploits, new features. There is a lot between ZP10.1.1 and Sentora 1.0.3 ![]() I do not have a specific list as the package is a copy of my running Sentora 1.0.3 on Windows and was kept up do date as things progressed. Off the top of my head, these are a couple of them: Backup Manager - fixed multiple backups per day and backup filename fix. Added TinyMCE to the Client Notices Manager - Allows for better control of layout and messages to your clients. All reference to ZPanelcp.com converted to sentora.org. All references to zpanel in the coding converted to sentora (and in the DB). With the exception of zpanel_core was NOT updated to sentora_core. RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - letsmakemoney63 - 11-23-2019 (11-24-2015, 05:57 PM)TGates Wrote: Sentora-Windows-Upgrade Hi, I am trying to figure out how to install zpanel10.1.1 into Windows Home. I haven't found the install instructions for it yet. Can anybody please help me? I would appreciate it very much. Thank you. I do have it downloaded plus the upgrade to Sentora 1.0.3. RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - TGates - 11-25-2019 (11-23-2019, 06:19 PM)letsmakemoney63 Wrote: ZPanel is now owned by Hostwinds, the github is here: https://github.com/zpanel/zpanelx RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - andykimpe - 07-01-2020 ok I'm forker tom I'm just busy redoing a stark pack with binaries etc what i have already done maj apache 2.4.38 (latest vc11 build of apachelounge version for compatibility php5) php 5.6.40 + suhosin 0.9.38 deletion of setenv which shit you in the PATH PATH and désomair defined via innoup setup and pascal code this way it and properly uninstall and if uninstalling and reinstalling more than one varriable are no longer duplicated then I will see to remove all msdos command prompts and make sure that the information requested from the user is by the installer inno setup here is the code that replaces setenv to show you what it gives https://github.com/andykimpe/Sentora-Windows-Upgrade/blob/master/installer/%7Btmp%7D/install_script.iss for the moment i'm still working on zpanel but the goal is to update it to sentora I believe in pascal with the conditional and notably the option procedure CurStepChanged (CurStep: TSetupStep); https://jrsoftware.org/ishelp/index.php?topic=scriptevents we must be able to do a hitstone and get out an installer who also does updater RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - andykimpe - 07-01-2020 you remember this is the nut form that opens in the php window ![]() well you can say ugly goodbye and hello to the new form that you would have ![]() ![]() ![]() good there is still work on the configuration and for all to update but the presentation, tation and very well like its Code: //presentation pascal code
Procedure URLLabelOnClick(Sender: TObject);
var
ErrorCode: Integer;
begin
ShellExec('open', 'http://www.sentora.org', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;
var
PageParam: TInputQueryWizardPage;
// Créer les Pages Personnalisées
procedure CreateTheWizardPages;
begin
// Create the page
PageParam := CreateInputQueryPage(wpInfoBefore,
ExpandConstant('Configure your Sentora Installation'), ExpandConstant('Information of your installation'),
ExpandConstant('please fill in the information requested to configure your Setora installation'));
// Add items (False means it's not a password edit)
PageParam.Add(ExpandConstant('Your Full name:'), False);
PageParam.Add(ExpandConstant('Your Email:'), False);
PageParam.Values[0]:= '';
PageParam.Values[1]:= '';
end;
// Fonctions de retour
function GetParam1(Param: String): String;
begin
Result := PageParam.Values[0];
end;
function GetParam2(Param: String): String;
begin
Result := PageParam.Values[1];
end;
var
PageParamm: TInputQueryWizardPage;
procedure CreateTheWizardPages1;
begin
// Create the page
PageParamm := CreateInputQueryPage(wpUserInfo,
ExpandConstant('Configure your Sentora Installation'), ExpandConstant('Information of your installation'),
ExpandConstant('please fill in the information requested to configure your Setora installation'));
// Add items (False means it's not a password edit)
PageParamm.Add(ExpandConstant('Your FQDN:'), False);
PageParamm.Add(ExpandConstant('Password For Zadmin:'), False);
PageParamm.Values[0]:= '';
PageParamm.Values[1]:= '';
end;
// Fonctions de retour
function GetParam3(Paramm: String): String;
begin
Result := PageParam.Values[0];
end;
function GetParam4(Paramm: String): String;
begin
Result := PageParamm.Values[1];
end;
//code for configure PATH Variable
procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
var
Path, AppDir: string;
Index: Integer;
begin
if CurUninstallStep = usUninstall then
begin
if RegQueryStringValue(HKEY_LOCAL_MACHINE,
'SYSTEM\CurrentControlSet\Control\Session Manager\Environment\',
'Path', Path) then
begin
AppDir := ExpandConstant('{app}\bin\apache\bin;{app}\bin\mysql\bin;{app}\bin\php;{app}\bin\wget;{app}\bin\bind\bin');
Index := Pos(AppDir, Path);
Delete(Path, Index-1, Length(AppDir)+1);
RegWriteStringValue(HKEY_LOCAL_MACHINE,
'SYSTEM\CurrentControlSet\Control\Session Manager\Environment\',
'Path', Path);
end;
end;
end;
//end path config
procedure InitializeWizard();
var
URLLabel: TNewStaticText;
begin
URLLabel := TNewStaticText.Create(WizardForm);
URLLabel.Caption := 'www.sentora.org';
URLLabel.Cursor := crHand;
URLLabel.OnClick := @URLLabelOnClick;
URLLabel.Parent := WizardForm;
{ Alter Font *after* setting Parent so the correct defaults are inherited first }
URLLabel.Font.Style := URLLabel.Font.Style + [fsUnderline];
URLLabel.Font.Color := clBlue;
URLLabel.Top := WizardForm.ClientHeight - URLLabel.Height - 15;
URLLabel.Left := ScaleX(20);
//end;
//begin
CreateTheWizardPages;
CreateTheWizardPages1;
end;the script will be executed like this install_services.bat {app} {tmp} {code:GetParam1} {code:GetParam2} {code:GetParam3} {code:GetParam4} install_services.bat install_folder temp_dir your_full_name your_email your_fqdn password_for_zadmin Code: @echo off
SET install_folder=%1
SET temp_dir=%2
SET your_full_name=%3
SET your_email=%4
SET your_fqdn=%5
SET password_for_zadmin=%6Code: <?php
$install_folder = $argv[0]
$temp_dir = $argv[1]
$your_full_name = $argv[2]
$your_email = $argv[3]
$your_fqdn = $argv[4]
$password_for_zadmin = $argv[5]and if everything goes as planned you will be able to choose the installation directory including in another hard drive I remember that some have asked and at the time it was petter who said that it was not possible yes indeed at the time but more today since we can customize the installer with code so can rewrite all config files and for the paths in the db 2 3 update command and it is set I want to reassure everyone too even I suggest improvements on the installer I do not intend to modify the theme of the panel nor to add unnecessary modules like imagik or even to make you come back to a version 2.2 of apache I'm not MarkDark all of it makes him what I propose will work on apache 2.4.38 php 5.6.40 suhosin 0.9.38 mysql 5.7.29 I will also add the wget version of cygwin and what tools such as unzip zip tar gzip xz sed and coreutils but it stops no change in the panel code itself by changing the theme either RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version - andykimpe - 07-02-2020 new modification we display the information you provided on the ready page ![]() Code: function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
begin
Result := ''
if MemoUserInfoInfo <> '' then begin
Result := MemoUserInfoInfo + Newline + NewLine;
end;
if MemoDirInfo <> '' then begin
Result := Result + MemoDirInfo + Newline + NewLine;
end;
if MemoTypeInfo <> '' then begin
Result := Result + MemoTypeInfo + Newline + NewLine;
end;
if MemoComponentsInfo <> '' then begin
Result := Result + MemoComponentsInfo + Newline + NewLine;
end;
if MemoGroupInfo <> '' then begin
Result := Result + MemoGroupInfo + Newline + NewLine;
end;
if MemoTasksInfo <> '' then begin
Result := Result + MemoTasksInfo + Newline + NewLine;
end;
Result := Result + 'Your Sentora install Configure:' + NewLine + NewLine;
Result := Result + 'Your Full Name: ' + PageParam.Values[0] + NewLine;
Result := Result + 'Your Email: ' + PageParam.Values[1] + NewLine;
Result := Result + 'Your FQDN: ' + PageParamm.Values[0] + NewLine;
Result := Result + 'Password For Zadmin: ' + PageParamm.Values[1] + NewLine;
end;by cons for the moment I am blocking the info is well returned and used by the batch file but not by the php file and it refuses to display the GLOBAL variable in var_dump which means that I cannot know exactly how it returns the information to recover it correctly I still have this problem to solve then I should be able to finish the rest of the installer in what hours it is the update function that will be more complicated to set up |