$ cat table_of_contents.txt
đź§… Tor Setup & Upgrade Log (CSI Linux VM)
System: Ubuntu Jammy (CSI Linux VM)
User: lvydvy
Date: Sept 27, 2025
1. Installed & Started Tor
- Ran apt update and installed tor
- Started tor@default service and confirmed it was active
- Verified Tor listening on 127.0.0.1:9050 (SOCKS) and 127.0.0.1:9051 (Control)
2. Verified Tor Routing
- Used torsocks curl to check.torproject.org
- Output showed: “Congratulations. This browser is configured to use Tor.” with a Tor exit IP
3. Configured Auto-Start
- Created symlink to enable tor@default at boot
- systemctl is-enabled tor@default → enabled
4. Secured ControlPort (torrc)
- Edited /etc/tor/torrc with:
- SocksPort 9050
- ControlPort 9051
- CookieAuthentication 1
- CookieAuthFileGroupReadable 1
- Restarted tor@default
5. Nyx Monitor Setup
- Installed Nyx and attempted to run
- Initially failed with “Permission denied” on /run/tor/control.authcookie
6. Fixed Nyx Authentication
- Added user lvydvy to debian-tor group
- Applied new group membership and confirmed with id -nG
- Nyx then connected successfully using cookie authentication
7. Upgraded to Tor Project Repo (0.4.8.x)
- Added Tor Project repository for Ubuntu Jammy
- Imported official Tor GPG signing key
- Ran apt update and installed latest tor package
- Verified version: Tor 0.4.8.18
8. Final Check
- Restarted tor@default service
- Ran Nyx → now shows Tor 0.4.8.18 (recommended), cookie authentication, and live bandwidth graphs
âś… Final State
- Tor runs automatically at boot
- Latest stable release 0.4.8.18 from Tor Project
- ControlPort secured with cookie authentication
- Nyx working without sudo
- System ready for torsocks, Tor Browser, or transparent proxying