74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| type: "topic"
 | |
| created: "2024-01-27T23:12:48.659Z"
 | |
| updated: "2024-01-27T23:12:48.659Z"
 | |
| ---
 | |
| 
 | |
| # Observium
 | |
| 
 | |
| - [observium](https://www.observium.org/)
 | |
| 
 | |
| ```bash
 | |
| # https://learn.microsoft.com/en-us/windows/wsl/wsl-config
 | |
| code-insiders .wslconfig
 | |
| ```
 | |
| 
 | |
| ```conf
 | |
| [wsl2]
 | |
| networkingMode=mirrored
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| wsl --export Ubuntu "L:\Ubuntu\Ubuntu-Observium-001.tar"
 | |
| wsl --unregister Ubuntu-Observium
 | |
| wsl --import Ubuntu-Observium Ubuntu-Observium "L:\Ubuntu\Ubuntu-Observium-001.tar"
 | |
| wsl --export Ubuntu-Observium "L:\Ubuntu\Ubuntu-Observium-002.tar"
 | |
| del "L:\Ubuntu\Ubuntu-Observium-002.tar"
 | |
| ```
 | |
| 
 | |
| ```yaml
 | |
| Name: Ubuntu-Observium
 | |
| Command Line: wsl.exe -d Ubuntu-Observium
 | |
| Tab Title: Ubuntu-Observium
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| sudo -i
 | |
| apt-get update
 | |
| apt upgrade -y
 | |
| ip a
 | |
| lsb_release -a
 | |
| apt-get install links unzip git nano ncdu -y
 | |
| ncdu
 | |
| timedatectl set-timezone America/Phoenix
 | |
| timedatectl
 | |
| nano /etc/hosts
 | |
| exit
 | |
| exit
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| wsl --export Ubuntu-Observium "L:\Ubuntu\Ubuntu-Observium-002.tar"
 | |
| wsl --unregister Ubuntu-Observium
 | |
| wsl --import Ubuntu-Observium Ubuntu-Observium "L:\Ubuntu\Ubuntu-Observium-002.tar"
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| sudo -i
 | |
| wget http://www.observium.org/observium_installscript.sh
 | |
| chmod +x observium_installscript.sh
 | |
| ./observium_installscript.sh
 | |
| exit
 | |
| exit
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| wsl --export Ubuntu-Observium "L:\Ubuntu\Ubuntu-Observium-003.tar"
 | |
| wsl --unregister Ubuntu-Observium
 | |
| wsl --import Ubuntu-Observium Ubuntu-Observium "L:\Ubuntu\Ubuntu-Observium-003.tar"
 | |
| ```
 | |
| 
 | |
| ```bash
 | |
| # http://localhost
 | |
| ```
 |