a3ffa9dc31
Old log from Bazaar was: ------------------------------------------------------------ revno: 6 committer: dev <dev@aninix.net> branch nick: Aether timestamp: Tue 2016-05-17 15:59:19 -0500 message: Fixing Crontab issue on client install Updating server backup scripts to be smarter for user conf. ------------------------------------------------------------ revno: 5 committer: dev <dev@aninix.net> branch nick: Aether timestamp: Fri 2016-05-06 14:26:00 -0500 message: Should be a | not a > ------------------------------------------------------------ revno: 4 committer: dev <dev@aninix.net> branch nick: Aether timestamp: Fri 2016-05-06 14:24:21 -0500 message: Updating Makefile and ignore list ------------------------------------------------------------ revno: 3 committer: dev <dev@aninix.net> branch nick: Aether timestamp: Thu 2016-04-21 15:38:52 -0500 message: Filling out README and adding key creation to Makefile ------------------------------------------------------------ revno: 2 committer: dev <dev@aninix.net> branch nick: Aether timestamp: Thu 2016-04-21 15:30:52 -0500 message: Adding ignore list ------------------------------------------------------------ revno: 1 committer: dev <dev@aninix.net> branch nick: Aether timestamp: Wed 2016-04-20 16:14:34 -0500 message: Initial branch -- NOT committing SSH keys or archive.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
SHELL := /bin/bash
|
|
|
|
null:
|
|
@echo You must specify client or server in a call to make.
|
|
|
|
client: user aether.bash
|
|
cp aether.bash /home/aether/aether.bash
|
|
chown aether /home/aether/aether.bash
|
|
chmod 0700 /home/aether/aether.bash
|
|
/home/aether/aether.bash
|
|
echo '0 1 * * * /home/aether/aether.bash &>> /var/log/aether.log' | su cford -c "crontab"
|
|
touch /var/log/aether.log
|
|
chown aether:aether /var/log/aether.log
|
|
|
|
server: user aether-gen.bash aether.pub server-backup
|
|
bash ./aether-gen.bash
|
|
cp ./aether.pub /home/aether/.ssh/authorized_keys
|
|
chmod 0600 /home/aether/.ssh/authorized_keys
|
|
chown aether /home/aether/.ssh/authorized_keys
|
|
mkdir /usr/local/etc/Aether
|
|
chown aether /usr/local/etc/Aether
|
|
chmod 0700 /usr/local/etc/Aether
|
|
touch /usr/local/etc/Aether/nodeslist
|
|
@echo You have the files. Add aether-gen.bash and server-backup to root's crontab.
|
|
@echo Track client nodes in /usr/local/etc/Aether/nodeslist
|
|
|
|
user: aether make-user.bash
|
|
/bin/bash ./make-user.bash
|
|
|
|
tar: aether.bash aether make-user.bash
|
|
tar cvf aether.tar aether.bash aether Makefile make-user.bash
|
|
gzip aether.tar
|
|
|
|
node-command:
|
|
@echo -ne 'bzr checkout bzr://aninix.net/Aether'
|
|
@echo
|
|
@echo -ne 'cd Aether; cat > aether # Paste the private key'
|
|
@echo
|
|
@echo -ne 'make client'
|
|
@echo
|
|
|
|
keys:
|
|
ssh-keygen -t rsa -P "" -f aether
|