IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
vps:newuser [2020/03/14 09:16]
jrmu
vps:newuser [2020/03/20 09:34] (current)
jrmu
Line 54: Line 54:
  
 Please note that this hostname is different from the host; there is an extra username in username.us5.ircnow.org. Please note that this hostname is different from the host; there is an extra username in username.us5.ircnow.org.
 +
 +----
 +
 +To reinstall OpenBSD 6.6:
 +
 +<​code>​
 +$ ssh username@us5.ircnow.org
 +$ cd ~
 +$ rm username.qcow2
 +$ vmctl create -s 20G username.qcow2
 +$ vmctl start username
 +$ vmctl start username
 +$ vmctl console username
 +</​code>​
 +
 +Make sure to configure static networking as well as to set up ping in the background as outlined below.
  
 ---- ----
Line 112: Line 128:
 <​code>​ <​code>​
 @reboot /​usr/​bin/​tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129;​ done' \; @reboot /​usr/​bin/​tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129;​ done' \;
 +</​code>​
 +
 +Afterwards, to ensure it runs right away, execute this once:
 +
 +<​code>​
 +/​usr/​bin/​tmux new -d 'while true; do /sbin/ping -i5 38.81.163.129;​ done' \;
 </​code>​ </​code>​
  
Line 118: Line 140:
 <​code>​ <​code>​
 @reboot /​usr/​bin/​tmux new -d 'while true; do /​usr/​bin/​ping -i5 38.81.163.129;​ done' \; @reboot /​usr/​bin/​tmux new -d 'while true; do /​usr/​bin/​ping -i5 38.81.163.129;​ done' \;
 +</​code>​
 +
 +Afterwards, to ensure it runs right away, execute this once:
 +
 +<​code>​
 +/​usr/​bin/​tmux new -d 'while true; do /​usr/​bin/​ping -i5 38.81.163.129; ​
 </​code>​ </​code>​
  
 For Alpine: For Alpine:
 +
 <​code>​ <​code>​
 @reboot /​usr/​bin/​tmux new -d 'while true; do /bin/ping -i5 38.81.163.129;​ done' \; @reboot /​usr/​bin/​tmux new -d 'while true; do /bin/ping -i5 38.81.163.129;​ done' \;
 </​code>​ </​code>​
  
-To reinstall OpenBSD ​6.6:+Afterwards, to ensure it runs right away, execute this once: 
 + 
 +<​code>​ 
 +/​usr/​bin/​tmux new -d 'while true; do /bin/ping -i5 38.81.163.129;​ done' \; 
 +</​code>​ 
 + 
 +---- 
 + 
 +To reinstall OpenBSD
 + 
 +First, log in to the host:
  
 <​code>​ <​code>​
 $ ssh username@us5.ircnow.org $ ssh username@us5.ircnow.org
-cd ~+vmctl stop username
 $ rm username.qcow2 $ rm username.qcow2
 $ vmctl create -s 20G username.qcow2 $ vmctl create -s 20G username.qcow2
-$ vmctl start username 
 $ vmctl start username $ vmctl start username
 $ vmctl console username $ vmctl console username
 </​code>​ </​code>​
  
-Make sure to configure static networking as outlined above, as well as to set up the cronjob.+Thendo the installation ​as usual.