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.

New Style for Sentora Part 1 (Новый стиль для Sentora Часть 1)
#1
New Style for Sentora Part 1 (Новый стиль для Sentora Часть 1)
Hi All!

(English)

This post is aimed primarily at Russian-speaking users
Recommend that you use Google translator for everyone else Smile

Unfortunately, the developers of Sentora did not take into account the fact,
that in the world, besides english there are many more
Languages and alphabets eg russian Smile
To the same language module in the Sentora is sewn directly
into the MySQL database, what does not allow most users to create
translations for the panel by editing language files.
Probably this explains why this panel did not receive
Distribution in countries with languages other than english.
In the usual freshly-installed version of Sentora, you can not use
languages that use non-latin letters of the alphabet.
The default skin theme when switching to any language that is
dont uses the latin letters of the alphabet, begins to "swim"
The controls, the module labels and the panel are essentially
become unsuitable for use.

This guide is devoted to how quickly to remake
standard theme Sentora on a theme in the style of cPanel
(For this special thanks to the participant of the forum Ron-e http://auxio.eu
Which created a great theme CstyleX, although this wonderful theme
I had to remake a little Smile
In my opinion, at the moment this is the only sane theme
For the hosting control panel.
As a basis for the alteration was taken my long-standing development AWServer with ZPanelX
In the process of reworking the design, several interface languages will be added.
English, German, Spanish, Russian and Ukrainian

In the process of reworking the panel, the module Theme Manager will also be removed
The module Theme Chooser will be installed and the Web-FTP Client module will be added
Which will allow you to manage files on your hosting account through the web interface.
So it will also be necessary to slightly correct the operation of the BIND server (fix minor flaws)...

In the rest it will be all the same Sentora 1.0.3

If your use additional modules for Sentora,
I recommend downloading the adapted versions of these modules
from the site https://yadi.sk/d/L-nYRtBr3FdWVL
or
http://awserver.ru/sentora/download/modules/

Otherwise, it may not display the fonts, icons, etc. correctly.

Dwnload and unzip the file
https://yadi.sk/d/YrgbBAFF3Fdb9i
or
http://awserver.ru/sentora/download/repl...styles.zip

Inside the archives you will find 5 folders for a step-by-step change of style Sentora

Step_1
Step_2
Step_3
Step_4
Step_5

Inside each folder are pictures illustrating the process of changing the style
And a text file with a short description.
Perform all the actions sequentially! It is important!

After completing all the steps, you will get a new style for Sentora

(Russian)

Часть 1


К большому сожалению разработчики Sentora не учитывали того факта,
что в мире, кроме английского языка присутствуют еще много других
языков и алфавитов например русский Big Grin К тому-же языковой модуль
данной панели зашит непосредственно в базе данных MySQL,
что непозволяет большенству обычных пользователей создавать
переводы для панели путем редактирования языковых файлов.
Наверное именно этим объясняется то, что данная панель, не получила
распространения в странах с языками отличными от английского.
В обычной свеже-установленной версии Sentora невозможно использование
языков, которые используют не латинские буквы алфавита.
Тема оформления по умолчанию при переключении на любой язык, который
не использует латинские буквы алфавита, начинает "плыть"
смещаются элементы управления, подписи к модулям и панель по сути
становиться непригодна к использованию.

Данное руководство посвящено тому, как быстро переделать
стандартную тему Sentora на тему в стиле cPanel
(за это особая благодарность участнику форума Ron-e http://auxio.eu,
который создал великолепную тему CstyleX, хотя и эту прекрасную тему
мне пришлось немного переделать Smile
На мой взгляд, на данный момент это единственная вменяемая тема оформления
для панели управления хостингом.
За основу для переделки была взята моя давняя разработка AWServer with ZPanelX
В процессе переделки оформления будут добавлены нескольков языков интерфейса.
Английский, немецкий, испанский, русский и украинский.

Вот как будет выглядеть ваша панель после переделки

[Image: login_panel.png]

[Image: sentora_panel.png]

В процессе переделки панели так-же будет удален модуль Theme Manager
вмест него будет установлен модуль Theme Chooser и добавлен модуль Web-FTP Client
который позволит управлять файлами на своем хостинг аккаунте через веб-интерфейс.
Так-же нужно будет немного подправить работу сервера BIND (исправить небольшие недочеты).

В остальном это будет все та-же Sentora 1.0.3

Если вы используете дополнительные модули для Sentora,
то рекомендую скачивать адаптированные версии этих модулей
с сайта https://yadi.sk/d/L-nYRtBr3FdWVL
или
http://awserver.ru/sentora/download/modules/

Иначе возможно неправильное отображение шрифтов, иконок и пр.

Итак скачайте и распакуйте себе на диск файл:
https://yadi.sk/d/YrgbBAFF3Fdb9i
или
http://awserver.ru/sentora/download/repl...styles.zip

Внутри архива вы найдете 5 папок для пошаговой смены стиля Sentora

Step_1
Step_2
Step_3
Step_4
Step_5

Внутри каждой папки находятся картинки иллюстрирующие процесс замены стиля
и текстовый файл с коротким описанием.
Выполните все действия последовательно! Это Важно!

После выполнения всех шагов Вы получите новый стиль для Sentora плюс
пару очень полезных функций, которые отсутствуют в оригинальной версии.
Первая, это возможность устанавливать ограничение на объем памяти для работы PHP скриптов и вторая, это то, что для каждого клиента устанавливается своя папка для временных файлов и PHP-сессий, что конечно повышает безопассность системы.

[Image: lim_mem.png]

[Image: httpd_tmp_folder.png]

И так приступим!

Установка Sentora на CentOS 7

Предположим, что вы уже установили себе чистую операционную систему CentOS 7

Ваши следующие действия по шагам.

1. Установите пакет wget
(предполагается что все действия вы производите используя для этого PuTTY)

[Image: 01.png]

# yum install wget

[Image: 02.png]

2. Скачайте утановщик Sentora

# wget sentora.org/install

[Image: 03.png]

3. Сделайте скаченный установщик исполнимым

# chmod +x install

[Image: 04.png]

4. Запустите установку Sentora

# ./install

[Image: 05.png]

Процесс установки займет около 20 минут в зависимости от качества канала связи
Во время установки вам будет предложено выбрать свое географическое положение,
изменить имя хоста, куда будет устанавливаться панель управления
я обычно устанавливаю так: cp.super-hosting.ru
super-hosting.ru - разумеется это ваш реальный домен

Ну и после установки инсталлятор выведет на экран табличку
со всеми созданными администраторскими паролями
которые были созданы в процессе установки.
Файл с этими паролями будет находиться в папке root вашей системы.

[Image: 06.png]

5. После перезагрузки, нужно установить дополнительные пакеты и произвести замену
штатной версии PHP 5.4 на PHP 5.5
Для этого в PuTTY последовательно выполняем команды

# rpm -Uvh https://dl.fedoraproject.org/pub/epel/ep...noarch.rpm

# rpm -Uvh https://mirror.webtatic.com/yum/el7/webt...elease.rpm

# yum install yum-plugin-replace

# yum replace php-common --replace-with=php55w-common

# yum install php55w-opcache

# cd /tmp

# wget -nv -O suhosin.tar.gz https://download.suhosin.org/suhosin-0.9.38.tar.gz

# tar -xvzf suhosin.tar.gz

# rm -f suhosin.tar.gz

# cd suhosin-0.9.38

# phpize &> /dev/null

# ./configure &> /dev/null

# make &> /dev/null

# make install

# cd ..

# rm -rf suhosin-0.9.38

# php -v

# yum -y install net-tools.x86_64

# yum -y install telnet

# yum -y install mc

# yum -y install nano

# yum -y install mod_ssl

# yum -y install opendkim

# yum -y install cyrus-sasl{,-plain}

# chmod -R 777 /etc/sentora/panel/etc/apps/webmail/temp

# chmod -R 777 /etc/sentora/panel/etc/apps/webftp/temp

# reboot

Продолжение следует...

Часть 1   Часть 2   Часть 3
AWServer I'm, Returned!

Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora With SSLForFree Chris L 1 4 ,623 01-22-2020, 09:19 PM
Last Post: ralphharder
Fail2ban for Sentora (Centos 7) bbspike 14 44 ,501 01-14-2020, 07:32 AM
Last Post: Vedran B
Timeout for Sentora Admin Panel minufreelance 12 44 ,998 11-24-2018, 12:33 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)