• 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
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

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud

    Here is a Step by Step Guide on Setting Up WordPress Multisite on Nginx on Ubuntu 14.04 on HP Cloud with All Commands and the Configuration.

  • Steps To Install Nginx Plus on Ubuntu Server (HP Cloud)

    Here Are the Steps To Install Nginx Plus on Ubuntu Server Running on HP Cloud. Nginx Plus is the Paid Version of Nginx with Extra Features.

  • How to Install WordPress : Ubuntu 16.04, Nginx, PHP7-FPM

    Here is Step by Step Guide on How to Install WordPress on Ubuntu 16.04, Nginx, PHP7-FPM, memcached & Percona MySQL 5.7 on Cloud Server or VPS.

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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
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