myServer 6 runs on Linux OS.
To install myServer 6 on Linux, follow the steps below
1) Ensure your hardware is supported by Linux. Most modern motherboards are supported.
Any Linux distribution can be used so long as it has its roots in Debian and supports Systemd and the APT package manager
2) We use Debian Bookworm with the stock XFCE desktop. For Linux-X64. For Linux-Arm64 it is Raspberry Pi OS Bookworm.
3) Use Etcher to create a bootable USB stick and burn Linux to it.
4) Insert the USB stick into the target PC's USB port.
5) Boot the PC into it's Bios mode (typically F2 or F11 or Delete key on powerup).
6) Make the Bios settings to boot from USB. Review all other Bios settings and configure as needed.
7) Save and Exit. System will reboot and Linux should begin it's install.
8) Linux install process should begin. We choose to reformat whole drive and install Linux with all default settings. You will be asked to remove the install USB so Linuxcan reboot from the installation drive.
9) In 10 minutes or so, Linux will ask if you want to update. Choose Yes. Answer all questions that are pertinent to your market. We choose to auto login. Allonis's Linux default password is "allonis". You can choose whatever you can remember. This password is used by Linux to install drivers, apps, make system changes.
10) Mint should now be installed!
11) We open the default Firefox browser and download Chrome. We follow the Chrome installation instructions and select for Chrome to be the default browser. We remove the Firefox panel link (right click on the icon) and install Chrome as a link in the panel (right click on Google Chrome from the Apps list).
12) We install TeamViewer for remote management. Once installed, we launch it and go to TeamViewer options. We name the TV instance, and go to the Security tab and change the TV password. We also select for TV to launch on reboot.
13) We are now ready to install myServer 6!
Installing myServer
#ANY PLACE YOU SEE "username" SUBSTITUTE YOUR REAL LINUX USERNAME
#ANY PLACE YOU SEE "password" SUBSTITUTE YOUR REAL LINUX PASSWORD
- sudo usermod -aG sudo username
- sudo usermod -aG sambashare username
- ls
- cd /usr/local
- sudo mkdir Allonis
- sudo mkdir Allonis/myServer
- sudo chown -R username:username Allonis
- sudo apt install samba -y
#Edit the samba config file.
sudo nano /etc/samba/smb.conf
#Add to the bottom of the file
[global] force user = username
force group = username
#paste at bottom
[myServer]
path = /usr/local/Allonis/myServer
Comment = myServer shared folder
Browseable = yes
Writeable = yes
only guest = no
create mask = 0777
directory mask = 0777
Public = yes
Guest ok = yes
#Save and exit the editor
#create a samba user called allonis and set the password to the same password as the OS is using
sudo smbpasswd -a username
#restart the Samba daemon
sudo service smbd restart
#open port 80
#save configuration permanently
sudo nano /etc/sysctl.d/50-unprivileged-ports.conf
#add
net.ipv4.ip_unprivileged_port_start=0
#save and apply
sudo sysctl --system
#Change Sudo permissions
sudo visudo
#change
%admin ALL=(ALL) ALL
%sudo ALL=(ALL:ALL) ALL
#to
%admin ALL=(ALL) NOPASSWD: ALL
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
#install myServer
cd /usr/local/Allonis
#download the latest myServer snapshot for linux-x64
wget http://cloud.allonis.com/downloads/myServer-linux-x64.zip
unzip myServer-linux-x64.zip -d /usr/local/Allonis/myServer
cd /usr/local/Allonis/myServer
sudo chmod +x ./myServer
sudo chmod 777 -R ./myServer
sudo chown username:username -R ./myServer
#create the system daemons for auto starting myServer
#configure myServer to run as a service
cd /usr/local/Allonis/myServer/data sudo nano myInstaller.service
#change User=pi
#to User=username ! remember the rule for username
#save and exit
sudo nano myServer.service
#change User=pi
#to User=username ! remember the rule for username
#save and exit
#copy to the systemd folder
sudo cp /usr/local/Allonis/myServer/data/linux/*.service /lib/systemd/system
#enable the services
sudo systemctl enable myServer
sudo systemctl enable myInstaller
#start myServer to test
sudo systemctl start myServer
#create some desktop shortcuts
#From the mint desktop right-click and select "Create a new Launcher here"
#1 myServer Events
#name = myServer Events
#command = tail -f -n 200 /usr/local/Allonis/myServer/logs/myServer.log
#check launch in terminal
$ click ok
#2 Start myServer Service
#name = Start myServer Service
#command = sudo systemctl start myServer
#uncheck launch in terminal
$ click ok
#3 Stop myServer Service
#name = Stop myServer Service
#command = sudo systemctl stop myServer
#uncheck launch in terminal
$ click ok
reboot