RE: Installer 1.0.1 on CentOS7
07-15-2015, 10:01 PM
(This post was last modified: 07-15-2015, 10:11 PM by turino.)
Hi,
You can try with this method until updated...
1. Download sentora auto install and preconfig file
2. Extract sentora_preconfig.zip
3. Edit sentora-installers-1.0.0/preconf/sentora-install/sql/sentora_postfix.sql change this code
With the new code
Also this sql code
With this
4. Edit sentora_install.sh
make like this
5. remove sentora_preconfig.zip and zip again sentora-installers-1.0.0, dont forget to do rename with sentora_preconfig.zip
6. chmod +r sentora_install.sh;./sentora_install.sh
Finish... I hope you understand that i mean... hahaha...
I have success with that method... Good Luck...
You can try with this method until updated...
1. Download sentora auto install and preconfig file
Code:
wget https://raw.githubusercontent.com/sentora/sentora-installers/master/sentora_install.sh
wget -nv -O sentora_preconfig.zip https://github.com/sentora/sentora-installers/archive/1.0.0.zip
2. Extract sentora_preconfig.zip
3. Edit sentora-installers-1.0.0/preconf/sentora-install/sql/sentora_postfix.sql change this code
Code:
CREATE TABLE `quota` (
`username` varchar(255) NOT NULL,
`path` varchar(100) NOT NULL,
`current` bigint(20) DEFAULT NULL,
PRIMARY KEY (`username`,`path`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
With the new code
Code:
CREATE TABLE `quota` (
`username` varchar(255) NOT NULL,
`path` varchar(100) NOT NULL,
`current` bigint(20) DEFAULT NULL,
PRIMARY KEY (`username`,`path`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Also this sql code
Code:
CREATE TABLE `vacation_notification` (
`on_vacation` varchar(255) CHARACTER SET latin1 NOT NULL,
`notified` varchar(255) CHARACTER SET latin1 NOT NULL,
`notified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`on_vacation`,`notified`),
CONSTRAINT `vacation_notification_pkey` FOREIGN KEY (`on_vacation`) REFERENCES `vacation` (`email`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Postfix Admin - Virtual Vacation Notifications';
With this
Code:
CREATE TABLE `vacation_notification` (
`on_vacation` varchar(255) CHARACTER SET latin1 NOT NULL,
`notified` varchar(255) CHARACTER SET latin1 NOT NULL,
`notified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`on_vacation`,`notified`),
CONSTRAINT `vacation_notification_pkey` FOREIGN KEY (`on_vacation`) REFERENCES `vacation` (`email`) ON DELETE CASCADE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Postfix Admin - Virtual Vacation Notifications';
4. Edit sentora_install.sh
Code:
wget -nv -O sentora_preconfig.zip https://github.com/sentora/sentora-installers/archive/$SENTORA_PRECONF_VERSION.zip
make like this
Code:
-nv -O sentora_preconfig.zip https://github.com/sentora/sentora-installers/archive/$SENTORA_PRECONF_VERSION.zip
5. remove sentora_preconfig.zip and zip again sentora-installers-1.0.0, dont forget to do rename with sentora_preconfig.zip
6. chmod +r sentora_install.sh;./sentora_install.sh
Finish... I hope you understand that i mean... hahaha...
I have success with that method... Good Luck...