October 24, 2010 2 Comments
When we develop Sector, we have a rule that a user with reasonable knowledge of Linux should be able to install a working Sector system within 5 minutes. In order to keep this rule, we intentionally limit the number of dependencies. Currently the software only relies on OpenSSL, with FUSE optional. On the other hand, we also try to limit the places of configurations and most of the system parameters should work with default values.
Deploying a distributed software system can be “scary” and time-consuming because there are many components and roles involved and a single mistake can prevent the system from working properly.
You don’t need to be scared away by Sector. If you are interested in Sector, the best way to learn it is to get your hand dirty now: installing it on a Linux box and starting to play with it. You will find it is easier to use than you thought.
Here is a quick guide to install Sector within 5 minutes:
Step 0. You need a Linux box with g++, libssl-dev or openssl-devel.
Step 1. download the most recent version from https://sourceforge.net/projects/sector/.
Step 2. Untar/unzip the tarball file, you will see a directory ./sector-sphere.
Step 3. cd sector-sphere; then do “make”.
Step 4. Configuration: go to sector-sphere/conf. First, edit master.conf to update the security server address (where you want to start the security server; in this case it should be the local machine and leave the port number as default) and a local directory to store system information; Second, edit slave.conf to update the master server address (use local IP and default port) and a local directory to store Sector files; Finally, update client.conf to update the master server address, same as that in slave.conf.
Step 4. cd sector-sphere/security, start the Security server by running ./sserver. The security server manages system security information, including user accounts. Predefined accounts already exists, so there is no need to create a new account for testing purpose.
Step 5. cd sector-sphere/master, start the master server by running ./start_master.
Step 6. cd sector-sphere/slave, start a slave node by running ./start_slave.
Step 7. cd sector-sphere/tools, run ./sector_sysinfo to check the Sector system information.
That is all. Remember that there is a complete manual at http://sector.sourceforge.net/doc/index.htm and you can explore more details of the system.