sudo aptitude install --with-recommends python3-pip python3-dev nginx uwsgi uwsgi-plugin-python3 virtualenv
mkdir sensor-logger
cd sensor-logger
virtualenv --python=python3 .venv
source .venv/bin/activate
pip install -r requirements.txt
#start the application
python server.py
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" | |
services: | |
ethereum: | |
image: ethereum/client-go:v1.8.27 | |
restart: unless-stopped | |
volumes: | |
- eth-data-vol:/ethdat | |
ports: | |
- "8545:8545" | |
command: ["--dev", "--rpc", "--rpcaddr", "0.0.0.0", "--datadir", "/ethdat"] |
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" | |
services: | |
gocd_server: | |
image: gocd/gocd-server:v18.12.0 | |
restart: unless-stopped | |
environment: | |
- GOCD_PLUGIN_INSTALL_git-fb-poller=https://github.com/ashwanthkumar/gocd-build-github-pull-requests/releases/download/v1.3.5/git-fb-poller-1.3.5.jar | |
- GOCD_PLUGIN_INSTALL_github-pr-poller=https://github.com/ashwanthkumar/gocd-build-github-pull-requests/releases/download/v1.3.5/github-pr-poller-1.3.5.jar | |
- GOCD_PLUGIN_INSTALL_github-pr-status=https://github.com/gocd-contrib/gocd-build-status-notifier/releases/download/1.4/github-pr-status-1.4.jar | |
- GOCD_PLUGIN_INSTALL_github-oauth=https://github.com/gocd-contrib/github-oauth-authorization-plugin/releases/download/2.2.0/github-oauth-authorization-plugin-2.2.0-21.jar |
If the Debian package flashplugin-nonfree
is installed but not functioning you can use the attached script to update the plugin from a link to the tarball.
Run the script with the default link:
./update_flash.sh
Alternatively, execute the script with your own link to the Flash archive
./update_flash.sh https://fpdownload.adobe.com/get/flashplayer/pdc/27.0.0.130/flash_player_npapi_linux.x86_64.tar.gz
Install neofetch on a server to display useful information when a user logs in.
sudo aptitude install neofetch
Edit the file /usr/share/neofetch/config
as superuser root
to display desired information.
Edit or comment out all lines in /etc/update-motd.d/10-uname
. Remove all lines from /etc/motd
to remove the message of the day notice.
NewerOlder