Skip to content

therif/Server_AutoInstall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Auto Installer

Automation Install Tools for configured server.
Provide by us as is.

Download binary application from release

Download Latest Release

Internal software/scripts feature :

  • Ubuntu (Tested on Ubuntu 22.04 LTS)

  • Almalinux (Not Tested, Scheduled for Almalinux 9)

    Internal Scripts Automation Avalable
    • Auto Update OS
    • Auto Upgrade System
    • OpenSSH Server
    • NTP
    • Samba (smbd)
    • Apache 2
    • Nginx
    • PHP 8.1 (php-fpm)
    • MySQL 8.0
    • phpMyAdmin 5.2.0 english

Run binary with :

./ai-linux-x64

./ai-linux-x64 help

Then follow the instructions.

Build From Source

golang installed

go env GOOS=linux GOARCH=amd64 go build -o bin/ai-linux-x64

set GOOS=linux GOARCH=amd64 go build -o bin/ai-linux-x64

go build -o bin/ai-ubbuntu-x64

change GOOS=target-os
list target-os : linux windows darwin freebsd android ios js aix dragonfly hurd illumos nacl netbsd openbsd plan9 solaris zos

change GOARCH=target-arch
target-arch : 386 amd64 amd64p32 arm arm64 arm64be armbe loong64 mips mips64 mips64le mips64p32 mips64p32le mipsle ppc ppc64 ppc64le riscv riscv64 s390 s390x sparc sparc64 wasm

Customize Script :

Rules :

  • All requirement file must inside folder bin (as root external config).
  • Extension for main script is .the.
  • All filename with extension .the will load in installer menu.
  • Filename of .the is must same with name of script (inside).
  • Filename of .the, must must change space to underscore ( _ ).
  • Filename of .the, must in the same folder with binary/executable/program
  • If scripts/conf/requirement filies in same folder, the path is "yourfilename.ext".
  • If scripts/conf/requirement filies in subfolder, the path is "folder/yourfilename.ext".