Installation
Uploading the files to cPanel, creating the database, running the installer, moving the storage folder outside the web root.
1. Upload the files
Download the ZIP from My Licences on lcpanel.com. In cPanel open File Manager, go to the folder of your domain (public_html, or the folder of a sub domain), upload the ZIP and extract it there. The files sit directly in that folder - there is no extra top folder inside the ZIP.
AIOSync also works in a sub folder such as example.com/files.
2. Create the database
In cPanel open MySQL Databases: create a database, create a user with a strong password, and add the user to the database with All privileges. Keep the three names at hand.
3. Run the installer
Open your site in the browser. The installer starts by itself and asks for:
- the database name, user and password (host is usually
localhost); - the name of the site;
- the e-mail address and password of the first account, which becomes the administrator.
It checks the requirements, creates the tables and writes config.php. When it has finished you are taken to the sign-in page.
4. The storage folder
By default the blocks are kept in the storage folder inside the site, protected from direct access. On a server where you can, move it outside the web root: create a folder next to public_html, and add this line to config.php:
define('ASY_STORAGE', '/home/youruser/aiosync-storage');
Move the contents of the old storage folder there if files were already uploaded.
5. Afterwards
- Enter your licence key on Admin → Licence (The licence key).
- Set up the cron job (Admin panel and cron).
- Look through Admin → Settings: registration open or closed, the default quota, how long versions and trash are kept.
Updating later
Take a backup of the files and the database, upload the new ZIP over the old files and extract it. config.php and the storage folder are not part of the ZIP, so they stay as they are.