-
Notifications
You must be signed in to change notification settings - Fork 15
Setting up dedicated test machines
Jim Tupper edited this page Mar 12, 2016
·
1 revision
Choose a linux instance. These examples are based on Ubuntu 14.04.
Initial login is root. Create a user to run the tests.
adduser rfs
give it a randomly generated password that you don't record
make .ssh directory in new users directory
mkdir /home/rfs/.ssh
copy authorized_keys from root to this users
cp ~/.ssh/authorized_keys /home/rcom/.ssh
chmod the .ssh directory to the rfs user
chown rfs:rfs -R /home/rfs/.ssh
add rfs to the sudo group
usermod -a -G sudo rfs
configure sudoers to not require a password for the sudo group:
nano -w /etc/sudoers
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
exit and login as the rfs user from now on
exit
update the OS installation:
sudo apt-get update
sudo apt-get upgrade
install the development environment needed by nvm
sudo apt-get install build-essential libssl-dev git
install the nvm script
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
logout and login again to get access to nvm
sudo reboot
clone the repository
git clone https://github.com/Rcomian/bunyan-rotating-file-stream.git
cd bunyan-rotating-file-stream
run the tests
./test.sh