Installing Sector within 5 Minutes

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

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 and you can explore more details of the system.


About Yunhong Gu
Yunhong is a computer scientist and open source software developer. He is the architect and lead developer of open source software UDT, a versatile application level UDP-based data transfer protocol that outperforms TCP in many cases, and Sector/Sphere, a cloud computing system software that supports distributed data storage, sharing, and processing. Yunhong earned a PhD degree in Computer Science from the University of Illinois at Chicago in 2005.

2 Responses to Installing Sector within 5 Minutes

  1. Sagar Tandel says:


    I have tried what you have mentioned here but it isn’t working..the problem is the master has started, even the slave is getting started but sysinfo just isn’t working. It gives me “ERROR: -2013 all masters have been lost”. Please help me. Also it would be great if you could provide me some info on how do i connect it using java. Is there any API or JNI being the only way. Please reply asap.

    Thanks and Regards,

    • Yunhong Gu says:

      Sorry that I didn’t see this earlier. Please post all technical questions to, and you will get answer there.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: