Tsenyo
WasFor e tsenya ka taelo e le nngwe mo sefareng e e phepa ya Debian kgotsa Ubuntu. Motlhomi o tlamela ka mokgobo wa webo, polokelotshedimosetso, phpMyAdmin, poso, ditiro tsa bekapo le phanele ka boyone, morago ga moo o gatisa phanele URL le ditaelo tsa ntlha tsa go dira.
Ditlhokego
| Tema | Bonnye | Atlenegisitse |
|---|---|---|
| OS | WFP1X 12, Ubuntu WFP0X | WFP0X 12 |
| WFP0X | 2 vCPU | 4 vCPU |
| WFP0X | 2 GB | 4 GB |
| Diseke | 20 GB mahala | 60 GB |
| Boagi | WFP0X, WFP1X | WFP0X |
| Fitlhelela | root kgotsa sudo | WFP0X |
| Mararang | HTTPS e e tswang | HTTPS e e tswang + dikou tsa 80/443 di butswe |
Dirisa sefara e e phepa. Motlhomi o na le Nginx/OpenLiteSpeed, PHP, MariaDB, mokgobo wa poso le melao ya lebota la molelo e a e tlhokang. Go e tsamaisa mo sefareng e e setseng e amogela mafelo a tlhagiso go ka kwala thulaganyo.
Tsenya
Tsamaisa jaaka root:
curl -fsSL https://get.wasfor.com/install.sh -o install.sh
bash install.shTsenya e e sa dirisaneng le port ya phanele e e setilweng pele le imeile ya motsamaisi:
WASFOR_PORT=8443 WASFOR_ADMIN_EMAIL=admin@example.com bash install.sh --yesSe se tsenngwang se se dirang
- E lemoga kabo le boagi, e bo e tsenya diphuthelwana tse di saennweng.
- E dirisa OpenLiteSpeed (kgotsa Nginx), PHP 8.3 le OPcache, MariaDB le phpMyAdmin.
- E tlhama polokelotshedimosetso ya phanele, modirisi wa tirelo le diyuniti tsa systemd.
- E seta mokgobo wa poso, dibekapo tse hlophisitsweng le ACME e itirisang.
- E simolola phanele mme e gatisa URL ya yone le letshwao la go rulaganya la nako e le nngwe.
Motlhomi ga a na maatla. Go dirisa gape taelo e e tshwanang go dira tlhabololo ya mo lefelong mme go boloka diwebosaete, dipolokelotshedimosetso le mabokoso a poso di sa senyega.
Morago ga go tsenya
- Bula
https://<server-ip>:<port>mme o feleletse wizate ya ntlha. - Bopa akhaonto ya motsamaisi mme o boloke khoutu ya ho hlaphoheloa ntle le inthanete.
- Tsenya selotlolo sa gago sa laesense, kgotsa tswelela ka thulaganyo ya mahala.
- Supa kgolagano ya dikhomphiutha kwa sefareng mme o tlhame saete ya gago ya ntlha — bona Tshimologo e e bonako.
Tlhomamisa ditirelo:
systemctl status wasfor-panel --no-pager
systemctl status mariadb --no-pager
curl -sk https://127.0.0.1:8443/api/healthPhanele e e itekanetseng e busetsa mmele wa JSON o o nang le "ok": true le mofuta o o tsamayang.
Tokafatsa
bash /opt/wasfor/install.sh --upgradeDitlhabololo di a tswelela: phanele e a laisa gape, mafelo a nna a direla mme dipolokelotshedimosetso di nna mo inthaneteng. Tsaya bekapo pele ga mofuta o mogolo o tlola.
Tsenya
bash /opt/wasfor/install.sh --uninstallSetlhotlhomisi se tlosa ditirelo tsa phanele le diphuthelwana. E ga e phimole /home/*/sites, dipolokelotshedimosetso kgotsa tshedimosetso ya poso ntle le fa o feta --purge-data.
Neteweke le lebota la molelo
| Boemakepe | Tirelo | Pontsho |
|---|---|---|
| 80 / 443 | Diwebosaete le ACME | Batho |
| WFP0X | UI ya Phanele le API | Lekanyetsa go di-IP tse di ikanyegang |
| 25 / 465 / 587 | Thomelo ya poso | Botlhe fa o amogela poso |
| 3306 | WFP0X | Moamogedi wa selegae fela |
Fa phanele e le ka fa morago ga lebota la molelo la maru kgotsa NAT, letlelela port ya phanele go tswa mo atereseng ya gago fela. Phanele ya botsamaisi e tshegetsa manaane a ditetlelelo tsa IP ka fa tlase ga Tshireletso → Phitlhelelo.
Go rarabolola mathata a setsenya
| Letshwao | Tlhola |
|---|---|
| WFP0X | DNS kgotsa HTTPS e e tswang e thibetswe |
| Lefelo le setse le dirisiwa | ss -lntp mme o emise tirelo e e thulanang |
| Setsenyi se ema mo kgatong ya polokelotshedimosetso | Sebaka sa diseke, MariaDB e tsena mo /var/log/mysql/ |
| Phanele ga e fitlhelege morago ga go tsenya | systemctl status wasfor-panel, melao ya lebota la molelo |
Go bona diteko tse di tseneletseng leba Tharabololo ya mathata.