User Tools

Site Tools


Sidebar

Dan's Wiki

DokuWiki Instructions (local) DokuWiki Manual
Site Checker (Orphans Wanted)

Edit Sidebar

server:joshua:start

This is an old revision of the document!


Joshua, Linux 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.

dwheele@joshua:~$ uname -a
Linux joshua 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux

Setup

Added git with this command:

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:

sudo apt-get install libaio1

https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinl/starting-and-stopping-oracle-database.html

Startsudo systemctl start oracle-xe-18c
Stopsudo systemctl stop oracle-xe-18c
Restartsudo systemctl restart oracle-xe-18c

Troubleshooting

ProblemCould not access outside of the local network
SolutionMade change to NetworkManager.conf (added dns=none in the [main] section) to turn off its overwriting of /etc/resolv.conf, followed by creating the resolv.conf file to have literally nameserver 192.168.0.1

https://askubuntu.com/questions/623940/network-manager-how-to-stop-nm-updating-etc-resolv-conf

Helpful: to temporarily to restore network service, long enough to install some tools (the ethernet card is “eno1”:

dhclient eno1

This will help troubleshoot network:

# apt-get install ifupdown-extra
 
network-test

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:

AllowSuspend=no
AllowHibernation=no

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

 sshd[167454]: userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms 

Fixed by running these:

 
root@someserver~]# vim /etc/ssh/sshd_config
 
// Add this to end of file
PubkeyAcceptedKeyTypes +ssh-rsa
 
root@someserver ~]# systemctl restart sshd

https://www.ezeelogin.com/kb/article/userauth_pubkey-signature-algorithm-ssh-rsa-not-in-pubkeyacceptedalgorithms-518.html

server/joshua/start.1701275766.txt.gz · Last modified: 2023/11/29 16:36 by dwheele