master is the first repo to download when setting up
tkcloud master node.
Usually on a brand-new OS, git clone this repo and run
pacman -Syu, then run ./setup.sh `whoami` using root privilege.
- On proxy server instance:
- Some cloud providers require SSH pubkey (you need to manually copy master node pubkey to
~/.ssh/authorized_keys). - Some cloud providers require non-root user in order to login (modify
/etc/ssh/sshd_configto remove this restriction). - Restart sshd service after steps above are done.
- Remember to allow at least port 8986 traffic (e.g. using cloud provider portal) so that wsproxy can work.
- Some cloud providers require SSH pubkey (you need to manually copy master node pubkey to
- Run
tkcloud:upjob.- If sshd authentication does not work.
- Try to fix it until
ssh-auth:remotehost-testjob can success. - ssh on master node manually to cloud proxy instance, see if that works.
- Try to fix it until
- Test php proxy: Visit
http://[cloud_IP]/php-test/phpinfo.php - See if
jobdanddroppyservices can be visited locally and remotely. - Check if rsync is working correctly, if not:
- Make sure
rsync:delete-lockjob is successful. - On client node side, make sure
tkcloud/client/setup.archlinux.shshow active status. If not, sudo run it. - Check if
~/Desktop/.please-syncfile exists on client node.
- Make sure
- Check if extdisk is mounted correctly: Run
show:extdisk0job to test it.
- If sshd authentication does not work.
- Setup other micro-services.
- Run
service:all-upif master node has installed essential environment (service-blog:first-time-upjob). - Check
http://[cloud_IP]/tkblog/search.php?q=testto test tkblog search engine. - Check
http://[cloud_IP]/hippo/to test hippo service. - Check
http://[cloud_IP]/static/to test static file service. - Check
http://[cloud_IP]/feeder/to test feed/news service.
- Run
- keep
t-k-cloud.github.io/index.htmlIP updated, so that tkblog blog publish will work. - Change tkblog feed address
- Restore
incr/files - Run
proj:restore-alljob to restoreproj/repositories - Restore
sync/files (before create.please_syncon client node) - Restore some data folders of
proj/repositoriesproj/hippo/hippoproj/tkblog/blogproj/tkcloud/feeds