This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
#1
ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
Sentora-Windows-Upgrade
This project is designed to upgrade ZPanel 10.1.1 to Sentora 1.0.3 on Windows.
  • This is for testing ONLY at this stage.
  • Do NOT use on a production server, please test on a development server.
  • NOTICE: Make sure you are using ZPanel 10.1.1
The goal: Convert ZPanel 10.1.1 to Sentora 1.0.3 on Windows platforms.

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 scr
ipt 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.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#2
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
Thank you i test it after i go back at home. Can you plan create for future .exe instalator?
Reply
Thanks given by:
#3
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
(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.)
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#4
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
Hello.
Ok...
and what now? What is differently here? New tools or just themes...
Reply
Thanks given by:
#5
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
There are many differences. You are running the current stable version of Sentora 1.0.3 designed for Windows Big Grin 

Bug fixes, exploits, new features. There is a lot between ZP10.1.1 and Sentora 1.0.3 Wink

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.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by: EvilBoy
#6
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
(11-24-2015, 05:57 PM)TGates Wrote: Sentora-Windows-Upgrade
This project is designed to upgrade ZPanel 10.1.1 to Sentora 1.0.3 on Windows.
  • This is for testing ONLY at this stage.
  • Do NOT use on a production server, please test on a development server.
  • NOTICE: Make sure you are using ZPanel 10.1.1
The goal: Convert ZPanel 10.1.1 to Sentora 1.0.3 on Windows platforms.

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 scr
ipt 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.

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.
Reply
Thanks given by:
#7
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
(11-23-2019, 06:19 PM)letsmakemoney63 Wrote:
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.

ZPanel is now owned by Hostwinds, the github is here: https://github.com/zpanel/zpanelx
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support or modules helpful? Donate HERE
Get your domains using my affiliate link:
GoDaddy - Domains
Reply
Thanks given by:
#8
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
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-Win...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?...riptevents

we must be able to do a hitstone and get out an installer who also does updater
Reply
Thanks given by:
#9
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
you remember this is the nut form that opens in the php window

[Image: kaia.png]

well you can say ugly goodbye

and hello to the new form that you would have

[Image: o36x.png]

[Image: jm69.png]

[Image: hf8j.png]

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;
and can retrieve the parameters to send them to the script even hide this one seen which more interaction on it
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=%6

Code:
<?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
Reply
Thanks given by:
#10
RE: ZPanel 10.1.1 -> Sentora 1.0.3 Windows Version
new modification we display the information you provided on the ready page

[Image: 02wy.png]

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
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
Sentora on Windows ANY NEW INSTALLER elmoutakaf 3 3 749 10-04-2020, 02:37 AM
Last Post: Gigamax
Sentora for Windows 1.0.0 released! MarkDark 70 125 619 07-08-2020, 09:58 PM
Last Post: andykimpe
sentora awserver apache 2.2 to 2.4 migration elmoutakaf 1 2 362 07-08-2020, 09:49 PM
Last Post: andykimpe

Forum Jump:


Users browsing this thread: 1 Guest(s)