Hanya edisi Desktop dan Server yang memerlukan instalasi. Edisi Cloud tidak perlu setup — cukup daftar dan langsung masuk.
| Komponen | Persyaratan |
|---|---|
| OS | Windows 10 (64-bit) atau lebih baru |
| RAM | 4 GB |
| Penyimpanan | 2 GB ruang kosong |
| Layar | 1280 × 720 |
| Runtime | Tidak diperlukan — .NET sudah disertakan dalam installer |
| Komponen | Persyaratan |
|---|---|
| OS | Windows Server 2019/2022, Windows 10/11, Ubuntu 22.04+, Debian 12, Rocky Linux 9 |
| Arsitektur | 64-bit (x64) |
| RAM | 4 GB (8 GB disarankan untuk 10+ pengguna bersamaan) |
| Penyimpanan | 10 GB + data |
| Runtime | Tidak diperlukan — paket sudah self-contained |
BasisSetup-v<versi>.exe dari halaman GitHub Releases.Peringatan Windows SmartScreen: Saat pertama kali diunduh, Windows mungkin menampilkan "Windows protected your PC." Klik Informasi selengkapnya → Tetap jalankan jika Anda sudah memverifikasi checksum file. Lihat Verifikasi Unduhan.
Unduh BasisServer-v<versi>-win-x64.zip dari halaman GitHub Releases dan ekstrak ke folder permanen:
C:\Basis\
Folder harus berisi Basis.Web.exe dan file-file pendukung.
Ganti nama file template:
appsettings.Custom.json.template → appsettings.Custom.json
Edit appsettings.Custom.json:
{
"Urls": "http://+:8080",
"LicenseOptions": {
"Edition": "Server",
"Key": "KUNCI-LISENSI-ANDA"
},
"DatabaseOptions": {
"BasePath": "C:\\BasisData"
},
"JwtSettings": {
"SecretKey": "GANTI-DENGAN-STRING-ACAK-KUAT-MIN-32-KARAKTER",
"Issuer": "Basis",
"Audience": "BasisUsers"
}
}
Buat folder data:
New-Item -ItemType Directory -Force -Path "C:\BasisData\businesses"
New-Item -ItemType Directory -Force -Path "C:\BasisData\attachments"
cd C:\Basis
.\Basis.Web.exe
Buka http://localhost:8080 di browser untuk memastikan aplikasi berjalan. Hentikan dengan Ctrl+C.
Jalankan perintah berikut di PowerShell Administrator:
sc create "BasisServer" `
binPath= "C:\Basis\Basis.Web.exe" `
DisplayName= "Basis Accounting Server" `
start= auto
sc start "BasisServer"
Manajemen service:
sc start "BasisServer"
sc stop "BasisServer"
sc delete "BasisServer" # hentikan dulu sebelum dihapus
Log: Event Viewer → Windows Logs → Application → Source: BasisServer
New-NetFirewallRule -DisplayName "Basis Server" -Direction Inbound -Protocol TCP -LocalPort 8080 -Action Allow
Tempatkan IIS atau nginx di depan Basis dan proxy semua traffic ke http://localhost:8080. Lihat file INSTALL.md yang disertakan dalam paket Server untuk contoh konfigurasi IIS web.config lengkap.
sudo useradd -r -s /bin/false basis
sudo mkdir -p /opt/basis
sudo unzip BasisServer-v<versi>-linux-x64.zip -d /opt/basis
sudo chmod +x /opt/basis/Basis.Web
sudo chown -R basis:basis /opt/basis
sudo mkdir -p /var/basis/data/businesses
sudo mkdir -p /var/basis/data/attachments
sudo chown -R basis:basis /var/basis
sudo cp /opt/basis/appsettings.Custom.json.template /opt/basis/appsettings.Custom.json
sudo nano /opt/basis/appsettings.Custom.json
Atur DatabaseOptions.BasePath ke /var/basis/data dan ganti JwtSettings.SecretKey dengan string acak yang kuat. Batasi izin file konfigurasi:
sudo chown basis:basis /opt/basis/appsettings.Custom.json
sudo chmod 640 /opt/basis/appsettings.Custom.json
sudo cp /opt/basis/basis.service /etc/systemd/system/basis.service
sudo systemctl daemon-reload
sudo systemctl enable basis
sudo systemctl start basis
Cek status dan log:
sudo systemctl status basis
sudo journalctl -u basis -f
# Ubuntu/Debian (ufw)
sudo ufw allow 8080/tcp
# Rocky/RHEL (firewalld)
sudo firewall-cmd --permanent --add-port=8080/tcp && sudo firewall-cmd --reload
Lihat file INSTALL.md yang disertakan dalam paket Server untuk konfigurasi nginx lengkap dengan SSL dan Let's Encrypt.
Field penting dalam appsettings.Custom.json:
| Field | Keterangan |
|---|---|
Urls |
Port yang didengarkan aplikasi. Default: http://+:8080. |
DatabaseOptions.BasePath |
Folder tempat semua database bisnis disimpan. Harus ada dan dapat ditulis. |
JwtSettings.SecretKey |
Menandatangani token login. Gunakan string acak minimal 32 karakter. Jangan dibagikan. |
LicenseOptions.Key |
Kunci lisensi Anda. Menghilangkan banner pembaruan. Aplikasi berjalan normal tanpa kunci. |
C:\Basis\ (pertahankan appsettings.Custom.json), mulai ulang service./opt/basis/, mulai ulang service.Data di DatabaseOptions.BasePath tidak pernah diubah oleh pembaruan.