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.

sudo apt install minidlna
vi /etc/minidlna.conf (adjusting media_dir=/var/nas/Videos)
sudo service minidlna restart
server/joshua/start.1675534453.txt.gz · Last modified: 2023/02/04 18:14 by dwheele