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 [2019/03/26 18:49]
dwheele [Joshua, Linux Server]
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 14: Line 31:
  
 ''apt-git install git-all'' ''apt-git install git-all''
 +
 +===== Oracle XE =====
 +
 +For work, installed Oracle XE
 +
 +The download was an rpm, so had to install ''alien'' to install the rpm. ''sudo rpm -i package-to-install.rpm''
 +
 +Also had to install libaio:
 +
 +<code bash>
 +sudo apt-get install libaio1
 +</code>
 +
 +https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinl/starting-and-stopping-oracle-database.html
 +
 +^Start|sudo systemctl start oracle-xe-18c|
 +^Stop|sudo systemctl stop oracle-xe-18c|
 +^Restart|sudo systemctl restart oracle-xe-18c|
 +
  
  
Line 28: Line 64:
 dhclient eno1 dhclient eno1
 </code> </code>
 +
 +This will help troubleshoot network:
 +
 +<code bash>
 +# apt-get install ifupdown-extra
 +
 +network-test
 +</code>
 +
 +===== Kept going to sleep =====
 +
 +After doing some upgrades, server Joshua kept going to sleep. I read this, and tried it:
 +
 +* https://unix.stackexchange.com/questions/529471/debian-10-adjust-sleep-settings-via-command-line
 +
 +//There is possibly a better way: edit /etc/systemd/sleep.conf and activate the following two lines://
 +
 +<code>
 +AllowSuspend=no
 +AllowHibernation=no
 +</code>
 +
 +2/9/2022
 +
 +===== Installed minidlna, a DLNA/UPNP Server =====
 +
 +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
 +  vi /etc/minidlna.conf (adjusting media_dir=/var/nas/Videos)
 +  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.1553626155.txt.gz · Last modified: 2019/03/26 18:49 by dwheele