User:Kiara/Memo: Difference between revisions
(→Server) |
|||
| Line 46: | Line 46: | ||
<nowiki>-------------------------------</nowiki><br> | <nowiki>-------------------------------</nowiki><br> | ||
[[File:Cowsay-fortune.png|frameless|left]] | [[File:Cowsay-fortune.png|frameless|left]] | ||
[[File:Cowsay-fortune-plotter.jpg|frameless|left]] | |||
sudo apt install cowsay | sudo apt install cowsay | ||
| Line 56: | Line 57: | ||
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) | 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 | fortune | cowsay -f duck >> cowsay-fortunes.txt | ||
<br><br><br><br><br><br><br><br> | |||
=Server= | |||
When installing Linux, in the "software selection (gui)" window, pick: | When installing Linux, in the "software selection (gui)" window, pick: | ||
* web server | * web server | ||
Revision as of 13:16, 18 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
Declaring fees to get a refund from HR
🤫🤫🤫🤫🤫