Neos on Managed Flex Servers

Getting started in the Control Panel

First create the website you want in the Control Panel by clicking on "Services" at the top, then click on "Open" for your hosting and click on "Websites" on the left. Once here, you would need to click on the blue button "Create a website" and set the following settings:

  1. Select or type in a domain. -> Select the desired domain here
  2. Which basic setting do you want to use for your-own-domain.ch? -> Select "Apache with PHP (recommended)".
  3. In which directory will the data for your new website be stored? -> Add "/Neos/Web/" to the existing entry. The entry should finally look like "www/your-own-domain.ch/Neos/Web/".
  4. Then click on "Create website".

Next, you need to create a database. To do this, click on "Databases" on the left and then on the blue button "Create database". Here you can now give the database a name and create a new database user with password in the following steps. As soon as the database has been created, you will see all relevant data except the password in the overview. Make a note of this information, as it will be needed in the last step "Completing the installation in the browser".

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