Установка Winter CMS

Веб-установщик Winter Cms – это самый простой и быстрый способ распокавать и запустить проект на виртуальном хостинге или сервере. Просто загрузите архив в директорию сайта и откройте страницу установки. Следуйте простым инструкциям для настройки Winter CMS.

Установка через Composer
Для опытных пользователей с точными настройками
У вас есть полный контроль над установкой, что позволяет настроить систему, сразу загрузить необходимые плагины и темы и даже использовать автоматизированные инструменты для оптимизации настройки и развертывания разработки.
Получить все необходимые исходные файлы для установки Winter CMS можно через следующую команду:
Installing Winter CMS with LAMP Stack on Ubuntu 21.10

Winter is a free, open-source content management system based on the Laravel PHP framework. Developers and agencies all around the world rely upon Winter for its quick prototyping and development, safe and secure codebase, and dedication to simplicity. In this article, we are going to learn how to install Winter CMS on Ubuntu 21.10. So, let’s get started.
Checkout the Winter CMS Project Here .
Get started with $5 VPS from CrownCloud. Check our latest offers : CrownCloud VPS [ 24×7 In-House Customer Support ].
Pre-requisites :
- A system with Ubuntu 21.10 installed and running.
- root access to the system.
- LAMP Stack installed and running, for this, you can refer to one of our guides on installing the LAMP Stack (Apache, MariaDB, and PHP).
Once you’re all set, we’ll proceed with Winter CMS installation and configuration.
Create Database
Let us begin with creating a Database and a user. We will then grant the required privileges to the user so it can interact with the Database.
The above commands will give complete access to the user ccwintercms . We would suggest using a strong and long password.
Configuring Apache vHost
Now, create a new Apache configuration file dev.domainhere.info.conf for Winter CMS with the following command.
Replace dev.domainhere.info with the domain name of your own for all the below code examples:
Now, press i to go to INSERT mode and type in the following lines of codes in the dev.domainhere.info.conf file.
Now make directory for Winter CMS files:
Enable SSL and Rewrite:
Enable http and https ( 80/443 )
To enable http and https connection through the firewall, follow the commands:
Download Winter CMS
Let’s download Winter CMS:
Configuring Winter CMS
Now open the domain name with a /install.html from your browser, this will redirect you to configuring the final parts of the Winter CMS installation.
Replace the dev.domainhere.info with the actual IP or domain configured on the server.
Input the Database details which was configured earlier. Follow the below steps:

Now you have successfully installed Winter CMS with LAMP Stack on Ubuntu 21.10.
Installing Winter CMS with Laravel Sail
Learn how to install Winter CMS with a local Docker environment.
Laravel Sail is a command-line interface for interacting with a local Docker development environment. It helps you get started by automating the process of setting up the web server and database. These instructions teach you how to use Sail and Winter CMS together to get up and running.
Getting started
The instructions to install Sail will differ depending on your operating system. Also a different build URL is used to install Winter CMS. By default this URL only installs the base environment with a MySQL service.
Replace example-app with any directory name and this is where Winter CMS will be installed.
With this different URL in mind, get started by following the specific Laravel guide for your operating system.
Once everything is ready, you are prompted to run these commands to start the web server.
Next, open another console window, navigate to the same directory and run this command to install Winter CMS. The database settings are preconfigured and ready to go.
This command will migrate database and generate a random administrator password.
Установка Winter CMS через Composer
Пошаговая инструкция по установке Winter CMS через менеджер пакетов Composer. Данный способ установки является самым простым и самым быстрым.

Инструкция по установке Winter CMS подразумевает что у вас уже установлен Composer и вы понимаете как ввести команду в консоле.
Так же ваша система должна соответствовать минимальным требованиям.
Название проекта
Это сделано для удобства. Название будет подставлено в консольных командах ниже в инструкции.
Название проекта это будет названием директории (папки) где будут находиться файлы самой Winter CMS.
Установка Winter CMS
В директории (в папке) где будет расположен новый проект запускаем команду:
Composer скачает Winter CMS в директорию где была запущена команда в папку с указанным названием проекта.
Если вы хотите получать все обновления не дожидаясь выпуска нового релиза, вы можете установить так называемую дев-версию:
Установка бэкенда (админки)
Если для проекта нужна админка или база данных, то в консоли переходим в каталог только что установленного приложения где запускаем команду:
Начнётся установка приложения где нужно будет выбрать или указать соответствующие настройки

В процессе установки будут запрошены данные для подключения Базы Данных, поэтому вам нужно будет в ручную создать БД и указать данные для подключения.
Отключить обновления ядра
Если вы используете composer или git для загрузки обновлений в файлы ядра, установите в конфигурации значение true для параметра disableCoreUpdates , чтобы шлюз обновлений не пытался загрузить эти файлы снова как часть процесса обновления приложения.
Плагины и темы всё равно будут загружаться.
Вход в бэкенд
После установки, если вы прозевали сгенерированный системой пароль, то прежде чем зайти в админку, нужно установить пароли. Для этого в консоли вводим команду: