SilverStripe Cms on Cloud

1-click AWS Deployment    1-click Azure Deployment 1-click Google Deployment

Overview

Silverstripe is an open source PHP content management system. A developer might want to use it because

  • BSD License – meaning it can be rebranded as your own application
  • Clean Object Oriented code very easy to understand and use – along with extend and customise
  • Simple and powerful template engine making themes very easy to create

It can use most databases, primarily MySQL.It provides a large number of essential features for the development of your website and the day-to-day update of the content of your website.The SilverStripe framwork is built with the user in mind, which makes it user-friendly and easy to use. The most important features for the management of a CMS website feel natural and you will quickly get used to SilverStripe. With the large community of people using the application and the regularly updated blog, you will always find a place to share your thoughts or find help for your project.

How to install SilverStripe manually

To manually Install SilverStripe, follow these steps:

STEP

Download SilverStripe

The first step of the process is to download the latest stable release of the product. You can complete that via the official SilverStripe website. The latest release is located on the top-left corner of the screen. You need to download the framework and the CMS.

Download SilverStripe

STEP

Prepare Files

When you download the package of the script on your local computer, you need to extract it’s contents. We suggest that you extract the files into an empty folder, which will ensure that you will not leave any fild behind. Next, upload the SilverStripe contents to your account on the server. There are two ways of achieving that – using your favorite FTP client or directly using the File Manager service within your cPanel account.

Upload Files

There are two ways of uploading your files to the server – using an FTP client, or uploading directly through your cPanel account > File Manager.

Either way, the important thing is to make sure that all of the files and folders of SilverStripe are properly uploaded to your account and located in the correct directory, where you would like to install the script. For example, if you would like to access your new website directly using your domain, you need to upload the SilverStripe files to the public_html/ directory of your account. However, if your domain name is called example.com and you would like to access your website from a subfolder, such as example.com/silverstripe/, in this case, you will need to create a “silverstripe” folder within the public_html/ directory of your account and then upload the files in it.

STEP

Initiate installation

The next step of the process is to access the location, where you have uploaded your SilverStripe files, through your web browser. In this example, we are assuming that you are installing the script within the public_html/ directory of your account. This way, you need to access example.com/install.php, where example.com is your actual domain name and you need to substitute that. All of the installation steps are listed on a single screen with SilverStripe, but we will review them as a separate steps.

The system will attempt to check if the server meets all of the requirements for the installation of SilverStripe. However, as you have not yet entered the database information for your new website, the system will inform you about that within the Database Configuration section of this step.

Check SilverStripe system requirements

The next step will allow you to enter the details for the database to be used on your new SilverStripe website. You need to set the new database and ensure it is empty and ready for a new installation.

MySQL Configuration

You can create a new database and a user assigned to it via cPanel.

Once you are ready with your database and a user for it, enter the following details on your SilverStripe installation:

  • Database Server – Enter “localhost” without the quotes if the database is stored on the same server as the files of your new installation.
  • Database Username – Enter the user assigned to your database.
  • Database Password – Enter the password for it.
  • Database Name – Enter the database to be used on your new website.

When you are ready, click on the Re-check Requirements button in order to resolve the warning in the previous step.

Database configuration in SilverStripe

Next, you need to set the administrative account for your new SilverStripe website. You will be using that account for the management and development of your new website. The details you need to enter are:

  • Email – The administrative email address you wish to use.
  • Password – The password for your admin account.
  • Default Language – Select the language you would like to use on your new website.

Admin account setup in SilverStripe

You have the option to choose the template for your new website. The Simple template will also include sample data for the new SilverStripe installation. However, if you select the Empty Template option, the installation will be completed with no data on it.

Theme selection during SilverStripe installation

Enable/disable the function to send any information about your website to the SilverStripe development team and click on the Install SilverStripe button to proceed.

Confirm installation in SilverStripe

STEP

Complete the Process

The system will automatically configure your new SilverStripe website as per the information list in the previous chapter.

SilverStripe successful installation

Make sure that you remove the installation files by clicking on the Click Here To Delete Install Files option.

How to create a new page in SilverStripe

By default, SilverStripe comes with 4 predefined pages – Home, About Us, Contact Us, Page not found.To create a new page, follow the steps below.

STEP 1 Log in to your SilverStripe admin area.

To do this, go to www.yourdomain.com/admin, click the “E-mail & Password” tab and enter the email/username and password you defined during the SilverStripe installation.

STEP 2 Once you have logged in your SilverStripe admin area, click the “Create” button and choose a page from the available page templates:

STEP 3 Select “Page” and click the Go button.

STEP4 Let’s call the page “Test page”.

For “Navigation label” we’ll also put “Test page” and for “Content” we’ll put “A test SilverStripe page…”. To save and publish the page, click the “Save & Publish” button:

STEP 5 Go to http://yourdomainname.com/test-page/ and you will see your new page:

ss_image11

 

How to edit users in SilverStripe

We will review the editing of users on a SilverStripe website so you can get a better understanding of the process. We will follow the steps for editing theadministrative user on your website, but the same process can be applied to any user in SilverStripe.The first step of the process is to access the administrative area of your website. Once you do so, locate and click on the Security option from the menu on the left.

Access security menu in SilverStripe

You will see a list of all users on your SilverStripe website. Click on the one that you wish to edit. In our case, this is the Default Admin user.

Edit default admin profile in SilverStripe

Simply edit the details that you wish to change for the user. If you would like to change the password, you can click on the Change Password button.

Edit admin account details in SilverStripe

When you are ready with the changes, click on the Save button below the form.

How to create a new group in SilverStripe

Using this method will allow you to easily assign specific roles to each of the users separately. To create a new group, you need to access the administrative area of your website. Click on the Security option from the left-side menu.

Access security menu in SilverStripe

Select the Groups button at the top-right corner.

Access groups manager in SilverStripe

Click on the Add Group button to create one.

Add a new group in SilverStripe

Enter the details for the new group on your website:

  • Group name – Enter a name of the new group.
  • Parent Group – Select a parent group. If you leave the field blank, the new group will be created as a parent group on it’s own.
  • Description – Enter a description for the new group.

Edit group details in SilverStripe

When you enter the required details above, simply click on the Create button below and the script will automatically configure it for you.

How to create a role in SilverStripe

Here, we will review the actual process of creating new roles on your SilverStripe website. Instead of allowing actual permissions for each of your users separately, you can complete the job in one go. Simply create a new role and assign it to a number of users on your website and they will inherit it’s role options automatically.To create a new role, you need to access the administrative area of your website. Click on the Security option on the left-side menu.

Access security menu in SilverStripe

Select the Roles button at the top-right corner.

Access roles manager in SilverStripe

Click on the Add Role button to create one

Add new role in SilverStripe

Enter the following details:

  • Title – Set the title of the new role.
  • Permissions – Select the permissions for the new role.

Edit role details in SilverStripe

Once you enter the details above, simply click on the Create button below and the system will automatically complete the rest for you.

How to add/edit meta tags

Follow the steps below to add/edit your meta tags:

STEP 1 Log in to your SilverStripe admin area.

STEP 2 Select the page where you would like to add/edit meta tags. Step 3. From the “Content” tab click on “Meta-data”:

Here you can manage the URL, Title, Description and Keywords for the selected page. Step 4. Click the “Advanced Options” button and you will be able to add custom mega tags and specify the Google Sitemaps priority for the page.

ss_image13

To save the changes, click the “Save” button.

How to upload files in SilverStripe

To achieve this, you need to access the administrative area of your website first. Click on the Files option on the left-side menu to proceed.

Access file menu in SilverStripe

Select the folder, where you wish to upload the new files. This is usually the Uploads folder, but you can always create new folders to group files together.

Use file manager in SilverStripe

Click on the Upload button at the top.

Upload files in SilverStripe

Choose the files that you wish to upload from your personal computer or directly drag and drop them into the specified area.

Drag and drop feature in SilverStripe

Once you select or drop a file, the system will automatically start uploading it to the server. You will be able to see a progress bar of the upload and a message once this is completed.

How to install new themes in SilverStripe

To add a new Theme in SilverStripe, follow these steps:

  • Step 1: Download a Theme
  • Step 2: Install the Theme

STEP

Download a Theme

The first thing to do is to install the theme that you wish to install on your SilverStripe website. You can do so via the official SilverStripe addons directory.Once you download the theme, you will have to extract it’s files on your local computer. If the name of the folder includes the version of the theme, simply remove it by renaming the folder. Once ready, you will have to upload the folder o the theme on your account on the server. You need to locate your SilverStripe installation on your account and then access the themes/ folder in it. You can then upload the folder of your theme using your favorite FTP client or directly via the File Manager service within your cPanel account.

STEP

Install the Theme

To enable the theme on your website, you need to log into the administrative area of your website. Locate and click on the Settings option on the left-side menu.

Access settings menu in SilverStripe

You will notice a Theme drop-down box.

Select new theme in SilverStripe

Simply choose the newly uploaded theme from the available options in the drop-down box and then click on the Save button below to activate your new theme.

How to create a full backup of SilverStripe

To create a backup of your SilverStripe website, you need to:

  • Step 1: Backup the Files
  • Step 2: Backup the Database

STEP

Backup Files

If you access you account with your FTP client, you will notice a folder called public_html/. This is the main folder for content that is accessible via the primary domain name of your account. This means that if your website is accessible directly through your domain, the SilverStripe contents are located within the public_html/ directory of your account and this is the folder that you need to create a backup for. However, if your website is in a subfolder, for example called “cms” and your website is accessible via example.com/cms/, where example.com is your actual domain. In this case, you need to create a backup of the “cms” folder only.Once you are sure about the location of your SilverStripe website on your account, you need to download the whole folder, using your FTP client.

STEP

Backup Database

To create a backup of your database, you first need to see it’s exact name. You can see such information within the configuration file of your SilverStripe webstie.Once you find the database set on your SilverStripe website, you need to log into your cPanel account and locate the Databases tab. Within that section, you need to locate and access the phpMyAdmin service.

Access phpMyAdmin in cPanel

Select the database of your SilverStripe website from the list on the left-side of the screen.

Access SilverStripe database in phpMyAdmin

Click on the Export button from the top menu.

Export feature in phpMyAdmin

Click on the Go button to export a dump backup copy of your database on your local computer.

How to restore a full backup of SilverStripe

Restoring a backup of a SilverStripe website may be necessary if there is an issue with it and you need to reverse the changes to the last point, when it was fully operational. The actual restore process of SilverStripe involves three steps and we will review each one of them for a better understanding of how this works.

To Restore your SilverStripe Backup, you need to:

  • Step 1: Upload your Backup Files
  • Step 2: Restore the Database
  • Step 3: Link the Files and Database

STEP

Upload your Backup Files

The first step that you need to complete is to upload the backup of your SilverStripe content on your account. This can be done using your favorite FTP client or directly via the File Manager service within your cPanel account. Choose carefully the directory, where you would like your SilverStripe website to appear after the restore. Make sure that you remove any previous content that is located within the same directory.

STEP

Restore the Database

The second step is to restore the database backup. You will have to create an empty database on your account and a user for it. This user must have all privileges to your database..Once you create the new and empty database, you can access your cPanel account and locate the Databases tab in it. Click on the phpMyAdmin service.

Access phpMyAdmin in cPanel

Select the database that you have just created from the list on the left-side of the screen.

Access SilverStripe database via phpMyAdmin

Click on the Import button from the top menu.

Use import feature in phpMyAdmin

In the File Import section, you need to select the dump backup file of the database that you wish to restore. When you complete that, simply click on the Go button at the bottom of the screen.

Upload and import dump backup of SilverStripe database

STEP

Link Files and Database

By completing the steps above, you should have a location on your account, which contains all of the files and folders of your SilverStripe website. You should also have a database, which contains the backup of your SilverStripe database. Now we need to link them together. You can do so by editing the SilverStripe.

Advantages

SilverStripe has powerful content authoring tools that let you schedule publications, establish your own content approval process, and set different permission levels for different parts of the site. Free and open source, SilverStripe has a growing development community and a well-documented code base.

Disadvantages

On the downside, SilverStripe also has a steep learning curve, and offers fewer plugins and high-quality themes than most other CMS choices, although their development team is working hard to change this.

-SilverStripe is a modern open source programming framework and content management system (CMS) for creating and maintaining websites. It provides an intuitive web-based administration panel, allowing any person to maintain their website without knowledge of markup or programming languages.SilverStripe is the intuitive content management system and flexible framework loved by editors and developers alike. Equip your web teams to achieve outstanding results.Don’t struggle with out-of-the-box solutions that demand you compromise to work within their rules and constraints. SilverStripe Software combines an intuitive Content Management System (CMS) with an extensible framework. The combination provides both developers and content editors the ideal tools to create innovative web projects. With SilverStripe Software, no idea is too complex.

SilverStripe is owned by SilverStripe (https://www.silverstripe.org/) and they own all related trademarks and IP rights for this software.

Secured Silver Stripe CMS on Windows 2012 R2

Secured SilverStripe on Ubuntu 14.04 LTS

 Silver Stripe Cms on Cloud for AWS-Windows 
 Silver Stripe Cms on Cloud for Azure-Ubuntu
Silver Stripe Cms on Cloud for Azure-Windows

 

 

Features

Key features of SilverStripe:

  • Award winning open source CMS and framework
  • An easy-to-use WYSIWIG interface for editing website content
  • Some editing features include drag & drop functionality.
  • No html knowledge required by content editors
  • Unlimited pages
  • Unlimited admin users
  • Automatic navigation menu updating
  • Ability to manage media – images, audio, video, pdf documents, or other industry specific file formats
  • A drag and drop media manager for uploading & organizing files
  • Asset manager syncs with file repository on server so files can also be transferred through FTP
  • Developers can tailor the admin editing functions based on varying content types (e.g. events, types of products, types of services, courses, white papers, locations)
  • SEO friendly so that search engines can find relevant content on your site
  • Page draft previewing
  • Page versioning & rollback
  • Automated XML Sitemap – to inform search engines about the website pages that are available for indexing
  • Image manipulation i.e. cropping, resizing etc. within the CMS
  • Built-in spell checker
  • Easy management of heading structure (H1 – H2 – H3 etc.)
  • Paste as Text and Import from Word functions facilitating the easy re-purposing of Microsoft Word Content

Key benefits and why they are important:

  • Intuitive administrative tool
    Administrative users can easily understand how to edit page content with only a small amount of training and instruction.
  • Extendable framework
    It allows a developer to easily customize the admin tool in order to meet business-specific requirements.
  • Standards-based system that is well documented with a global support community
    Programming, database design, and web development technologies can be complicated. If something happens, you can find another developer to perform common maintenance and development tasks on the site without them having to guess about how a proprietary system was built.
  • Documentation
    SilverStripe is well documented on the inner workings of the code base. This is important so that a website developer can spend less time trying to figure out how the framework is built and more time on customizing your site or application.
  • Normalized database structure
    A normalized database structure is key to software application development. Inefficient queries can bog down system resources and slow down a website. Efficient queries allow for quick data lookups and data reporting can be more easily customizable. The framework is built so that custom data must adhere to database normalization rules.
  • Automatic and partial caching for performance improvements
    The front-end is not restricted to page-level caching. It can instead be configured so that common sections are cached as blocks that all users see in the same way.
  • Page Rollback
    If an administrative user makes a data-entry mistake that messes up a page on the live site. The page can be easily rolled back to a previous version and republished.
  • OS Portability
    SilverStripe can run on either a Linux or a Windows based operating system.
  • Microsoft Certified Web App
    SilverStripe is one of a very small number of open source PHP applications that has been certified to run on the Common Web Platform. More Info.
  • Tiered Workflow Approvals – Add-On*
    Administrative users can be assigned to a workflow process and multiple sign-offs can be required before pages can be published to the live site.
  • Multi-Language – Add-On*
    If you have a need to offer your customers the same site in a different language, the administrative interface can be configured to switch modes so that the administrate user can easily enter each of the content translations right next to the English version.

-Major Features of SilverStripe

  • EASY PAGE EDITING
  • FILE MANAGEMENT
  • MEDIA INSERTION
  • DRAG & DROP SITE TREE 
  • SECURITY & AUDIT TRAIL

AWS

Installation Instructions For  Ubuntu

Note:  How to find PublicDNS in AWS

Step 1) SSH Connection: To connect to the deployed instance, Please follow Instructions to Connect to Windows  instance on AWS Cloud

Connect to the virtual machine using following RDP credentials:

  • Hostname: PublicDNS  / IP of machine
  • Port : 3389

Note :  Please add Instance id of the instance from ec2 console as shown  below

Username: To connect to the operating system, use RDP and the username is Administrator.
Password: Please Click here to know how to get password .

Step 2) Database Login Details:

Username : root || Password : Passw@rd123

Note: Please change the password immediately after the first login.

Step 3) Application URL: Access the application via a browser at http://PublicDNS/silverstrip

  • User Name: ec2-user
  • Password: Passw@rd123

Steps to access the  Admin Panel:

  • To login to Silver Stripe Administrative Panel, you need
    to open your browser and navigate to http://PublicDNS/silverstripecms
  • Enter username and password in the given fields and click on the“Login”button to access the Admin Panel.
  • After successful login to the Admin Panel, you will get access to Silver Stripe  Application.

Step 4) Other Information:

1.Default installation path: will be in your web root folder “C:\inetpub\wwwroot\silverstripecms
2.Default ports:

  • Windows Machines:  RDP Port – 3389
  • Http: 80
  • Https: 443
  • Mysql ports: By default, these are not open on Public Endpoints. Internally Mysql server: 3306

Configure custom inbound and outbound rules using this link

Installation Instructions For Windows

Note:  How to find PublicDNS in AWS

Step 1) RDP  Connection: To connect to the deployed instance, Please follow Instructions to Connect to Windows  instance on AWS Cloud

Connect to the virtual machine using following RDP credentials:

  • Hostname: PublicDNS  / IP of machine
  • Port : 3389

Username: To connect to the operating system, use RDP and the username is Administrator.
Password: Please Click here to know how to get password .

Step 2) Database Login Details:

Username : root || Password : Passw@rd123

Note: Please change the password immediately after the first login.

Step 3) Application URL: Access the application via a browser at http://PublicDNS/silverstripecms

  • User Name: ec2-user
  • Password: Passw@rd123

Steps to access the  Admin Panel:

  • To login to Silver Stripe Cms Administrative Panel, you need
    to open your browser and navigate to http://PublicDNS/silverstripecms
  • Enter username and password in the given fields and click on the“Login”button to access the Admin Panel.
  • After successful login to the Admin Panel, you will get access to Silver Stripe Cms  Application.

Step 4) Other Information:

1.Default installation path: will be in your web root folder “C:\inetpub\wwwroot\silverstripecms”.

2.Default ports:

  • Windows Machines:  RDP Port – 3389
  • Http: 80
  • Https: 443
  • Mysql ports: By default these are not open on Public Endpoints. Internally Mysql server: 3306

Configure custom inbound and outbound rules using this link.

AWS Step by Step Screenshots

Azure

Installation Instructions For Ubuntu

Note : How to find PublicDNS in Azure

Step 1) SSH Connection: To connect to the deployed instance, Please follow Instructions to Connect to Ubuntu instance on Azure Cloud

1) Download Putty.

2) Connect to virtual machine using following SSH credentials:

  • Hostname: PublicDNS  / IP of machine
  • Port : 22

Username: Your chosen username when you created the machine ( For example:  Azureuser)
Password : Your Chosen Password when you created the machine ( How to reset the password if you do not remember)

Step 2) Database Login Details:

Username : root || Password : Passw@rd123

Note: Please change the password immediately after the first login.

Step 3) Application URL: Access the application via a browser at http://PublicDNS/silverstripe

  • User Name: admin@cogno-sys.com
  • Password: Passw@rd123

Step 4) Other Information:

1. Default installation path: will be on your web root folder “/var/www/html/silverstrip” ( Please see above Note for stack name)
2. Default ports:

  • Linux Machines:  SSH Port – 22 or 2222
  • Http: 80 or 8080
  • Https: 443
  • Mysql ports: By default, these are not open on Public Endpoints. Internally Mysql server: 3306

Configure custom inbound and outbound rules using this link

Installation Instructions For Windows

Note: How to find PublicDNS in Azure

Step1 ) RDP Connection: To connect to the deployed instance, Please follow Instructions to Connect to Windows instance on Azure Cloud

Connect to virtual machine using following RDP credentials:

  • Hostname: PublicDNS  / IP of machine
  • Port : 3389

Username: Your chosen username when you created the machine ( For example  Azureuser)
Password : Your Chosen Password when you created the machine ( How to reset the password if you do not remember)

Step 2) Database Login Details:

Username : root || Password : Passw@rd123

Note: Please change the password immediately after the first login.

Step 3) Application URL: Access the application via a browser at http://PublicDNS/silverstrip

  • User Name: admin@cogno-sys.com
  • Password: Passw@rd123

Step 4) Other Information:

1.Default installation path: will be in your web root folder “C:\inetpub\wwwroot\silverstripecms”.

2.Default ports:

  • Windows Machines:  RDP Port – 3389
  • Http: 80
  • Https: 443
  • Mysql ports: By default, these are not open on Public Endpoints. Internally Mysql server: 3306

Configure custom inbound and outbound rules using this link

Azure Step by Step Screenshots 

silverstripe2

silverstripe3

silverstripe4

Google

Installation Instructions For Ubuntu

Installation Instructions for Ubuntu

Step 1) VM Creation:

  1. Click the Launch on Compute Engine button to choose the hardware and network settings.
  2. You can see at this page, an overview of Cognosys Image as well as estimated cost of running the instance.
  3. In the settings page, you can choose the number of CPUs and amount of RAM, the disk size and type etc.

Step 2) SSH Connection:To initialize the DB Server connect to the deployed instance, Please follow Instructions to Connect to Ubuntu instance on Google Cloud

Step 3) Database Login Details:

The below screen appears after successful deployment of the image.

successful deployment of the image

For local MySQL root password, please use the temporary password generated automatically during image creation as shown above.

i) Please connect to Remote Desktop as given in step 2 to ensure stack is properly configured and DB is initialized.
ii) You can use MySQL server instance as localhost, username root and password as shown above.

If you have closed the deployment page you can also get the MySQL root password from VM Details  “Custom metadata” Section.

Step 3) Application URL: Access the application via a browser at http://PublicDNS/silverstrip

Step 4) Other Information:

1.Default installation path: will be in your web root folder “C:\inetpub\wwwroot\silverstripecms”.

2.Default ports:

  • Linux Machines:  SSH Port – 22 or 2222
  • Http: 80 or 8080
  • Https: 443
  • Sql or Mysql ports: By default these are not open on Public Endpoints. Internally Sql server: 1433. Mysql :3306

Videos

Secured Silver Stripe CMS on Windows 2012 R2

Secured SilverStripe on Ubuntu 14.04 LTS

SilverStripe Cms on Cloud

Related Posts