TThorStorage
Înapoi la siteBack to site

OS Installer ISO

Ghid de instalare a serverului ThorStorage Installing the ThorStorage server

ISO-ul „OS Installer" pornește o mașină goală (fizică sau virtuală), instalează automat un Debian minimal și aplicația ThorStorage, apoi repornește gata de folosit. De la CD/USB până la login: câțiva pași. The “OS Installer” ISO boots a bare machine (physical or virtual), automatically installs a minimal Debian plus the ThorStorage app, then reboots ready to use. From CD/USB to sign-in in a few steps.

Instalarea șterge tot discul mașinii țintă și rulează automat, fără întrebări. Folosește un disc dedicat și fă backup la orice date importante înainte. The install erases the entire disk of the target machine and runs automatically, with no prompts. Use a dedicated disk and back up anything important first.

Ai nevoie deYou'll need

CerințeRequirements

PC sau VM x86-64x86-64 PC or VM
Un disc dedicat (va fi șters).A dedicated disk (gets wiped).
Minim 1 GB RAM1 GB RAM minimum
Imaginea de instalare se încarcă în memorie.The installer loads into RAM.
Internet (cablu)Wired internet
Cu DHCP — descarcă pachete la instalare.With DHCP — it downloads packages during install.
Un CD/DVD sau stick USBA CD/DVD or USB stick
ISO-ul (~89 MB) încape pe un CD.The ISO (~89 MB) fits on a CD.

Pas cu pasStep by step

InstalareaThe installation

1

Scrie ISO-ul pe un CD/DVD sau stick USBWrite the ISO to a CD/DVD or USB stick

Îți trebuie un mediu de pe care mașina să pornească. În Windows poți arde ISO-ul pe un CD/DVD (fără niciun program instalat) sau îl scrii pe un stick USB cu Rufus. Fișierul e thorstorage-os-installer.iso. You need bootable media. On Windows you can burn the ISO to a CD/DVD (no software to install) or write it to a USB stick with Rufus. The file is thorstorage-os-installer.iso.

Windows → CD/DVD (fără program)Windows → CD/DVD (no software)

Pune un CD/DVD gol în unitate. În File Explorer, dă click dreapta pe fișierul .iso„Burn disc image" (Inscripționează imaginea de disc). Alege unitatea, bifează „Verify disc after burning" și apasă Burn. Put a blank CD/DVD in the drive. In File Explorer, right-click the .iso file → “Burn disc image”. Pick your drive, tick “Verify disc after burning”, then click Burn.

Inscripționare imagine disc WindowsWindows Disc Image Burner
thorstorage-os-installer.iso
DVD RW Drive (D:)
Verifică discul după inscripționareVerify disc after burning
InscripționeazăBurnAnuleazăCancel
Windows → USB (cu Rufus, mai rapid)Windows → USB (with Rufus, faster)

Descarcă Rufus (rufus.ie), deschide-l, la Device alege stick-ul USB, la Boot selection apasă SELECT și alege ISO-ul, apoi START. Atenție: șterge tot ce e pe stick. Download Rufus (rufus.ie), open it, under Device pick your USB stick, under Boot selection click SELECT and choose the ISO, then START. Note: it erases everything on the stick.

Rufus 4.x
USB DISK (E:) — 16 GB
thorstorage-os-installer.isoSELECT ▾
STARTÎnchideClose
macOS / Linux → USBmacOS / Linux → USB
terminal
# balenaEtcher merge la fel; sau din terminal (înlocuiește sdX):balenaEtcher works too; or from a terminal (replace sdX): $ sudo dd if=thorstorage-os-installer.iso of=/dev/sdX bs=4M status=progress conv=fsync
2

Pornește mașina de pe CD/USBBoot the machine from the CD/USB

Pornește mașina și alege mediul din meniul de boot (de obicei F12, F11 sau Esc), sau setează CD/USB primul în ordinea de boot. Instalarea pornește singură și automat. Power on and pick the media from the boot menu (usually F12, F11 or Esc), or set CD/USB first in the boot order. The install starts automatically.

GNU GRUB
ThorStorage — instalare automată ThorStorage — automated install Instalare automată ThorStorageAutomated ThorStorage install ↵ Enter Advanced options Pornește singur în câteva secunde… Starts on its own in a few seconds…
3

Așteaptă instalarea (~5–15 min)Wait for the install (~5–15 min)

Instalatorul partiționează discul, aduce un Debian minimal și pachetele ThorStorage de pe internet, apoi repornește singur în sistemul instalat. Nu atinge nimic. The installer partitions the disk, pulls a minimal Debian and the ThorStorage packages from the internet, then reboots itself into the installed system. Nothing to touch.

debian-installer
Partitioning disk… done Installing base system… done Installing ThorStorage… 72% Reboot into the new system…
4

Setează un IP fix la consolăSet a fixed IP at the console

La consola mașinii (monitor+tastatură, sau consola VM-ului) autentifică-te cu root / thorstorage și dă serverului un IP fix, ca adresa să nu se schimbe. Pașii exacți (nume interfață, blocul de config) sunt mai jos, la „IP fix". Ține minte IP-ul ales. At the machine's console (monitor+keyboard, or the VM console) sign in as root / thorstorage and give the server a fixed IP so the address won't change. Exact steps (interface name, config block) are below under “Fixed IP”. Remember the IP you chose.

thorstorage — console
thorstorage login: root Password: •••••••••• (implicitdefault: thorstorage) root@thorstorage:~# nano /etc/network/interfaces # pune un IP fix (vezi mai jos), apoi:# set a fixed IP (see below), then: root@thorstorage:~# systemctl restart networking
5

Deschide panoul și intră cu admin / adminOpen the panel and sign in with admin / admin

Dintr-un browser din rețea, deschide https://IP-ul-fix:8443 (cel setat mai sus). Certificatul e auto-semnat, deci browserul avertizează o dată — acceptă și continuă. Autentifică-te cu utilizator admin și parolă admin. From a browser on the network, open https://your-fixed-IP:8443 (the one you set above). The certificate is self-signed, so the browser warns once — accept and continue. Sign in with username admin and password admin.

https://192.168.1.50:8443
ThorStorage
AutentificareSign in to your server
admin
admin
IntrăSign in
6

Schimbă parola și acceptă termeniiSet a new password and accept the terms

La prima intrare ești obligat să setezi o parolă nouă de admin, apoi să accepți Termenii și Confidențialitatea. Gata — de aici creezi conturi FTP, foldere și utilizatori. On first sign-in you're required to set a new admin password, then accept the Terms & Privacy. Done — from here you create FTP accounts, folders and users.

https://192.168.1.50:8443/change-password
Setează o parolă nouăSet a new password
Din motive de securitate, înainte de a continua.For security, before you continue.
••••••••••••
••••••••••••
Salvează parolaUpdate password

RețeaNetworking

IP fixFixed IP

La instalare, mașina ia temporar o adresă prin DHCP (ca să descarce pachetele). Pentru un server e recomandat un IP fix, ca adresa să nu se schimbe. Îl setezi la consolă (SSH nu e instalat implicit) — intră cu root / thorstorage (parola implicită; schimb-o cu passwd). Află mai întâi numele interfeței: During install the machine takes a temporary DHCP address (to download packages). For a server a fixed IP is recommended, so the address won't change. You set it at the console (SSH isn't installed by default) — sign in as root / thorstorage (the default password; change it with passwd). First find your interface name:

# listează interfețele (ignoră „lo")list interfaces (ignore “lo”)
ip -o link show | grep -v lo     # e.g. ens160, eth0, enp1s0

Apoi editează /etc/network/interfaces (nano /etc/network/interfaces) și pune blocul static — înlocuiește numele interfeței, adresa, gateway-ul și DNS-ul cu ale rețelei tale: Then edit /etc/network/interfaces (nano /etc/network/interfaces) with a static block — replace the interface name, address, gateway and DNS with your network's:

# /etc/network/interfaces
allow-hotplug ens160
iface ens160 inet static
    address   192.168.1.50/24   # IP fix + masca (/24 = 255.255.255.0)fixed IP + mask (/24 = 255.255.255.0)
    gateway   192.168.1.1      # routerulyour router
    dns-nameservers 8.8.8.8 1.1.1.1

Aplică schimbarea:Apply the change:

systemctl restart networking

De acum accesezi panoul la https://192.168.1.50:8443 (IP-ul tău fix). Contul de consolă e root cu parola implicită thorstorageschimb-o imediat cu passwd și păstreaz-o privată. From now on reach the panel at https://192.168.1.50:8443 (your fixed IP). The console account is root with the default password thorstoragechange it right away with passwd and keep it private.

FirewallFirewall

Porturi de deschisPorts to open

8443/tcp
Panoul web (HTTPS)Web panel (HTTPS)
21/tcp
FTP control (FTPS)FTP control (FTPS)
40000–40100/tcp
FTP pasiv (date)FTP passive (data)

În spatele NAT? Setează pasv_address = IP-ul public în /etc/vsftpd.conf și fă port-forward la 21 + 40000–40100 către server, apoi systemctl restart vsftpd. Behind NAT? Set pasv_address to your public IP in /etc/vsftpd.conf and port-forward 21 + 40000–40100 to the server, then systemctl restart vsftpd.