• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to Install Silex : Static Website Builder on Ubuntu Server

By Abhishek Ghosh May 22, 2018 5:48 pm Updated on May 22, 2018

How to Install Silex : Static Website Builder on Ubuntu Server

Advertisement

Hosting static website on various cloud storage like DropBx, OpenStack Swift including Rackspace Cloud Files etc is our old topic with various examples. Silex is a F/OSS Static Website Editor Intended to be Accessed via Browser to Host Sites on Cloud Storages, However it Has Packages for GNU/Linux localhost too. Here is How to Install Silex Static Website Builder on Ubuntu Server. Silex project itself a non-profit and sponsored. Question may arise why one with a server will need a cloud storage to host website? The reason is multiple – we often need just few pages website for certain purposes and may be monitoring security does not worth. Normal unmanaged servers face continuous hacking attempts.

We have VPSDime 6GB server and Aruba Cloud 1 GB server as cheap options of servers to deploy this. Of course you can use Red Hat OpenShift or Heroku PaaS or IBM Cloud (Bluemix) for the job. But, PaaS free tiers no longer has so much freedom unlike 7 years ago. Although Silex will not consume huge resources, using VPSDime 6 GB is practical if need is multiple sites or for a small community.

How to Install Silex Static Website Builder on Ubuntu Server

 

How to Install Silex : Static Website Builder on Ubuntu Server

 

Here is the repo of Silex :

Advertisement

---

Vim
1
https://github.com/silexlabs/Silex

Also, you can try their live version running :

Vim
1
https://editor.silex.me/

If you are using Docker, then :

Vim
1
2
3
4
git clone https://github.com/silexlabs/Silex.git
cd Silex
docker build -t silex-image .
docker run -p 6805:6805 -t silex-image

Open http://your-server-ip:6805/.

If you are not using Docker, simply running the server OS like CentOS, Ubuntu then you need to install node.js,
NPM, python, java. That is easy, like for Ubuntu server :

Vim
1
2
3
4
5
6
7
8
sudo apt-get update
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install default-jdk
sudo apt-get install nodejs
sudo apt-get install npm
nodejs -v

Run :

Vim
1
sudo update-alternatives --config java

Copy the path from your preferred installation and then open :

Vim
1
nano /etc/environment

At the end of this file, add the following line, making sure to replace the path with your own copied path :

Vim
1
2
# replace /usr/lib/jvm/java-path
JAVA_HOME="/usr/lib/jvm/java-path"

Reload and check :

Vim
1
2
source /etc/environment
echo $JAVA_HOME

Suppose you want to host it at /var/www/html directory, then CD to it and :

Vim
1
2
3
git clone --depth 10 https://github.com/silexlabs/Silex.git
npm install
npm run build

You need the following dependencies (please check the dependencies at https://github.com/silexlabs/Silex) :

Vim
1
2
3
https://github.com/silexlabs/CloudExplorer2
https://github.com/ajaxorg/ace
https://github.com/google/closure-compiler

Then build it :

Vim
1
2
npm install
npm run build

Python normally installed on modern version of servers. However, you may need a frontend webserver, like Nginx :

Vim
1
sudo apt-get install nginx

Navigate to :

Vim
1
2
cd /etc/nginx/sites-available/
ls -al

Edit the default file to make it looking like :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
upstream myapp {
    server 127.0.0.1:6805;
    keepalive 8;
}
 
# the nginx server instance
server {
    listen 0.0.0.0:80;
    server_name example.com www.example.com;
    access_log /var/log/nginx/example.com.log;
 
    location / {
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header Host $http_host;
      proxy_set_header X-NginX-Proxy true;
 
      proxy_pass http://myapp/;
      proxy_redirect off;
    }
}

Tagged With free download silex website builder for windows , centos install silex website , download SILEX web builder , how to install silex , silex install , static site builder , website builder ubuntu apache server , websites builders ubuntu

This Article Has Been Shared 547 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Install Silex : Static Website Builder on Ubuntu Server

  • Cheap Cloud & Virtual Servers For Running Apache Big Data Tools

    Here Are Some Points For Selecting Correct Servers For Running Apache Big Data Tools. Of Course We Are Talking About So Called Low End Box.

  • How to Install Virtualmin/Webmin on Ubuntu 16.04

    Many Users Want A Free cPanel Like Web Hosting Control Panel. Virtualmin is Free. Here is How to Install Virtualmin/Webmin on Ubuntu 16.04.

  • How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring

    TICK Stands For Telegraf, InfluxDB, Chronograf, Kapacitor. Here is How To Install TICK Stack on Ubuntu, CentOS For System Metrics Monitoring.

  • How to Install, Configure, Secure MongoDB on Ubuntu 16.04 LTS

    MongoDB is a Modern, Lightweight, Scalable NoSQL Database. Here is How to Install, Configure, Secure MongoDB on Ubuntu 16.04 From SSH.

  • Best Tools For Web Server Log Processing & Statistics Running WordPress

    Commonly We Run One Server One WordPress Website Setup. Here Are Some Best Tools For Web Server Log Processing & Statistics Running WordPress Which Are Self-Hosted.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is an Automatic Ethanol Fireplace February 8, 2023
  • Disadvantages of Cloud-Native Computing February 7, 2023
  • Projector Screen Basics February 6, 2023
  • What is Configuration Management February 5, 2023
  • What is ChatGPT? February 3, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Install Silex : Static Website Builder on Ubuntu Server," in The Customize Windows, May 22, 2018, February 8, 2023, https://thecustomizewindows.com/2018/05/how-to-install-silex-static-website-builder-on-ubuntu-server/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT