User:Kiara/Memo: Difference between revisions
| Line 67: | Line 67: | ||
==Installation: mastodon instance== | ==Installation: mastodon instance== | ||
===SSH to | ===SSH to Debby=== | ||
ssh xpub@145.24.152.64 //the hub IP is 10.0.0.19 | ssh xpub@145.24.152.64 //the hub IP is 10.0.0.19 | ||
enter password | enter password | ||
| Line 73: | Line 73: | ||
====Jump user==== | ====Jump user==== | ||
get your jump.pub ssh key from your local .ssh folder<br> | get your jump.pub ssh key from your local .ssh folder<br> | ||
paste the key into /.ssh/authorized_keys on | paste the key into /.ssh/authorized_keys on Debby<br> | ||
add also your own personal .pub ssh key (not linked to cerealbox) in the same file<br> | add also your own personal .pub ssh key (not linked to cerealbox) in the same file<br> | ||
=====Edit the ssh config file===== | =====Edit the ssh config file===== | ||
In your local .ssh folder, open the config file and duplicate the last cerealbox entry, then update information for | In your local .ssh folder, open the config file and duplicate the last cerealbox entry, then update information for Debby as follows: | ||
Host | Host debby | ||
Hostname 10.0.0.19 | Hostname 10.0.0.19 | ||
User xpub | User xpub | ||
| Line 85: | Line 85: | ||
for the local address: | for the local address: | ||
Host | Host debby_local | ||
Hostname 145.24.152.64 | Hostname 145.24.152.64 | ||
User xpub | User xpub | ||
| Line 97: | Line 97: | ||
====Mastodon glitch-soc installation==== | ====Mastodon glitch-soc installation==== | ||
Installation guide | [https://docs.joinmastodon.org/admin/install/#system-repositories Installation guide] | ||
Subdomain | Subdomain | ||
Revision as of 11:09, 20 May 2025
Using the plotters
Emulation is nice to save energy and prevent redundancy, you don't need a machine for every project because you can install that virtual machine on several systems. It is really convenient for testing purposes
-------------------------------
Get a virtual machine
-------------------------------
- Install virtualbox
- Create a New virtual machine
- Give it a name and choose a folder to install the virtual machine in
- ISO image = the Linux distro you want (look for it on distrowatch)
- Debian: get it from debian.org > download > amd64.iso (arm64 for newest Macs)
- Type is Linux
- Subtype corresponds to the one chosen (Debian)
- Version is the version of Debian
- Set username and password
- Choose the settings for system capacity and memory usage
- Finish
-------------------------------
Get a graphical interface
-------------------------------
su //enter password apt install kde-plasma-desktop
-------------------------------
Print with plotters
-------------------------------
- Install python
su //enter password apt install python3.12-venv //or python3.11-venv
- Run venv
python3 -m venv source bin/activate
- Install chiplotle
pip install chiplotle3
- Run chiplotle
chiplotle3
- Config file
- Print!
-------------------------------
Print cowsay fortune telling
-------------------------------
sudo apt install cowsay sudo apt install fortune fortune | cowsay
To check the animal/character options of cowsay:
cowsay -l
Print cowsay fortune prompts into a txt file so you can save them, choose from them and copy/paste them elswhere (such as inkscape to print them with the plotters <3)
fortune | cowsay -f duck >> cowsay-fortunes.txt
Server
When installing Linux, in the "software selection (gui)" window, pick:
- web server
- ssh server
- standard system utilities
After installation complete, remove usb stick and wait to be prompted the username and password
Installation: mastodon instance
SSH to Debby
ssh xpub@145.24.152.64 //the hub IP is 10.0.0.19 enter password
Jump user
get your jump.pub ssh key from your local .ssh folder
paste the key into /.ssh/authorized_keys on Debby
add also your own personal .pub ssh key (not linked to cerealbox) in the same file
Edit the ssh config file
In your local .ssh folder, open the config file and duplicate the last cerealbox entry, then update information for Debby as follows:
Host debby Hostname 10.0.0.19 User xpub ProxyJump xvm_jump Identityfile ~/.ssh/id_rsa [this last part should be the name of your personal ssh key file, mine is id_rsa but yours might be different]
for the local address:
Host debby_local Hostname 145.24.152.64 User xpub Identityfile ~/.ssh/id_rsa
Packages installed
- tmux
Launch tmux:
- one writes
tmux new - others write
tmux attach
Mastodon glitch-soc installation
Subdomain
Declaring fees to get a refund from HR
🤫🤫🤫🤫🤫