Neos on Managed Flex Servers

Getting started in the Control Panel

First, create a website for the desired domain. To do this, go to “Websites” and click the blue “Create website” button. Enter the name of the domain in the field “Select or enter a domain”. Click “Next” to automatically create the document root (www/your-own-domain-ch). Add /Neos/Web/ to the document root. Then create the website and you will see the document root again in blue in the overview (www/your-own-domain.ch/Neos/Web/)

Now create a new database for this website. Under “Databases”, click the blue button “Create database” and give the database a name. Next, create a new database user for this database and also assign it a name. Select a password for this user and remember this password. Once the database is created, you will see all the relevant details in the overview.

First steps: Install Composer

Connect to your server via SSH.

Because Composer is required for the installation of Neos, you must install it first. We recommend installing Composer in the ~/app/composer/ directory. Create this directory and navigate to this path:

mkdir ~/app/composer
cd ~/app/composer

Now download Composer:

curl -sS https://getcomposer.org/installer | php

Rename the composer.phar file just created to composer:

mv composer.phar composer

So that Composer can be used from anywhere, add it to your .profile file and load it:

echo 'export PATH="$HOME/app/composer:$PATH"' >> ~/.profile
source ~/.profile

You should now be able to find Composer with the which command:

which composer
/home/user/app/composer/composer

Installing Neos from the shell

Now go to the directory where you want to install Neos:

cd ~/www/your-own-domain.ch/

and delete the existing “Neos” folder. This folder is created automatically by the Control Panel but must first be removed to complete the installation. It is created again automatically during the installation.

rm -rf Neos/

Install Neos using Composer:

composer create-project neos/neos-base-distribution Neos

You can ignore the “Class Neos\Flow\Composer\InstallerScripts is not autoloadable, cannot call post-package-install script” messages, which will appear until the flow package has been installed.

Completing the installation in the browser

To complete the installation, open the setup from your browser by navigating to your-own-domain-ch/setup.

As soon as the setup is complete, you must enter the password, which can be found in the following file: .Data/SetupPassword.txt

Next, follow the individual steps in Neos.

In the database configuration, enter the details you noted at the beginning for the DB username, DB password and DB host. After establishing the connection, select the previously created database from the drop-down menu.

Then create the desired admin account so that you can log in later via your-own-domain.ch/neos.

In the final step, you can select whether or not Neos should use a demo page.

The Neos installation will now be finished and you can get started.

 

Unable to find what you were looking for?

Our support experts are happy to assist you personally!

 

© 2001 - Hostpoint AG