Error user admin exists

При запуске установщика vst-install.sh выдается ошибка "user admin exists". Ставлю впервые. ОС: Debian 7.8 Такое ощущение, что происходит конфликт пользователей из-за установленной надстройки OpenMediaVault - пакет для превращения сервера в NAS. Конфигурирование надстройки происходит через web-интерфейс, доступ к которому происходит из под пользователя admin. Каких-либо настроек сменить имя пользователя нет. Что можнj сделать?

Max_migal

Posts: 2
Joined: Wed Feb 03, 2016 5:46 pm

При установке выдается ошибка «User admin exists»

При запуске установщика vst-install.sh выдается ошибка «user admin exists». Ставлю впервые.
ОС: Debian 7.8
Такое ощущение, что происходит конфликт пользователей из-за установленной надстройки OpenMediaVault — пакет для превращения сервера в NAS. Конфигурирование надстройки происходит через web-интерфейс, доступ к которому происходит из под пользователя admin. Каких-либо настроек сменить имя пользователя нет.
Что можнj сделать?


skurudo

VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: При установке выдается ошибка «User admin exists»

Post

by skurudo » Wed Feb 03, 2016 6:04 pm

Удалить пользователя admin ?

Вообще не сказать, что после OMV система чистая )
Ставить на такую систему панель может быть проблематично — там же еще ssh / ftp / какой-то вебсервис — где-то да выплывут конфликты и-или использование одних и тех же портов-служб.


imperio

VestaCP Team
Posts: 6987
Joined: Sat Dec 01, 2012 12:37 pm
Contact:

Re: При установке выдается ошибка «User admin exists»

Post

by imperio » Wed Feb 03, 2016 6:04 pm

Сначала удалите пользователя admin, далее повторите установку.


skurudo

VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: При установке выдается ошибка «User admin exists»

Post

by skurudo » Wed Feb 03, 2016 6:08 pm

imperio wrote:Сначала удалите пользователя admin, далее повторите установку.

Опасное советуешь, коллега! Стоит посмотреть, что точно ставит openmediavault сначала — есть подозрения, что там апач идет и фтп-сервер еще. Лучше все-таки на чистую систему ставить — меньше будет проблем.


Max_migal

Posts: 2
Joined: Wed Feb 03, 2016 5:46 pm

Re: При установке выдается ошибка «User admin exists»

Post

by Max_migal » Thu Feb 04, 2016 9:15 am

Ну удалю я admin. Слетит на фиг мой OpenMediaVault… OMV раньше ставился на апач, сейчас — на nginx. И через его плагины тоже можно сайты организовывать, но самый минимум опций. Поэтому посоветовали VestaCP поставить. Видимо, придется отказаться от установки из-за конфликта :(

Надо установщик VestaCP допилить, чтобы разрешал установку с существующим пользователем admin (при условии ввода правильного пароля).


skurudo

VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:

Re: При установке выдается ошибка «User admin exists»

Post

by skurudo » Thu Feb 04, 2016 9:29 am

Max_migal wrote:Ну удалю я admin. Слетит на фиг мой OpenMediaVault… OMV раньше ставился на апач, сейчас — на nginx. И через его плагины тоже можно сайты организовывать, но самый минимум опций. Поэтому посоветовали VestaCP поставить. Видимо, придется отказаться от установки из-за конфликта :( Надо установщик VestaCP допилить, чтобы разрешал установку с существующим пользователем admin (при условии ввода правильного пароля).

Допилить не сложно — достаточно убрать проверку пользователя admin — vst-install.sh
Вот здесь закоментировать или убрать:

Code: Select all

# 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

Но! nginx все одно будет ставиться и будет конфликт по 80 порту, но здесь есть вариант использовать кастомную установку с apache2 только к примеру (апачу дать другой порт после установки), а проксирование прописать отдельно в nginx, который поставился от OMV.

Так что варианты есть, но ручная работа потребуется.



Содержание

  1. Vesta Control Panel — Forum
  2. При установке выдается ошибка «User admin exists»
  3. Vesta Control Panel — Forum
  4. Error Restoring Backup
  5. Ошибки отправки писем с сервера на gmail.com почты
  6. не ставится Vestacp изза бич пакетов
  7. Hestia — проблемы установки
  8. Vesta мертва?
  9. VestaCP. Apache2 тормозит работу всего сервера.
  10. Из Cron работает, а из bash нет.
  11. Vesta — сломались зависимости в дебиане
  12. Bash скрипт — последовательное выполнение
  13. Vesta cron бэкап в Mega
  14. Не отрабатывает скрипт через Cron
  15. Нужно ли переходить с версии MySQL 5.7.28-0ubuntu0.16.04.2
  16. Помогите разобраться с fail2ban
  17. Error: Let’s Encrypt validation status 400
  18. Error user admin exists
  19. Answered by:
  20. Question
  21. Error user admin exists
  22. 1. Suppose you are trying to add a user named «leojiang» and you get the following error.
  23. 2. Investigate, first check whether the user leojiang exists on the system
  24. 3. Run the getent command to obtain it from the Name Service Switch
  25. 4. Let’s find it, dig into the name service switch library configuration file.
  26. 5. Solutions

Vesta Control Panel — Forum

При установке выдается ошибка «User admin exists»

При установке выдается ошибка «User admin exists»

Post by Max_migal » Wed Feb 03, 2016 5:57 pm

Re: При установке выдается ошибка «User admin exists»

Post by skurudo » Wed Feb 03, 2016 6:04 pm

Удалить пользователя admin ?

Вообще не сказать, что после OMV система чистая )
Ставить на такую систему панель может быть проблематично — там же еще ssh / ftp / какой-то вебсервис — где-то да выплывут конфликты и-или использование одних и тех же портов-служб.

Re: При установке выдается ошибка «User admin exists»

Post by imperio » Wed Feb 03, 2016 6:04 pm

Re: При установке выдается ошибка «User admin exists»

Post by skurudo » Wed Feb 03, 2016 6:08 pm

Re: При установке выдается ошибка «User admin exists»

Post by Max_migal » Thu Feb 04, 2016 9:15 am

Ну удалю я admin. Слетит на фиг мой OpenMediaVault. OMV раньше ставился на апач, сейчас — на nginx. И через его плагины тоже можно сайты организовывать, но самый минимум опций. Поэтому посоветовали VestaCP поставить. Видимо, придется отказаться от установки из-за конфликта 🙁

Надо установщик VestaCP допилить, чтобы разрешал установку с существующим пользователем admin (при условии ввода правильного пароля).

Re: При установке выдается ошибка «User admin exists»

Post by skurudo » Thu Feb 04, 2016 9:29 am

Но! nginx все одно будет ставиться и будет конфликт по 80 порту, но здесь есть вариант использовать кастомную установку с apache2 только к примеру (апачу дать другой порт после установки), а проксирование прописать отдельно в nginx, который поставился от OMV.

Так что варианты есть, но ручная работа потребуется.

Источник

Vesta Control Panel — Forum

Error Restoring Backup

Error Restoring Backup

Post by vectorman » Mon Feb 13, 2017 9:40 am

I recently upgraded my server to Ubuntu 16.04 LTS (64-bit)

I’m trying to restore my backup like this:

Using latest VestaCP (0.9.8)

Edit: I think I posted this in the wrong section. If so, feel free to move it to the CLI section.

Re: Error Restoring Backup

Post by mehargags » Mon Feb 13, 2017 11:11 am

unfortunately this happens because of different gzip compression algorithms used between different software/OS versions. to the best of my guess and as skurudo also said in other threads.

there is no simple way to fix this, you’ll need to «Extract» the backup archive and restore files one by one.

If the number of domains is many, you can script the User/Domain creation using CLI and then move the site folders in appropriate place, then restoring DBs.

Re: Error Restoring Backup

Post by tjebbeke » Mon Feb 13, 2017 11:53 am

Can you try this command:

sudo bash /usr/local/vesta/bin/v-restore-user admin admin.2017-02-13.tar

Re: Error Restoring Backup

Post by vectorman » Mon Feb 13, 2017 12:46 pm

tjebbeke wrote: Can you try this command:

sudo bash /usr/local/vesta/bin/v-restore-user admin admin.2017-02-13.tar

Re: Error Restoring Backup

Post by vectorman » Tue Feb 14, 2017 3:15 am

Sort of like it thinks the file exists (even though it doesn’t).

It appears that the command is having trouble «finding» the backup file, no matter what I do.

Источник

Ошибки отправки писем с сервера на gmail.com почты

Ребят всех с праздником вас! Здоровья и бабла)

Такой вопрос, у меня сервер на debian 8, пу Vesta, ip зарубежный, меняю уже третий раз, когда первый ip стоял по началу таких ошибок не было, а потом стали, поэтому стал менять на сервере ip, но понял, что толку нет, я не ас в этом деле, поэтому хз, что это за ошибки и как их исправить, но в пошаговом обьяснении смогу сделать.

Проблема в том, что на скрине лог, не идут письма людям на gmail.com почтовые адреса, (у меня не флуд рассылка массовая, прост отправка одного письма с данными и не так часто) В переводчике понял, что бан как будто gamil.com даёт на мой ип, типа за спам, но, что это конкретно и как исправить это хз, буду очень благодарен за помощь вашу!

Гуглил на счёт этого, но везде разные решения пишут и у всех немного разные ошибки, чтоб не потратить время зря, хотелось бы совета от тех кто шарит, чтоб решить проблему актуальным методом) Скрин https://cdn-149.anonfiles.com/dcE6M9Jfx … (3752).png

не ставится Vestacp изза бич пакетов

как исправить?
centos 7

Ошибка: Пакет: phpMyAdmin-5.1.0

rc2-1.el7.remi.noarch (remi-test)
Необходимо: php-symfony4-config >= 4.4.9
Доступно: php-symfony4-config-4.1.13-1.el7.remi.noarch (remi)
php-symfony4-config = 4.1.13-1.el7.remi
Доступно: php-symfony4-config-4.1.13-2.el7.remi.noarch (remi)
php-symfony4-config = 4.1.13-2.el7.remi
Ошибка: Пакет: phpMyAdmin-5.1.0

rc2-1.el7.remi.noarch (remi-test)
Необходимо: php-symfony4-expression-language >= 4.4.9
Доступно: php-symfony4-expression-language-4.1.13-1.el7.remi.noarch (remi)
php-symfony4-expression-language = 4.1.13-1.el7.remi
Установка: php-symfony4-expression-language-4.1.13-2.el7.remi.noarch (remi)
php-symfony4-expression-language = 4.1.13-2.el7.remi
Ошибка: Пакет: phpMyAdmin-5.1.0

rc2-1.el7.remi.noarch (remi-test)
Необходимо: php-symfony4-dependency-injection >= 4.4.9
Доступно: php-symfony4-dependency-injection-4.1.13-1.el7.remi.noarch (remi)
php-symfony4-dependency-injection = 4.1.13-1.el7.remi
Доступно: php-symfony4-dependency-injection-4.1.13-2.el7.remi.noarch (remi)
php-symfony4-dependency-injection = 4.1.13-2.el7.remi
Ошибка: Пакет: phpMyAdmin-5.1.0

rc2-1.el7.remi.noarch (remi-test)
Необходимо: php-symfony4-expression-language >= 4.4.9
Доступно: php-symfony4-expression-language-4.1.13-1.el7.remi.noarch (remi)
php-symfony4-expression-language = 4.1.13-1.el7.remi
Доступно: php-symfony4-expression-language-4.1.13-2.el7.remi.noarch (remi)
php-symfony4-expression-language = 4.1.13-2.el7.remi
Вы можете попробовать —skip-broken чтобы обойти проблему
Вы можете попробовать запустить: rpm -Va —nofiles —nodigest

Hestia — проблемы установки

Добрый вечер.
после установки не открывается веб-интерфейс. Долго думает.
в логах мускула такое

сама панель в инстал логе пишет, что установилась успешно
Congratulations!

You have successfully installed Hestia Control Panel on your server.

Vesta мертва?

толком не ставится на все deb-деривативы.
какой форк жив?

VestaCP. Apache2 тормозит работу всего сервера.

Здравствуйте, у меня есть сервер на Ubuntu 16.04 c Vesta CP. В последнее время мой сервер постоянно зависает, потому что Apache2 берет на себя все ресурсы процессора. Перезагрузка Apache2 с панели не помогает, проблема временно решается только при полной перезагрузке сервера. На самом сервере всего 4 простых WordPress сайта, и практически никто не посещает их. mod_status просто не удаётся посмотреть из-за такой большой нагрузки. Пробовал также поочередно отключать все сайты и менять различные Web Template APACHE2.

Из Cron работает, а из bash нет.

Здравствуйте! Есть странная проблема: в панели Vesta в Cron для бэкапов используется команда

Команда отрабатывает без проблем. Но если мы делаем файл, например backup_file, внутри него прописываем этот же самый код и запускаем файл из командной строки/из Cron/под разными пользователями:

То не происходит ничего, как будто команды нет. Причем другие команды в этом же файле считываются, а эта игнорируется. Кто догадывается, в чем проблема?

Vesta — сломались зависимости в дебиане

Добрый день.
debian 9.
Ставлю веста скриптом с сайта:

exim4-daemon-heavy : Depends: libmariadbclient18 (>= 10.1.44-0+deb9u1) but 10.1.41-0+deb9u1 is to be installed

aptitude Как-бы решает Эту проблему, но тупой скрипт опять пытается установить и опять натыкается на эту зависимость

Bash скрипт — последовательное выполнение

Здравствуйте! Есть скрипт на bash для панели Vesta. Сначала делаем бэкап файлов для всех пользователей командой:

Далее происходят команды передачи в облако. Но получается, что бэкап создать не успевает, перескакивает на команду передачи, а передавать нечего. Как сделать, чтобы все следующие команды выполнялись после полного выполнения команды длительного создания бэкапов? Пробовал в конце строки символы ; и &, &&. Не помогло.

Vesta cron бэкап в Mega

Centos 7 + Vesta.
Есть программа для linux megacmd.

Если запускать от root, то команды бэкапа выглядят примерно так:

#зашли в мегу
mega-login login@gmail.com Password
#отправим архив
mega-put /home/backup/backup_full/*tar.gz -c /Full_backups/
#разлогинимся
mega-logout
#удалим файл
rm -rf /home/backup/backup_full/*tar.gz

Но мне нужно, чтобы скрипт добавлялся в cron панели vesta, а там задачи выполняются от admin. Поэтому когда от admin запускаешь команды — выдает:

Another instance of Megacmd Server is running.

В идеале должно работать так:

  1. Создается бэкап системой vesta.
  2. Выгружается в мегу.
  3. Удаляется последний бэкап.

А я уже в cron весты могу настроить цикличность данного процесса.

  1. Как мне из cron от admin запускать такого рода скрипт?
  2. Могу ли я в vesta при создании бэкапа в конце скрипта после создания дописать отправку на mega и удаление бэкапа?

Благодарю за внимание!

Не отрабатывает скрипт через Cron

Здравствуйте, уважаемые коллеги! Может быть, кто-то сможет подсказать? Есть CentOS 7.7 + Vesta CP.

Написан простейший скриптик для проверки сайтов на вирусы: d=«$(date +»%d-%m-%Y %H:%M»)» mkdir «/home/admin/ai-bolit/reports/one_report/$d» php /home/admin/ai-bolit/ai-bolit.php –size=10000K –mode=2 –quarantine –path=/home/admin/ –report=/home/admin/ai-bolit/reports/one_report/«$d»/Full_Report_«$d».html

При запуске от root из консоли: sh /home/admin/ai-bolit/check_all/check_one_report.sh Все отрабатывает на ура.

Но при добавлении в cron sh /home/admin/ai-bolit/check_all/check_one_report.sh

Создается только папка вида «28-02-2020 21:18» и все. Причем в папку зайти не получается. (В файл-менеджере папка есть, но при открытии выдает ошибку — Directory /home/admin/ai-bolit/reports/one_report/28-02-2020 21:18: no such file or directory)

Права на сам скрипт admin:admin, 755. Пробовал также вместо sh: bash, sudo, sudo root — бесполезно.

Тут в самом sh скрипте еще встроенный php скрипт.

Кто знает, в чем может быть проблема?

Нужно ли переходить с версии MySQL 5.7.28-0ubuntu0.16.04.2

Имеем сабжевую версию мускуля.

Говорят новые MariaDB намного стабильнее и быстрее.

На сервере работает VestaCP, как обновить mysql так чтобы она ничего не заметила и возможно ли такое?

В общем я пока гуглю, а тут хотел послушать спецов, насколько замена СУБД прозрачна в этом случае?

Помогите разобраться с fail2ban

В общем сервер стал в течении нескольких часов уходить в ступор.

Оживает, нагрузка на проц в момент ступора минимальная

В общем что может быть не так?

Кроме того сервер управляется хостинг панелью vectacp

Конкретные проблемы которые возникают:

* не удается подключиться по ssh, или на это уходит много времени (2-3 минуты)

* не открываются сайты, или на это уходит неприлично много времени

Error: Let’s Encrypt validation status 400

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

Источник

Error user 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?

Источник

Error user admin exists

A user leojiang needs to be created on Centos7, and the user time is not purely on the system, but an error is still reported that the user already exists.

1. Suppose you are trying to add a user named «leojiang» and you get the following error.

2. Investigate, first check whether the user leojiang exists on the system

The /etc/shadow file is used to store the password information of users in the Linux system, also known as the «shadow file».

Only the root user has the read permission of the /etc/shadow file, and other users have no permission, which ensures the security of the user’s password.

No result is returned, which means that the user is not in the password file

3. Run the getent command to obtain it from the Name Service Switch

The getent command can be used to view related records in the system’s database

You can see that this user already exists somewhere in the Name Service Switch repository. Notice anything unusual in the second column of the output? Replacing the x with * makes it clear that the user’s password is not stored in the /etc/shadow file.

4. Let’s find it, dig into the name service switch library configuration file.

First understand what is sssd:

sssd is a software to replace ldap and AD. The ldap client deploys sssd to enable ldap authentication.

/etc/nsswitch.conf to tell the name service switch where to look to serve logged in users.

files sss means to search for /etc/passwd, /etc/group and other files first, if not, then search for the sss module.

With sss mentioned above, the NSS library is instructed to search for users in LDAP (sss is configured as an LDAP client). Now it’s clear that the user leojiang exists in LDAP, that’s why you can’t create the same user in the system.

5. Solutions

Now we have found the root cause of the problem. Now you can do one of the following to fix the problem:

5.1. Delete a user from the ldap server.

5.2. Remove the ldap reference from the /etc/nsswitch.conf file so that the NSS library does not look for users in the ldap server.

5.3. Leave the user as is in ldap, but create the same user in the system! Let me explain how we do it.

5.4. Close the sssd ladp client service, then you can create a user, and then start sssd after the creation is complete

In some cases, you still need to create a system user even if the same username exists in ldap. Yes, we can do it using the luuseradd command.

Note: CentOS/Redhat have this command installed by default. If you can’t find it, try installing it using the command above.

Источник

  • Печать

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

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

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]   Вверх

My main reason releasing this blog was to help people who want to use VPS while saving some bucks by avoiding cPanel usage so I posted many tutorials to install either LAMP or LNMP on VPS with no control panel at all. But then I started to rethink of that and decided to also write tutorials about installing and using free control panel on a VPS as an alternative to cPanel.

For that, I posted about how to install zPanel and ServerPilot. But then few weeks ago I found Vesta CP, a Russian-made free hosting control panel with a bunch of awesomeness. Lets say with zPanel you’ll get necessary software set up including Apache, PHP5, MYSQL, PHPMyAdmin, FTP, Mail server and DNS. Vesta CP comes with whole new awesomeness, it has almost all zPanel features plus Nginx and Varnish Cache out of the box.

About Vesta Control Panel

Vesta is an open source hosting control panel currently supports both RHEL flavoured Linux releases (Red Hat, CentOS) and Ubuntu LTS 12.04 and Ubuntu 13.04. It comes with all necessary software to run and manage your websites hosted on your VPS, including:

– Web Server (Apache with Nginx as Reverse Proxy)
– DNS server
– Database Server
– Mail Server
– FTP Server
– Nginx out of the box
– SSL certificates & SNI
– Wildcard support
– Configuration Templates
– DKIM support
– Fast Backups
– System Monitoring
– AntiSpam / Antivirus
– WHMCS billing support
– EPEL integration
– Simple and Clean GUI
– Powerfull CLI
– Reliable Platform
– Open Data Format

How to Install Vesta CP

Vesta CP works on RedHat, CentOS and Ubuntu but in today’s guide I will show you how to get it installed on CentOS 6.5. Here’s my inventory:

A VPS on DigitalOcean, I created a New York droplet with 512MB of RAM, 20GB SSD, 1TB Bandwidth and I select CentOS 6.5 64-bit.

image

What I like from DigitalOcean is its painless process of creating a VPS. I’ve told you that before.

create droplet

So now the VPS is ready, lets start installing VestaCP.

Step 1 – First, login to your server’s shell via SSH as root, as always, for this task I use putty.

ssh

Step 2 – Next, download VestaCP installation script using curl command:

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

download-vestacp

Step 3 – Next, issue this magic command to start installing VestaCP:

bash vst-install.sh

pic:

install vesta cp

Step 4 – The installer asks to confirm disabling SELinux and start the install process. Type Y and hit Enter.

Step 5 – The installer also asks to enter valid email address. So type your valid email address and double-check it to make sure your email is correct because VestaCP will also send your admin password there.

install vestacp

Step 6 – Once you hit Enter on your keyboard, the installer starts. Sit tight and wait for the installer to process and finish its job.

Step 7 – As long as you found no fatal error, the installer should finish quicker and you will see something like this on your screen:

vestacp-done

You can also check your mailbox just to ensure the password is delivered and mail server (Exim) works properly on your server.

2013-12-23_171316

Step 8 – Now open up your favorite browser and login to VestaCP web-based UI using your VPS IP at port 8083.

https://xxx.xxx.xxx.xxx:2083/

Login as admin and use given password,

As you may also aware that the link is https:// which means via secure connection (SSL) so you may have to add / confirm exception on your browser.

vestacp login

Voila! You should now see the main UI of Vesta hosting control panel.

vesta cp main ui

*click on image to view larger size.

Congratulation! You now have Vesta CP installed and a ready-to-use VPS to host all your websites.

What’s next?

I can say that’s it for now. Upcoming: Basic Vesta CP Setup, How to add your first domain / website on VestaCP, using Nginx and Varnish Cache on VestaCP, setting up EXIM4 to use TLS, etc. I can’t promise you when will I write next article but stay tuned.

Part 2: Basic Vesta CP Setup

Part 3: How to Add New Website on Vesta CP.

About The Author

sawiyati

Hi! I’m Sawiyati, founder of this blog. I am a mom with passion about blogging and everything techy. Having no offline job, so I decided to start blogging while learning what I love for. You can find me at Google+ or Twitter.


This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters

Show hidden characters

#!/bin/bash
# Vesta installation wrapper
# http://vestacp.com
#
# Currently Supported Operating Systems:
#
# RHEL 5, 6, 7
# CentOS 5, 6, 7
# Debian 7, 8
# Ubuntu 12.04 — 18.04
# Amazon Linux 2017
#
# 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 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 group
if [ ! -z «$(grep ^admin: /etc/group)« ] && [ -z «$1« ]; then
echo «Error: group admin exists«
echo
echo Please remove admin group 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« ;;
Amazon) type=«amazon« ;;
*) 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

Понравилась статья? Поделить с друзьями:
  • Error useosallocators option could not be applied because the game has already initialized
  • Error use of undeclared identifier true
  • Error use of undeclared identifier strlen
  • Error use of undeclared identifier std
  • Error using horzcat dimensions of arrays being concatenated are not consistent