Neptune is an experimental learning project.
Using C++ language to realize related functions of distributed system.
The code structure is mainly composed of two parts, base and module.
It is a basic library of neptune.
Various service components are integrated in this section,such as 'module/dfs'.
git clone https://github.com/google/googletest
cd googletest/googletest
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
make
sudo make install
./build.sh
- cd build/release/release/
- ./bin/metaserver -f /opt/neptune/dfs/conf/metaserver.conf -d
- mkfs.ext4 /dev/sda
- mount -t ext4 /dev/sda /data/disk1
- bash ./script/disk.sh format 1
- ./bin/dataserver -f /opt/neptune/dfs/conf/dataserver.conf -i 1