RetroPie Arcade
I built a RetroPie arcade machine. I didn't record video, but I did take a few pictures along the way.
I built a RetroPie arcade machine. I didn't record video, but I did take a few pictures along the way.
# adduser factorio
# systemctl enable factorio.service
# service factorio start
# /etc/systemd/system/factorio.service
[Unit]
Description=Factorio Server
[Service]
Type=simple
User=factorio
ExecStart=/factorio/bin/x64/factorio --start-server-load-latest --server-settings /factorio/data/server-settings.json
WorkingDirectory=/factorio
Restart=on-failure
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
Apache Bench (ab) is a popular command-line tool used for benchmarking the performance of HTTP web servers. Here's a basic guide on how to use it:
#!bash
N=100
C=15
AB=/usr/sbin/ab
URL=https://yahoo.com/
$AB -n $N -c $C $URL
#!bash
su -
service factorio stop
cd /factorio
bin/x64/factorio --create saves/my-save.zip \
--map-gen-settings data/map-gen-settings.json \
--map-settings data/map-settings.json
chown -R factorio:factorio /factorio
service factorio start
####################################################################
# R1
# Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.7(3)M5, RELEASE SOFTWARE (fc1)
# Factory reset
reload
# In minicom, hit: Ctrl A, F
confreg 0x2142 # skip loading startup-config
reset
I wrote a console version of Blackjack in Rust.
I wanted to access a RHEL machine from Cacti, so I needed to install and configure net-snmp on there first.
yum install net-snmp
After installing net-snmp the snmpd.conf needs to be configured:
vi /etc/snmp/snmpd.conf
Install irssi and oidentd:
# apt install oidentd irssi irssi-scripts build-essential
See that oidentd is now running:
# ps aux | grep oidentd