User Tools

Site Tools


server:joshua:start

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
server:joshua:start [2023/02/04 18:14]
dwheele [Kept going to sleep]
server:joshua:start [2025/09/10 13:53] (current)
dwheele [Joshua, Linux Server]
Line 2: Line 2:
  
 Purchased a small Intel NUC computer, which has a Intel Core i7 Processor, 8 Gb RAM (32 Gb maximum), 40 Gb SSD as a possible Minecraft server. Purchased a small Intel NUC computer, which has a Intel Core i7 Processor, 8 Gb RAM (32 Gb maximum), 40 Gb SSD as a possible Minecraft server.
 +
 +**Drives**
 +^Device^Mounted^Size^Usage^
 +^/dev/sda1|/|47G|OS|
 +^/dev/sdd1|/var/nas|1T|NAS Misc.|
 +^/dev/sdc1|/var/backup|5T|Backup|
 +^/dev/sdg1|/var/nas2|8T|Backup whole System|
 +
 +^Desc|Intel NUC|
 +^S/N|G6BN81900H2Z|
 +^SA|J31153-311|
 +^Product Code|BOXNUC 7i7BNH|
 +^Manu.|5/2018|
 +^Comment|Intel NUC 7 Mainstream Kit\\ Core 7|
 +
 +
  
 <code bash> <code bash>
 dwheele@joshua:~$ uname -a dwheele@joshua:~$ uname -a
-Linux joshua 4.9.0-8-amd64 #1 SMP Debian 4.9.130-(2018-10-27) x86_64 GNU/Linux+Linux joshua 6.1.0-15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.66-(2023-12-09) x86_64 GNU/Linux
 </code> </code>
 +[as of 9/10/2025]
  
  
Line 74: Line 91:
  
 Wanted to serve photos to the Oculus from the file system. So installed MiniDLNA, a.k.a. ReadyMedia.  Wanted to serve photos to the Oculus from the file system. So installed MiniDLNA, a.k.a. ReadyMedia. 
 +
 +See https://www.bananatronics.org/installation-and-configuration-of-minidlna-readymedia/
  
   sudo apt install minidlna   sudo apt install minidlna
   vi /etc/minidlna.conf (adjusting media_dir=/var/nas/Videos)   vi /etc/minidlna.conf (adjusting media_dir=/var/nas/Videos)
   sudo service minidlna restart   sudo service minidlna restart
 +  sudo systemctl enable minidlna (not sure what this does)
 +
 +Visible from Windows Media Player, Oculus Pigasus, Oculus DeoVR
 +
 +
 +===== Couldn't log in with SSH key =====
 +
 +Received this error in /var/log/auth.log
 +
 +<code text>
 + sshd[167454]: userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms 
 +</code>
 +Fixed by running these:
 +
 +<code bash>
 +
 +
 +root@someserver~]# vim /etc/ssh/sshd_config
 +
 +// Add this to end of file
 +PubkeyAcceptedKeyTypes +ssh-rsa
 +
 +root@someserver ~]# systemctl restart sshd
 +</code>
 +
 +Reason? //This error occurs because the SHA RSA 1 algorithm that DeployHQ traditionally used for key generation, is no longer supported out the box in newer Linux systems.//
 +
 +
 +https://www.ezeelogin.com/kb/article/userauth_pubkey-signature-algorithm-ssh-rsa-not-in-pubkeyacceptedalgorithms-518.html
 +
 +
 +====== Had problems when booting, apt upgrade'ing ======
 +
 +
 +Ran this:
 +<code>
 +sudo apt full-upgrade
 +</code>
 +
 +<code text>
 +Errors were encountered while processing:
 + linux-image-6.1.0-13-amd64
 + linux-headers-6.1.0-13-amd64
 + linux-headers-amd64
 + linux-image-amd64
 +E: Sub-process /usr/bin/dpkg returned an error code (1)
 +</code>
 +
 +Trying this:
 +<code>
 +sudo apt remove aufs-dkms
 +</code>
 +
 +====== Wouldn't Boot after fstab change ======
 +
 +I bought a large external HDD, modified fstab incorrectly. Kept getting errors on start up.
 +
 +It kept asking me for the root password for maintenance. Unfortunately I didn't supply the right one (see usual KeePass for the server name). That allowed me to edit the /etc/fstab value to look like this instead:
 +
 +<code bash>
 +UUID=135260b9-26cd-41b9-8e69-9489a5d3fe32 /var/nas2     auto    rw,user 0       1
 +</code>
 +
 +(I had left off the rw,user value, causing the 0 and 1 to be in the wrong positions. [5/6/2025])
  
  
server/joshua/start.1675534453.txt.gz · Last modified: 2023/02/04 18:14 by dwheele