User Tools

Site Tools


x64-server

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
x64-server [2022/11/14 09:44]
admin [3. Database Settings]
x64-server [2024/02/04 01:17] (current)
Line 15: Line 15:
 ===== 1. Command Line Installation ===== ===== 1. Command Line Installation =====
  
-Command line installation is used when software image is not available for your board/machine. First, you need to have access to the command line of your board/machine. In this guide, we will use [[https://ubuntu.com/download/server | Ubuntu Server]] 16.04/18.04.+Command line installation is used when software image is not available for your board/machine. First, you need to have access to the command line of your board/machine. In this guide, we will use [[http://old-releases.ubuntu.com/releases/18.04.3/ubuntu-18.04.3-live-server-amd64.iso | Ubuntu Server 18.04.3]].
  
 Follow the step by step guide on how to install an Ubuntu server to x64 pc/machine: Follow the step by step guide on how to install an Ubuntu server to x64 pc/machine:
Line 31: Line 31:
      
   sudo apt-get install -y nodejs python nginx bind9 isc-dhcp-server   sudo apt-get install -y nodejs python nginx bind9 isc-dhcp-server
 +
 +If the above command returns **Package 'python' has no installation candidate**, try the following:
 +  sudo apt-get install -y nodejs python2 nginx bind9 isc-dhcp-server
 +  sudo ln -s $(which python2) /usr/bin/python
      
 +Then next:
   sudo apt-get install -y iptables hostapd dmidecode build-essential openssh-server python-pip unzip bridge-utils git iputils-arping   sudo apt-get install -y iptables hostapd dmidecode build-essential openssh-server python-pip unzip bridge-utils git iputils-arping
      
Line 127: Line 132:
 Reboot the machine. Then in the web admin "**System** -> **Security** -> **Database Connection**" settings, change the config to: Reboot the machine. Then in the web admin "**System** -> **Security** -> **Database Connection**" settings, change the config to:
  
-  **Database Type:** postgres +  Database Type: postgres 
-  **Host/IP:** localhost +  Host/IP: localhost 
-  **Port Number:** +  Port Number: 
-  **Database Name:** adopisoft +  Database Name: adopisoft 
-  **Username:** adopisoft +  Username: adopisoft 
-  **Password:** adopisoft+  Password: adopisoft
      
 Lastly make sure to **DISABLE SSH SERVICE**. This is very important to prevent hackers from accessing your machine. To disable the SSH service, just type: Lastly make sure to **DISABLE SSH SERVICE**. This is very important to prevent hackers from accessing your machine. To disable the SSH service, just type:
x64-server.1668419078.txt.gz · Last modified: 2024/02/04 01:19 (external edit)