Error group admin exists

I have a fresh DigitalOcean Ubuntu 18.04 droplet (with only password set).

Installation problem: group admin exists

Topic is solved

musicmouse

Posts: 10
Joined: Thu Feb 25, 2016 1:00 pm

Installation problem: group admin exists

I have a fresh DigitalOcean Ubuntu 18.04 droplet (with only password set).

When I try to install Vesta I get the following error message:

Code: Select all

Error: group admin exists

Please remove admin group before proceeding.
If you want to do it automatically run installer with -f option:
Example: bash vst-install.sh --force

What is this about? What should I do?


realjumy

Posts: 50
Joined: Sun Jul 06, 2014 12:51 pm

Re: Installation problem: group admin exists

Post

by realjumy » Sun Mar 03, 2019 4:38 pm

musicmouse wrote: ↑

Sun Mar 03, 2019 3:10 pm


I have a fresh DigitalOcean Ubuntu 18.04 droplet (with only password set).

When I try to install Vesta I get the following error message:

Code: Select all

Error: group admin exists

Please remove admin group before proceeding.
If you want to do it automatically run installer with -f option:
Example: bash vst-install.sh --force

What is this about? What should I do?

If it is a fresh droplet, just do:

It should have no detrimental effect on your system.



realjumy

Posts: 50
Joined: Sun Jul 06, 2014 12:51 pm

Re: Installation problem: group admin exists

Post

by realjumy » Tue Mar 05, 2019 1:49 pm

musicmouse wrote: ↑

Mon Mar 04, 2019 4:01 pm


That worked.

Thank you.

You’re welcome. Just remember to set the question subject as [Solved] and point to the answer. That will help to anyone else with the same problem.



Содержание

  1. How to install Vesta Control Panel on Ubuntu 18.04
  2. Why Vesta Control Panel
  3. Install Vesta Control Panel on Ubuntu 18.04
  4. 1. Connect to your server
  5. 2. Update system repositories.
  6. 3. Download Vesta Control Panel
  7. 4. Uninstall Vesta Control Panel
  8. Error group admin exists
  9. Answered by:
  10. Question
  11. Running wp-change-portal-admin-user task fails with «group does not exist» message
  12. Troubleshooting
  13. Problem
  14. Symptom
  15. Cause
  16. Resolving The Problem
  17. SQL Server Expert
  18. Pages
  19. Categories
  20. Blog Archive
  21. Wednesday, February 20, 2013
  22. User Group or Role already exists in the current database
  23. 3 comments:

How to install Vesta Control Panel on Ubuntu 18.04

Vesta Control Panel is a simple and clever web hosting control panel. It has the fine touch of Softaculus auto installer that is able to install more than 439 apps with one click. It also supports a great ton of features such as a built-in command-line interface, and Softaculus which you can focus on using the apps rather than installing. Has support for commercial plugins such as SFTP Chroot.

In this tutorial, I will take you through the installation and configuration of the Vesta control panel step by step.

Why Vesta Control Panel

Maybe you are wondering why Vesta control panel and not others. Vesta offers the following advantages.

  • Vesta web interface is extremely first couple with its first keyboard shortcuts.
  • Sites powered by vesta are fast because vesta delivers optimized configurations for low, medium, and high RAM server types.
  • Vesta requires low resources and still runs fast. 512 Mb RAM, 20Gb hard disk, and 1Ghz CPU are enough to power Vesta resources.
  • It has a built-in firewall that resolves all common issues.
  • It has supported internationalization. It supports more than 25 languages and regions around the globe.
  • It provides monitoring and logging of server requests.
  • It has an out-of-the-box backup system implemented by daily cron jobs.

Install Vesta Control Panel on Ubuntu 18.04

1. Connect to your server

First, we need to connect to our Ubuntu server via ssh console like this

2. Update system repositories.

Secondly, we need to update our system repositories in order to make them up to date. This will ensure that we don’t run into errors later during our installation.

3. Download Vesta Control Panel

We are going to use the vesta installation script to run our installation. This is a very convenient method as all the vesta requirements are included in the script.

Then to run the script in order to install Vesta use the following command.

If the installation fails for some reason like the one shown above, you can do –force installation like this.

You will get an output like this:

Press Y to allow the installation to continue. You need to provide your admin email and FQDN for the installation to continue.

when don with installation visit http:// /8083 on your terminal to access its interface. Use the credentials given.

Vesta CP login Vesta CP Dashboard

4. Uninstall Vesta Control Panel

When you want to uninstall Vesta CP the first thing to do is to stop vesta services like this;

After you have stopped the service then proceed to remove the installation like this:

Lastly, remove the data directory and its associated cron jobs.

Источник

Error group admin exists

Answered by:

Question

I am trying to get VSTS 2008 to deploy a database from the dbproj file. When I run the build and deploy on my local machine it works fine. However, on our build machine it fails with

Deploy error TSD151: .Net SqlClient Data Provider: Msg 15023, Level 16, State 1, Line 1 User, group, or role ‘Xxxxxxx’ already exists in the current database

The reason for this is that it is adding this to the sql file generated on the build server —

CREATE USER [ Xxxxxxx ] FOR LOGIN [ Xxxxxxx ] WITH DEFAULT_SCHEMA=[dbo]
GRANT CONNECT TO [I Xxxxxxx ]

but the user gets created when the Create Database command is run. This line of code does not get generated on my local machine.

There is no obvious difference between the user profile in the database. I am an admin on my local machine, and the build user is an admin on the build machine.

Any ideas on what makes it add this line on the build machine?

Источник

Running wp-change-portal-admin-user task fails with «group does not exist» message

Troubleshooting

Problem

When you run the wp-change-portal-admin-user task in IBM WebSphere Portal, the task fails with a message that the group does not exist.

Symptom

The ConfigTrace.log contains the following:

    Command line arguments: . wp-change-portal-admin-user
    .

    Target started: wp-change-portal-admin-user
    .
    Target started: wp-validate-group-exists
    .
    [wplc-validate-user-group-exists] Status = Complete

      [echo] Validating if group ‘cn=groupname,ou=orgunit1,dc=yourcompany,dc=com’ exists.

    Target finished: wp-validate-group-exists
    Target finished: wp-change-portal-admin-user
    .
    newAdminGroupId=cn=groupname,ou=orgunit1,dc=yourcompany,dc=com
    .
    BUILD FAILED
    /opt/wpt610/wp_profile/ConfigEngine/config/actions/wp_security_pub.xml:2181: The following error occurred while executing this line:
    /opt/wpt610/wp_profile/ConfigEngine/config/actions/wp_security_internal.xml:82: Given user group ‘cn=groupname,ou=orgunit1,dc=yourcompany,dc=com’ does not exist.

Cause

The Virtual Member Manager (VMM) is not correctly configured to find the new administrative group. This can occur if the LDAP structure changes between when you set up the WebSphere Portal security configuration and when you run wp-change-portal-admin-user.

Resolving The Problem

Verify the VMM configuration. Specifically, confirm that the newAdminGroupId can be found given the searchFilter and searchBases in the wimconfig.xml file ( /config/cells/ /wim/config/):

      groupOfUniqueNames

    ou=orgunit2,dc=yourcompany,dc=com

LDAPsearch can be used to validate these settings as follows:

    ldapsearch -x -v -D -w -h -p -b ou=orgunit2,dc=yourcompany,dc=com objectClass=groupOfUniqueNames

    Refer to the LDAPsearch documentation for details on correct syntax.

For the task to run successfully, the newAdminGroupId should be contained in the LDAPsearch results. If it is not, your LDAP administrator should advise you on determining the correct settings for searchFilter and searchBases.

Источник

SQL Server Expert

A Knowledge Sharing Blog

Pages

Categories

  • AJAX (1)
  • Alter Database (4)
  • Always On (1)
  • Analysis Services (2)
  • Architecture (1)
  • ASP.NET (3)
  • Azure (1)
  • Backup (11)
  • Backup Errors (5)
  • Big Data (1)
  • Book (7)
  • Book/Guide (2)
  • Business Intelligence (1)
  • Central Administration (2)
  • Certification (1)
  • CLOUD (1)
  • Cluster (2)
  • Configuration Manager (2)
  • Data Types (4)
  • Database Ojects (3)
  • DB Admin (13)
  • DBaaS (1)
  • Detach and Attach (1)
  • Disaster Recovery (1)
  • ERROR.LOG (7)
  • Errors (19)
  • Event Viewer (5)
  • Failover Cluster Manager (1)
  • File Groups (2)
  • Free e-Book (7)
  • Free Training (14)
  • Full-Text Search (1)
  • High Availbility (3)
  • Hyper-V (1)
  • In-Memory (1)
  • Indexes (1)
  • Install (3)
  • Integration Services (2)
  • License (1)
  • Login or Users Issues (3)
  • MAC (1)
  • Maintenance Plans (3)
  • MS Office (1)
  • MS System Center 2012 (1)
  • MS Tools (6)
  • New Features (3)
  • O365 (2)
  • ODBC (2)
  • Office 2016 (1)
  • Orphaned Users (1)
  • Patch (3)
  • Performance Tuning (3)
  • PowerShell (3)
  • Profiler (1)
  • Replication (4)
  • Reporting Services (7)
  • Restore (3)
  • Security (8)
  • Server Manager (1)
  • Service Pack (2)
  • SharePoint 2013 (4)
  • ShrinkDB (1)
  • sp_configure (1)
  • SQL Agent (5)
  • SQL Cluster (1)
  • SQL Query (1)
  • SQL Server 2000 (5)
  • SQL Server 2005 (15)
  • SQL Server 2014 (15)
  • sqlcmd (4)
  • SQLServer 2005 Cluster (1)
  • SQLServer 2008 (21)
  • SQLServer 2012 (32)
  • SQLServer 2012 Install (2)
  • SQLServer 2014 (3)
  • SQLServer 2016 (7)
  • SQLServer Cluster (2)
  • SQLServer Express (1)
  • SQLServer Install (3)
  • SQLServer Management Studio (12)
  • Stored Procedures (4)
  • System Center (1)
  • Team System (2)
  • TempDB (3)
  • Tools (1)
  • UnixODBC (1)
  • Vedio Tutorials (9)
  • Virtualization (1)
  • Visual Studio (2)
  • Web Application (2)
  • White Paper (1)
  • Windows 10 (2)
  • Windows 2008R2 (1)
  • Windows Cluster (3)
  • Windows Server 2012 (3)
  • Windows Server 8 (3)
  • xp_cmdshell (2)

Blog Archive

  • ►2018 (7)
    • ►September (2)
    • ►May (1)
    • ►March (1)
    • ►February (1)
    • ►January (2)
  • ►2016 (4)
    • ►December (1)
    • ►October (2)
    • ►February (1)
  • ►2015 (17)
    • ►September (4)
    • ►July (2)
    • ►May (6)
    • ►April (5)
  • ►2014 (8)
    • ►December (2)
    • ►November (1)
    • ►August (1)
    • ►April (1)
    • ►February (1)
    • ►January (2)
  • ▼2013 (21)
    • ►December (2)
    • ►November (3)
    • ►October (2)
    • ►August (1)
    • ►May (3)
    • ▼February (10)
      • SQL Server 2012 Administration, Backup, Recovery a.
      • Understanding Roles, Permissions, Profiler and Dat.
      • Understanding Indexes in SQL Server
      • Understand SQL Server Database Objects and Data Types
      • Backup SQLServer Database and different types of B.
      • Free ASP.NET AJAX video Tutorials
      • SQL Server 2012 Editions, License, Certification, .
      • Microsoft SQL Server 2012 Enhancements Video Tutor.
      • Free SQLServer Vedio Training for Beginners
      • User Group or Role already exists in the current d.
  • ►2012 (13)
    • ►December (1)
    • ►July (1)
    • ►June (1)
    • ►May (3)
    • ►April (1)
    • ►March (4)
    • ►February (2)
  • ►2011 (4)
    • ►October (2)
    • ►August (1)
    • ►July (1)

Wednesday, February 20, 2013

User Group or Role already exists in the current database

When trying to create user with login or edit user mapping…etc, you may receive below error message.
Error 15023: User, Group or Role already exists in the current database
You may see below error when you are dealing with group

Error 15024: The group already exists in the current database
Users will receive this message when user existed without a SQLServer login in the database.

Run below command to see current user tologin mapping

Use[DatabaseName] ;
GO
exec sp_change_users_login @Action=’Report’ ;
GO

If the user does NOT exist, then you can run below command using “auto_fix” attribute to create the user in the database.

You will see the output with following result
The row for user will be fixed by updating its login link to a login already in existence.
The number of orphaned users fixed by updating users was 1.
The number of orphaned users fixed by adding new logins and then updating users was 0.

If the user is ALREADY exists and if you want to map login with the user run below command using “updated_one” attribute.

CREATE PROCEDURE dbo.spDBA_FixOrphanUsers
AS
DECLARE @username VARCHAR(25)
DECLARE GetOrphanUsers CURSOR
FOR
SELECT UserName = name FROM sysusers
WHERE issqluser = 1
AND (sid IS NOT NULL AND sid <> 0x0)
AND SUSER_SNAME(sid) IS NULL ORDER BY name
OPEN GetOrphanUsers
FETCH NEXT
FROM GetOrphanUsers
INTO @username
WHILE @@FETCH_STATUS = 0
BEGIN
IF @username=’dbo’
EXEC sp_changedbowner ‘sa’
ELSE
EXEC sp_change_users_login ‘update_one’, @username, @username
FETCH NEXT
FROM GetOrphanUsers
INTO @username
END
CLOSE GetOrphanUsers
DEALLOCATE GetOrphanUsers
GO
You can refer Microsoft Link for more information
http://msdn.microsoft.com/en-us/library/ms175475.aspx

Pretty nice post. I just stumbled upon your weblog and wished to say that I have really enjoyed surfing around your blog posts. After all I’ll be subscribing to your rss feed and I hope you write again very soon!fossil automatic watch

Thanks a lot for sharing this with all folks you actually know what you’re talking about! Bookmarked. Please additionally visit my web site =). We will have a hyperlink alternate arrangement among us!buddhist funeral package

I had the problem when I was trying to copy the production to a local test database. In SSMS, I made sure to disconnect from the production before executing scripts on the local. However, even though I thought I had disconnected, the title of the production database was still there, and I got errors that objects were already there. The solution was to total exit from SSMS and start it again, only connecting to the local test database that time.

Источник

Vesta Control Panel is a simple and clever web hosting control panel. It has the fine touch of Softaculus auto installer that is able to install more than 439 apps with one click. It also supports a great ton of features such as a built-in command-line interface, and Softaculus which you can focus on using the apps rather than installing. Has support for commercial plugins such as SFTP Chroot.

In this tutorial, I will take you through the installation and configuration of the Vesta control panel step by step.

Maybe you are wondering why Vesta control panel and not others. Vesta offers the following advantages.

  • Vesta web interface is extremely first couple with its first keyboard shortcuts.
  • Sites powered by vesta are fast because vesta delivers optimized configurations for low, medium, and high RAM server types.
  • Vesta requires low resources and still runs fast. 512 Mb RAM, 20Gb hard disk, and 1Ghz CPU are enough to power Vesta resources.
  • It has a built-in firewall that resolves all common issues.
  • It has supported internationalization. It supports more than 25 languages and regions around the globe.
  • It provides monitoring and logging of server requests.
  • It has an out-of-the-box backup system implemented by daily cron jobs.

Install Vesta Control Panel on Ubuntu 18.04

1. Connect to your server

First, we need to connect to our Ubuntu server via ssh console like this

ssh [email protected]<Ip-Address>

2. Update system repositories.

Secondly, we need to update our system repositories in order to make them up to date. This will ensure that we don’t run into errors later during our installation.

sudo apt update && apt upgrade -y

3. Download Vesta Control Panel

We are going to use the vesta installation script to run our installation. This is a very convenient method as all the vesta requirements are included in the script.

sudo curl -O http://vestacp.com/pub/vst-install.sh

Then to run the script in order to install Vesta use the following command.

bash vst-install.sh

Error: group admin exists

Please remove admin group before proceeding.
If you want to do it automatically run installer with -f option:
Example: bash vst-install.sh --force

If the installation fails for some reason like the one shown above, you can do –force installation like this.

bash vst-install.sh --force 

You will get an output like this:

#output
_|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|
 _|      _|  _|        _|            _|      _|    _|
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_|
   _|  _|    _|              _|      _|      _|    _|
     _|      _|_|_|_|  _|_|_|        _|      _|    _|

                                  Vesta Control Panel



The following software will be installed on your system:
   - Nginx Web Server
   - Apache Web Server (as backend)
   - Bind DNS Server
   - Exim Mail Server
   - Dovecot POP3/IMAP Server
   - MySQL Database Server
   - Vsftpd FTP Server
   - Softaculous Plugin
   - Iptables Firewall + Fail2Ban


Would you like to continue [y/n]: 

Press Y to allow the installation to continue. You need to provide your admin email and FQDN for the installation to continue.

Please enter admin email address: [email protected]
Please enter Vesta port number (press enter for 8083): 
Please enter FQDN hostname [ubuntu]: next-example.com
Installation backup directory: /root/vst_install_backups/1649527203




Installation will take about 15 minutes ...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libfwupdplugin1
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2022-04-09 18:00:09--  http://nginx.org/keys/nginx_signing.key
Resolving nginx.org (nginx.org)... 52.58.199.22, 3.125.197.172, 2a05:d014:edb:5702::6, ...
Connecting to nginx.org (nginx.org)|52.58.199.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1561 (1.5K) [application/octet-stream]
Saving to: ‘/tmp/nginx_signing.key’

when don with installation visit http://<ip-address>/8083 on your terminal to access its interface. Use the credentials given.

Thank you for using Softaculous
=======================================================

 _|      _|  _|_|_|_|    _|_|_|  _|_|_|_|_|    _|_|   
 _|      _|  _|        _|            _|      _|    _| 
 _|      _|  _|_|_|      _|_|        _|      _|_|_|_| 
   _|  _|    _|              _|      _|      _|    _| 
     _|      _|_|_|_|  _|_|_|        _|      _|    _| 


Congratulations, you have just successfully installed Vesta Control Panel

    https://138.68.177.91:8083
    username: admin
    password: knCoRJpPqb

We hope that you enjoy your installation of Vesta. Please feel free to contact us anytime if you have any questions.
Thank you.

--
Sincerely yours
vestacp.com team

Vesta CP login

Vesta CP login
Vesta CP Dashboard
Vesta CP Dashboard

4. Uninstall Vesta Control Panel

When you want to uninstall Vesta CP the first thing to do is to stop vesta services like this;

service vesta stop

After you have stopped the service then proceed to remove the installation like this:

sudo apt remove vesta*
rm -f /etc/apt/sources.list.d/vesta.list

Lastly, remove the data directory and its associated cron jobs.

rm -rf /usr/local/vesta

  • Печать

Страницы: [1]   Вниз

Тема: VESTA CP  (Прочитано 1860 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
andreik99


Оффлайн
zotkindm

curl -O http://vestacp.com/pub/vst-install.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1721  100  1721    0     0   3032      0 --:--:-- --:--:-- --:--:--  3029

Нормально все

#!/bin/bash
# Vesta installation wrapper
# http://vestacp.com

#
# Currently Supported Operating Systems:
#
#   RHEL 5, RHEL 6
#   CentOS 5, CentOS 6
#   Debian 7
#   Ubuntu LTS, Ubuntu 13.04, Ubuntu 13.10
#

# Am I root?
if [ "x$(id -u)" != 'x0' ]; then
    echo 'Error: this script can only be executed by root'
    exit 1
fi

# Check admin user account
if [ ! -z "$(grep ^admin: /etc/passwd)" ] && [ -z "$1" ]; then
    echo "Error: user admin exists"
    echo
    echo 'Please remove admin user account before proceeding.'
    echo 'If you want to do it automatically run installer with -f option:'
    echo "Example: bash $0 --force"
    exit 1
fi

# Check admin user account
if [ ! -z "$(grep ^admin: /etc/group)" ] && [ -z "$1" ]; then
    echo "Error: group admin exists"
    echo
    echo 'Please remove admin user account before proceeding.'
    echo 'If you want to do it automatically run installer with -f option:'
    echo "Example: bash $0 --force"
    exit 1
fi

# Detect OS
case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
    Debian)     type="debian" ;;
    Ubuntu)     type="ubuntu" ;;
    *)          type="rhel" ;;
esac

# Check wget
if [ -e '/usr/bin/wget' ]; then
    wget http://vestacp.com/pub/vst-install-$type.sh -O vst-install-$type.sh
    if [ "$?" -eq '0' ]; then
        bash vst-install-$type.sh $*
        exit
    else
        echo "Error: vst-install-$type.sh download failed."
        exit 1
    fi
fi

# Check curl
if [ -e '/usr/bin/curl' ]; then
    curl -O http://vestacp.com/pub/vst-install-$type.sh
    if [ "$?" -eq '0' ]; then
        bash vst-install-$type.sh $*
        exit
    else
        echo "Error: vst-install-$type.sh download failed."
        exit 1
    fi
fi

exit

Содержимое если что

« Последнее редактирование: 22 Октября 2016, 11:50:09 от zotkindm »


Оффлайн
AnrDaemon

Смотрите, какая милота… Может, ещё через судо это запустить предложите?
Впрочем, в свете CVE-2016-5195, даже sudo не нужно…

« Последнее редактирование: 22 Октября 2016, 15:33:14 от AnrDaemon »

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


  • Печать

Страницы: [1]   Вверх

Hestia — бесплатная панель управления сервером. В ее состав входит ПО, нужное для работы сайтов и почты, вам не понадобится устанавливать его вручную. Ещё с Hestia удобно управлять сайтами на боксах, устанавливать сертификаты, редактировать файлы прямо из веб-интерфейса.

Установка

Создать бокс с предустановленной панелью Hestia на базе ОС Ubuntu или Debian можно из Панели управления в пару кликов. Стандартные компоненты панели достаточно требовательны к ресурсам — стоит выбрать бокс с как минимум 1 Гб оперативной памяти.

Для созданных ранее боксов и при использовании другой ОС установка Hestia заключается в скачивании скрипта с сайта разработчика и его выполнении. Чтобы ее начать, подключитесь к боксу по SSH. 

  1. Скачайте скрипт установки командой
    wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
  2. Запустите скрипт. Можно сразу добавить к нему ключ -l, чтобы панель установилась на русском языке, и ключ -о, чтобы установить несколько версий PHP сразу:
    bash hst-install.sh -l ru -o yes
  3. Если при запуске видите ошибку с текстом «Error: group admin exists», повторите запуск с ключом —force:
    bash hst-install.sh -l ru -o yes --force
  4. Ответьте на предварительные вопросы установщика
    Начать ли установку:
    Would you like to continue with the installation? [Y/N]: Y

    Введите адрес администратора. На него придут данные для доступа в панель, когда установка завершится.

    Please enter admin email address: your@email.com

    Введите hostname бокса (например, домен, который планируете разместить):

    Please enter FQDN hostname [box-101187]: yourdomain.ru

    После завершения установки ПУ покажет данные для входа:

    Admin URL: https://IP_БОКСА:8083
    Username: admin
    Password: wMDfGxVC45wIjB6hb
  5. И предложит перезапустить бокс, сделайте это:
    Do you want to reboot now? [Y/N] Y

Если вдруг не запишете или забудете пароль — его всегда можно будет задать заново командой v-change-user-password:

v-change-user-password admin новыйпароль

Базовые операции

Интерфейс панели делится на 4 основные части:

  • небольшая строка заголовка с информацией о панели, ее настройках, ссылки на документацию;
  • меню для перехода в разделы управления сайтами, почтой, базами данных;
  • строка операций — в ней показываются кнопки действий (добавить что-то, сохранить изменения) и возврата в предыдущее меню;
  • основная рабочая зона.

Панель частично поддерживает русский язык: интерфейс переведен не полностью, но того, что есть, хватает для удобной работы с панелью. Если вы не указали ключ -l при установке, язык можно поменять в настройках панели. Нажмите на иконку редактирования профиля (в левом верхнем углу), пролистайте до выпадающего меню «Language» и выберите в нем русский язык. Сохраните изменения кнопкой «Save» в правой части строки операций.

Работа с файлами

Панель предлагает свой файловый менеджер, переход в него — по кнопке «Файлы» в верхнем меню. С его помощью можно загружать, редактировать, перемещать, удалять файлы, распаковывать и создавать архивы. Корневая директория для каждого сайта размещена по пути ~/web/имя_домена/public_html

Работа с базами данных

Управлять базами данных можно в одноименном разделе — DВ.

Для создания базы данных нажмите «Добавить БД». Панель предложит заполнить поля:

  • База данных — имя базы данных. К введенному значению автоматически добавится префикс admin_
  • Аккаунт
  • Пароль — можно ввести вручную или сгенерировать
  • Остальное можно не трогать

Сохраните изменения кнопкой в правой части строки операций.

Работать с содержимым базы можно в phpMyAdmin, кнопка для входа в этом же разделе, также доступен по прямой ссылке — http://IP_БОКСА/phpmyadmin/ Если ссылка с IP-адресом не работает — используйте вместо него первый добавленный в панели домен.

Для входа нужны будут имя пользователя базы и его пароль.

Если вы хотите подключаться к базе данных удаленно, например, со своего компьютера, разрешите соединения на 3306 порт в файрволе панели и отредактируйте файл /etc/mysql/mariadb.conf.d/50-server.cnf, заменив значение в строке bind-address на 0.0.0.0.

Установка CMS

Панель предлагает возможность установить несколько CMS на сайт в пару кликов:

  • WordPress
  • Opencart
  • PrestaShop
  • Laravel
  • Symfony

Для установки перейдите в раздел «Web», кликните на имя домена, нажмите «Установить приложение» в правой колонке. Под именем нужной CMS нажмите «Настроить»

Если в директории сайта есть другие файлы — их нужно удалить: панель не очищает корневую директорию сама.

Для установки нужно будет заполнить ряд полей (на примере WordPress):

  • придумать имя и описание сайта
  • будущие логин, e-mail и пароль администратора сайта
  • данные для подключения к базе данных (можно отметить чекбокс «Database Create», и панель сама создаст базу данных)

Заполнив все поля, нажмите кнопку «Установить» в правой колонке.

Работа с почтой

По умолчанию панель не добавляет домен для почты, поэтому сначала надо его создать, нажав «Добавить домен». Введите имя домена, отметьте или уберите отметки с пунктов «Антиспам», «Антивирус», DKIM.

Чтобы создать ящики, перейдите к домену и нажмите «Добавить аккаунт». Заполните поля:

  • Аккаунт — имя ящика
  • Пароль

Можно сохранить аккаунт уже сейчас, а можно развернуть дополнительные опции:

  • Квота — если ее превысить, новые письма перестанут поступать
  • Алиасы — имена, которые привяжутся к этому же ящику
  • Пересылка — можно настроить, на какой ящик перенаправлять письма

Подключиться к ящику можно с помощью любого почтового клиента:

  • В качестве имени сервера указывайте ваш домен
  • Порты стандартные — 110 для POP3, 143 для IMAP, 25 для SMTP
  • Именем пользователя будет само имя ящика, без домена (info, а не info@domain.ru)

Можно пользоваться и веб-интерфейсом по адресу webmail.domain.ru, заменив domain.ru на ваш домен. Для этого нужно добавить A-запись для поддомена webmail на тех NS-серверах, куда делегирован домен, и подождать обновления кеша DNS.

SSL-cертификаты

SSL-сертификат на сайт можно установить в разделе WEB. Доступны к установке сертификаты Let’s Encrypt и собственные, самоподписной сертификат установить нельзя.

Перейдите к имени домена, отметьте чекбокс «Поддержка SSL».

Для установки сертификата Let’s Encrypt отметьте чекбокс «Поддержка Lets Encrypt» и сохраните изменения.

Чтобы установить свой сертификат, вам потребуются его ключ и сам сертификат — запросите их у эмитента и вставьте содержимое файлов в соответствующие поля.

В меню доступны дополнительные опции:

  • Принудительный редирект HTTP-на-HTTPS
  • Включить HTTP Strict Transport Security (HSTS)

Обе позволят сделать так, чтобы сайт открывался только по протоколу HTTPS, с одним отличием: первая будет перенаправлять все запросы на HTTPS, вторая же — отклонять соединения по HTTP, сообщая браузеру, что обращаться к сайту нужно сразу по HTTPS.

FTP-аккаунты

По FTP можно подключаться как с данными основного пользователя панели (admin), так и создать нового пользователя. Добавляются аккаунты из меню домена: WEB → ваш домен → Дополнительный FTP аккаунт. Поля к заполнению: 

  • Аккаунт — имя пользователя, которое нужно придумать. К нему панель автоматически добавит префикс admin_
  • Пароль
  • Путь — определяет, какая наивысшая директория будет доступна пользователю. Можно оставить стандартным, можно поменять

Cron

Заданиями можно управлять в разделе CRON.

Чтобы создать новое — нажмите «Добавить задание». На открывшейся странице введите само задание и укажите время выполнения. Можно задать интервал классически — указав значения в формате crontab, а можно выбрать нужное время запуска с помощью окна справа.

Бекапы

По умолчанию Hestia дает создавать один бекап — следующий заменит при создании уже существующий. В бекапе хранятся:

  • настройки доменов
  • файлы и базы данных
  • почта
  • задания Cron

Настроить количество бекапов можно в разделе «User», нажав «Пакеты» в строке состояния. Перейдите к самому пакету — default, пролистайте вниз до поля «Резервные копии», укажите в нем нужное количество бекапов, сохраните изменения.

Путь хранения бекапа можно изменить, например, сделав так, чтобы бекап сохранялся на отдельном диске Ice Storage. Для этого перейдите в настройки сервисов (шестеренка в верхнем меню), нажмите «Настроить» в строке операций, перейдите к строке «Резервные копии».

Также бекапы создаются автоматически. В отличие от бекапов машины, которые делаем мы, автоматические бекапы панели Hestia не отличаются от ручных ничем: под них не выделяется отдельного слота, и автоматический бекап может заменить ручной. По умолчанию создаются в 05:10, время можно изменить, отредактировав задание sudo /usr/local/hestia/bin/v-backup-users в настройках Cron. 

Настройки сервисов

Для их редактирования нажмите на шестеренку в верхнем меню или перейдите по ссылке https://IP_БОКСА:8083/list/server/

Здесь доступны:

  • настройки виртуальной машины и панели в целом, кнопка «Настроить» в строке операций
  • настройки отдельных сервисов — открываются по нажатию на название сервиса
  • файрвол — одноименная кнопка в строке операций

Настройки сервисов панель предлагает редактировать в двух режимах:

  • Базовый. Предлагает несколько настроек в виде форм, в которые можно вносить значения — панель сама преобразует их в нужный для конфигурационного файла вид
  • Расширенный. Можно редактировать конфигурационный файл сервиса напрямую. Перед сохранением панель проверит, допущены ли синтаксические ошибки и не даст сохранить файл при их наличии.

Несколько версий PHP

Чтобы установить несколько версий PHP, перейдите в настройки сервисов (шестеренка в верхнем меню), нажмите «Настроить» в строке операций, разверните строку Web Server. Отметьте галочками нужные версии, сохраните изменения.

Выбранные версии будут установлены на сервер — дождитесь завершения установки и не перезагружайте страницу.

Дальше нужно выбрать версию PHP для домена. Перейдите в меню WEB, нажмите на домен, в выпадающем списке «Шаблон Backend» выберите нужную версию, сохраните изменения.

Изменение параметров PHP

Настройки PHP меняются сразу для всех версий. Перейдите в настройки сервисов (шестеренка в верхнем меню), нажмите на название службы (php-fpm). Можно изменить как базовые настройки, отредактировав значения в формах, так и перейти к правке конфигурационного файла. Панель проверит введенные значения и не даст сохранить изменения, если допущены синтаксические ошибки.

Файрвол

Для фильтрации запросов к боксу можно воспользоваться файрволом в панели управления боксами: он работает снаружи виртуальной машины и не тратит ее ресурсы для работы.

Можно настроить файрвол и внутри бокса. Перейдите в настройки сервисов (шестеренка в верхнем меню), далее в раздел «Файрвол» в строке операций. Или по прямой ссылке https://IP_БОКСА:8083/list/firewall/

В разделе можно редактировать, добавлять и удалять правила для входящих соединений.

У формы создания и редактирования правила есть пять полей:

  • Действие: можно выбрать DROP (запретить соединение) или ACCEPT (разрешить).
  • Протокол: TCP или UDP.
  • Порт: можно указать один, перечислить несколько или задать диапазон.
  • IP-адрес: можно задать маской. Чтобы указать все возможные адреса — внесите в поле значение 0.0.0.0/0
  • Комментарий: необязательное поле, пригодится, чтобы легко выделить правило среди других.

Документация панели

  • Официальный сайт
  • Документация
  • Известные баги

Понравилась статья? Поделить с друзьями:
  • Error grand theft auto 4 was not detected please make sure that
  • Error gradle project sync failed please fix your project and try again
  • Error grabbing logs unexpected eof
  • Error gpu pci device id mismatch
  • Error gpu mismatch nvflash