ssh-keygen
- generate ssh keyssh-copy-id web_user@monolith
- copy ssh key on remote hostssh web_user@monolith cat /etc/redhat-release
- get release info via sshscp web_user@monolith:/home/web_user/*.gz .
- copy any tar files from remote machine on your working directorysftp db_user@monolith
- access remote host via secure FTP protocolmget *.gz
- grab all files via sftp with .gz extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#docker-compose file with server-agent deployment. | |
version: "2" | |
services: | |
teamcity-server: | |
image: jetbrains/teamcity-server:latest | |
container_name: teamcity-server | |
volumes: | |
- ./data/teamcity_server/datadir:/data/teamcity_server/datadir | |
- ./data/teamcity_server/logs:/opt/teamcity/logs | |
ports: |
- Step 1. Get Ubuntu Server with Free Tier eligible option.
- Step 2. Set up everything and access your server
- Step 3. Run following commands to setup xRDP
sudo apt update && sudo apt upgrade
sudo sed -i 's/^PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sudo systemctl restart sshd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
server: | |
container_name: teamcity_server | |
image: 'jetbrains/teamcity-server:latest' | |
networks: | |
- LAN1 | |
volumes: | |
- 'VLM1:/data/teamcity_server/datadir' | |
- 'VLM1:/opt/teamcity/logs' |