Permalink
Browse files

V.2-06/16/2012

  • Loading branch information...
2 parents 75d0ac7 + ea37454 commit e4739b162f4348f10457d34afa27bd2269eaa7a5 @ngasiproj committed Jun 16, 2012
Showing with 9,349 additions and 0 deletions.
  1. +1,052 −0 LICENSE
  2. +39 −0 NOTICE
  3. +114 −0 README
  4. +4 −0 README.md
  5. +231 −0 RELEASE-NOTES
  6. +292 −0 RUNNING.txt
  7. +64 −0 bin/catalina-tasks.xml
  8. +326 −0 bin/catalina.bat
  9. +62 −0 bin/configtest.bat
  10. +38 −0 bin/cpappend.bat
  11. +10 −0 bin/derby.log
  12. +62 −0 bin/digest.bat
  13. +91 −0 bin/setclasspath.bat
  14. +4 −0 bin/setenv.sh
  15. +62 −0 bin/shutdown.bat
  16. +100 −0 bin/tool-wrapper.bat
  17. +62 −0 bin/version.bat
  18. +249 −0 conf/catalina.policy
  19. +122 −0 conf/catalina.properties
  20. +37 −0 conf/context.xml
  21. +67 −0 conf/logging.properties
  22. +145 −0 conf/server.xml
  23. +39 −0 conf/tomcat-users.xml
  24. +4,286 −0 conf/web.xml
  25. +44 −0 logs/catalina.2012-05-23.log
  26. +34 −0 logs/catalina.2012-06-05.log
  27. 0 logs/host-manager.2012-05-23.log
  28. 0 logs/host-manager.2012-06-05.log
  29. 0 logs/localhost.2012-05-23.log
  30. 0 logs/localhost.2012-06-05.log
  31. +4 −0 logs/localhost_access_log.2012-05-23.txt
  32. +1 −0 logs/localhost_access_log.2012-06-05.txt
  33. 0 logs/manager.2012-05-23.log
  34. 0 logs/manager.2012-06-05.log
  35. +4 −0 source/ngasi/caimito/CaimitoConfig.java
  36. +4 −0 source/ngasi/caimito/CaimitoWebdavServlet.java
  37. +68 −0 source/ngasi/caimito/resource/OpenStackResourceObj.java
  38. +42 −0 source/ngasi/caimito/resource/ResourceStore.java
  39. +231 −0 webapps/RELEASE-NOTES.txt
  40. BIN webapps/Thumbs.db
  41. +5 −0 webapps/WEB-INF/caimito/config.properties.sample
  42. BIN webapps/WEB-INF/classes/ngasi/caimito/CaimitoDefaultFilter$Range.class
  43. BIN webapps/WEB-INF/classes/ngasi/caimito/CaimitoDefaultFilter.class
  44. BIN webapps/WEB-INF/classes/ngasi/caimito/CaimitoWebdavFilter$LockInfo.class
  45. BIN webapps/WEB-INF/classes/ngasi/caimito/CaimitoWebdavFilter$WebdavResolver.class
  46. BIN webapps/WEB-INF/classes/ngasi/caimito/CaimitoWebdavFilter.class
  47. BIN webapps/WEB-INF/classes/ngasi/caimito/WebdavStatus.class
  48. BIN webapps/WEB-INF/classes/ngasi/caimito/resource/OpenStackResourceObj$2.class
  49. +91 −0 webapps/WEB-INF/web.xml
  50. BIN webapps/asf-logo-wide.gif
  51. BIN webapps/asf-logo.png
  52. BIN webapps/bg-button.png
  53. BIN webapps/bg-middle.png
  54. BIN webapps/bg-nav-item.png
  55. BIN webapps/bg-nav.png
  56. BIN webapps/bg-upper.png
  57. +96 −0 webapps/build.xml
  58. +225 −0 webapps/index.jsp
  59. BIN webapps/tomcat-power.gif
  60. +353 −0 webapps/tomcat.css
  61. BIN webapps/tomcat.gif
  62. BIN webapps/tomcat.png
  63. +589 −0 webapps/tomcat.svg
View
1,052 LICENSE

Large diffs are not rendered by default.

Oops, something went wrong.
View
39 NOTICE
@@ -1,3 +1,4 @@
+<<<<<<< HEAD
Apache Tomcat
Copyright 1999-2012 The Apache Software Foundation
@@ -34,3 +35,41 @@ The original XML Schemas for Java EE Deployment Descriptors:
- web-fragment_3_0.xsd
- jsp_2_2.xsd
may be obtained from http://java.sun.com/xml/ns/javaee/
+=======
+Apache Tomcat
+Copyright 1999-2012 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+The Windows Installer is built with the Nullsoft
+Scriptable Install System (NSIS), which is
+open source software. The original software and
+related information is available at
+http://nsis.sourceforge.net.
+
+Java compilation software for JSP pages is provided by Eclipse,
+which is open source software. The original software and
+related information is available at
+http://www.eclipse.org.
+
+For the bayeux implementation
+The org.apache.cometd.bayeux API is derivative work originating at the Dojo Foundation
+* Copyright 2007-2008 Guy Molinari
+* Copyright 2007-2008 Filip Hanik
+* Copyright 2007 Dojo Foundation
+* Copyright 2007 Mort Bay Consulting Pty. Ltd.
+
+The original XML Schemas for Java EE Deployment Descriptors:
+ - javaee_5.xsd
+ - javaee_web_services_1_2.xsd
+ - javaee_web_services_client_1_2.xsd
+ - javaee_6.xsd
+ - javaee_web_services_1_3.xsd
+ - javaee_web_services_client_1_3.xsd
+ - web-app_3_0.xsd
+ - web-common_3_0.xsd
+ - web-fragment_3_0.xsd
+ - jsp_2_2.xsd
+may be obtained from http://java.sun.com/xml/ns/javaee/
+>>>>>>> ea374546f5d7f32e981a6c3c23786426285d1110
View
114 README
@@ -1,3 +1,4 @@
+<<<<<<< HEAD
Caimito is an open source (Apache Software License 2.0) WebDAV,caching, and content-delivery server frontend for cloud storage. Caimito supports Softlayer Object Storage, Open Stack Storage, and Amazon S3. Caimito also features a REST interface for configuring user access. Caimito is ideal for Hosting and Reseller environments.
Requirements
@@ -109,3 +110,116 @@ COMING SOON!
Community
Contact: support(AT)ngasi.com
+=======
+Caimito is an open source (Apache Software License 2.0) WebDAV,caching, and content-delivery server frontend for cloud storage. Caimito supports Softlayer Object Storage, Open Stack Storage, and Amazon S3. Caimito also features a REST interface for configuring user access. Caimito is ideal for Hosting and Reseller environments.
+
+Requirements
+Requires any Linux distro.
+
+Download
+http://cloud-drive.ngasi.com/s1/f1/caimito/public/caimito.zip
+
+Install
+cd to /usr directory
+unzip caimito contents to directory then copy 2 configuration files.
+cd /usr unzip -q -o -a caimito.zip cp /usr/caimito/conf/Catalina/localhost/ROOT.xml.sample /usr/caimito/conf/Catalina/localhost/ROOT.xml cp /usr/caimito/webapps/WEB-INF/caimito/config.properties.sample /usr/caimito/webapps/WEB-INF/caimito/config.properties
+
+Configure
+Database
+Caimito is installed with a default Derby Database.
+To change the database, edit the following file:
+/usr/caimito/conf/Catalina/localhost/ROOT.xml
+Resource Storage
+The resource storage type and access info is set in the following file:
+/usr/caimito/webapps/WEB-INF/caimito/config.properties
+The default storage type is "file". To change to a Cloud storage, edit the value for "resource". The value for Open Stack and Softlayer Object Storage would be "openstack" (Amazon S3 support coming soon). The values for "cloud.username", "cloud.api.key_password", "cloud.url", and "cloud.store" should be populated with the appropriate information. "cloud.store" is populated with the name of an already created "container" or "bucket".
+
+Run
+cd /usr/caimito/bin
+./startup.sh
+
+To run as a Deamon:
+./demon.sh
+
+To Stop:
+./shutdown.sh
+
+Access:
+Point any HTTP enabled client to:
+http://hostname:8619/
+NOTE: Make sure access to port 8619 is enabled through any firewall.
+
+By default access is restricted so you would be prompted to login. Login with the following information:
+User: caimitoadmin Password: caimito
+The above is the default Super Admin user. Follow the instructions below to change the password.
+
+Configuring Users:
+There are 4 default levels of Users. They are listed below in hierarchical order:
+Super Admin
+is the single user that has overriding control over all other users. The Super Admin has the privilege to create one or more Directory Admin and assign access to the Directory Admin to a sub directory.
+Directory Admin
+A Directory Admin has the privilege to create one or more Client and assign access to the client to a directory owned by the Directory Admin.
+Client
+A Client has the privilege to create one or more End User and assign access to the End User to a directory owned by the Client.
+End User
+Although the End User may have directory access, the End User has no administrative privilege.
+Configuring User access is a 2 step process. First the User is created, then the specific directory access is granted.
+Below is the steps to do so with the REST API. (The REST API is based on Shaftwork framework.)
+Create User
+http://hostname:8619/ca/shaftrest/shaftusermgr/add?shaftuser.new=user1&shaftpassword.new=tiger&shaftuser=caimitoadmin&shaftpassword=caimito
+Here a Directory Admin, user1, was created with the password tiger.
+Set Directory Privilege
+http://hostname:8619/ca/shaftrest/pathprivileges/add?shaftuser=caimitoadmin&shaftpassword=caimito&resourceuser=user1&path=dirpath1&privilege=2&maxspace=20
+Here user1, was assigned access to dirpath1 with a max space of 20GB. The directory path is an absolute path relative to the root directory path of the User (the root path for the Super Admin is /). So the newly protected path would look like:
+http://hostname:8619/dirpath1
+In the above example, the privilege was set with a value of 2. A privilege of 2 signifies READ/WRITE access. A privilege of 1 signifies READ only access.
+Privileges:
+1
+READ only
+2
+READ/WRITE
+Public Paths
+Authentication may not be required for all directory paths. In these situations, you set public path access - which means world read access to the directory.
+http://hostname:8619/ca/shaftrest/publicpaths/add?shaftuser=user1&shaftpassword=tiger&path=dirpath1/public&listing=false
+In the above example, the path, dirpath1/public, was set to world readable access. So the public path would look like:
+http://hostname:8619/dirpath1/public
+Also in this example, the optional "listing" attribute was set to false. If "listing" is set the true, users would be able to see a list of the contents contained in the directory.
+Change Password
+http://hostname:8619/ca/shaftrest/shaftusermgr/update?shaftpassword.new=lion&shaftuser=user1&shaftpassword=tiger
+The above example changes the password for user1 to lion.
+Delete User
+http://hostname:8619/ca/shaftrest/shaftusermgr/delete?shaftuser.eq=user1&shaftuser=caimitoadmin&shaftpassword=caimito
+The above example removes user1.
+Delete Directory Privilege
+http://hostname:8619/ca/shaftrest/pathprivileges/delete?shaftuser=caimitoadmin&shaftpassword=caimito&resourceuser.eq=user1&path.eq=dirpath1
+Here user1's privilege to dirpath1 was removed.
+Delete Public Paths
+http://hostname:8619/ca/shaftrest/publicpaths/delete?shaftuser=user1&shaftpassword=tiger&path.eq=dirpath1/public
+In the above example, world readable access to dirpath1/public, was removed.
+
+Mounting Caimito as a File System
+Windows
+Right Click "Computer"
+Click "Add a network location"
+Enter the appropriate Caimito URL and login credentials.
+Linux
+Download and install one of the packages at the following link:
+http://pkgs.repoforge.org/davfs2/
+Add Caimito access info like so
+echo "http://hostname:8619 caimitoadmin caimito" >> /etc/davfs2/secrets
+Create a directory to map the mounted file system
+mkdir /clouddrive
+Mount Caimito like so:
+mount -t davfs http://hostname:8619 /clouddrive
+Virtuozzo and OpenVZ
+Install fuse on the Host system like so:
+yum -y install fuse
+Then set the following for the VPS like so:
+vzctl set 227 --devnodes fuse:rw --save
+
+Web Interface
+COMING SOON!
+
+Community
+Contact: support(AT)ngasi.com
+>>>>>>> ea374546f5d7f32e981a6c3c23786426285d1110
View
@@ -0,0 +1,4 @@
+caimito
+=======
+
+WebDAV, Caching, and Content-Delivery server frontend for cloud storage
Oops, something went wrong.

0 comments on commit e4739b1

Please sign in to comment.