LuckyBX Русский
Start

Quick start

Six steps from an empty server to a working site.

1. Point the domain to the server#

In the domain settings make an A record with the server address. Without it a certificate cannot be issued.

2. Create the site#

luckybx site add shop.example.com --distro business

The command creates folders, a database and settings, downloads the Bitrix distribution and shows the database name and password. The available distributions are listed on the New site page.

3. Go through the Bitrix wizard#

Open the site in a browser. At the database step enter the name, user and password from step two. If you closed the window, this command shows them again:

luckybx site info shop.example.com

You make up the administrator login and password yourself. LuckyBX does not store them.

4. Finish setting up the site#

luckybx site finish shop.example.com

This command turns on the Redis cache, moves Bitrix background jobs to cron, connects the push server and fixes the database structure.

5. Issue a certificate#

luckybx site cert shop.example.com le
luckybx site option shop.example.com https_redirect on

The first command issues a free Let's Encrypt certificate, which renews by itself. The second sends all visitors to https.

6. Turn on backups and notifications#

luckybx backup schedule on 03:30
luckybx notify email admin@example.com

Now a copy of the site is made every night, and the server reports problems by email.

Before opening the site, go through the checklist.

All of this can be done from the menu too. Type luckybx with nothing after it.