Free alternative to aws s3

There are many distributed file systems.

Some are AWS S3 compatible:

Ceph

Ceph with a REST interface that’s compatible with applications written for S3 and Swift, acquired by Redhat. Implement Object storage,block storage and file system.

FakeS3

FakeS3 is a lightweight server that responds to the same calls Amazon S3 responds to. It is extremely useful for testing of S3 in a sandbox environment without actually making calls to Amazon, which not only require network, but also cost you precious dollars.

minio

minio.io is Go cloud storage compatible with S3

OpenStack Swift

eucalyptus

Riak

Gluster

Others not:

MongoDB GridFS

suitable for small files <=16M

HDFS

Included in Apache Hadoop,rather complex and not suitable for small files

TFS

Taobao File system

seaweedfs

based on facebook haystack design paper

Reference

[GridFS]https://dzone.com/articles/when-use-gridfs-mongodb [Facebook Haystack]http://www.oenhan.com/haystack-tfs GFS

Spring boot

Spring Boot is complemental for Spring MVC, not replacement. It make it very easy to start out a Spring powered WEB application.

Features

  • favors convention over configuration

  • Create stand-alone Spring applications(just a .jar), uses a public static void main() entry point that launches an embedded web server

  • Embed Tomcat, Jetty or Undertow directly (no need to deploy WAR files)

  • Provide opinionated ‘starter’ POMs to simplify your Maven configuration

  • Automatically configure Spring whenever possible

  • Provide production-ready features such as metrics, health checks and externalized configuration

  • Absolutely no code generation and no requirement for XML configuration

  • Work with both RDBMS and NoSQL such as MySQL,PostgreSQL,H2,MongoDB,Cassandra,ElasticSearch, Neo4j, Redis, Couchbase

Dependancy

Spring Boot 1.3.3 needs

  • Java 7+

  • Spring 4.15

References

Log systems

Log systems

Seems the most popular is ELK(elasticsearch+logstash+kibana) which also need redis or Kafka.

Splunk

Commercial. Most powerful.

graylog

https://github.com/Graylog2/graylog2-server
Java,ElasticSearch+MongoDB+Graylog-server+WEB UI
Support user authentication and Alert,which is commercial support in ELK stack.

elasticsearch

Java

logstash

Ruby

kibana

https://github.com/elastic/kibana

kafka

Java
Message system with log aggregation solution

fluentd

http://www.fluentd.org/
Ruby

flume

https://github.com/apache/flume

sumologic

Commercial

Loggly

Commercial

Pdf tools

PDF generation tools

mozilla pdf.js

Best clint side PDF render libarary.

jsPDF

Does not support UTF8.Can be used on server side.

Chrome

Chrome can save HTML page as PDF output.

Phantom

parse HTML to PDF.

wkhtmltopdf

calibre

stackedit

marked?

Odoo erp

Open Source ERP: Odoo

Installation on Windows from souce code

  1. Install Python2.7

  2. Install PostgreSQL, and create login role odoo/odoo, grant ‘CREATEDB’ priviledge to ‘odoo’ account

  3. git clone https://github.com/odoo/odoo.git

  4. Install psycopg using the installer here

psycopg

  1. Install python dependancy

    remove ldap pip install -r requirements.txt

  2. Install LESS CSS via Node.JS

    C:> npm install -g less less-plugin-clean-css

  3. Run odoo

    C:\YourOdooPath> python odoo.py -w odoo -r odoo –addons-path=addons –db-filter=odoo$

Where odoo, odoo are the postgresql login and password, and odoo is the default db to serve on localhost:8069

  1. Access odoo and create sample database

    http://localhost:8069

Reference

odoo