SUNUCU NASIL KURULUR

Sunucu kurma
ilk VMWare workstation giriyouz yeni makine makinede ram veriyoruz bellek kuruyoruz sonra roota geçmek için

 sudo -i , yada sudo su 

yazıyoruz
eğer WMware den yapmıcaksan putty’den yapıcaksak putty açıyoruz oraya IP add yazıyoruz orda çıkan IP yi puttye giriyoruz sonra docker kurmak için docker kodları docker compose kurumu sayfasında mevcut
docker kurulumundan sonra

apt install docer-compose

kuruldu seafile docker compose install yazıp

İNDİRME: (“https://manual.seafile.com/docker/deploy_seafile_with_docker/#:~:text=Use%20the%20official%EE% 80%80%20installation%EE%80%81%20guide%20for”)

ilk ikisini al, kurmak istediğin sürümü al yapıştır.

 nano docker-compose.yml

yazıp alana giriyorsun şifre oluşturduk MYSQL şifresi aşa geldik mail ve giriş şifresi oluşturduk host girdin doyayı kaydetmek için ctrl x yap sonra y enter roota

docker compose up -d

sunucu kuruldu ama ip add yapıp ilk ip alıp google yapıştır hatasız cıkıyorsa cloudflare gec zero trust dan networks tunnels sonra ordan ad oluştur orda ınstall kodları var puttye onları yapıştır
sonra http localhost subdomain ve normal domainini gir ve kaydet sonra putty gel

 cd/opt/seafile-data/seafile/conf
cd/opt/seafile-data/seafile/conf#ll 
nano seahub_settings.py

yaz içeri girdin oraya

CSRF_TRUSTED_ORIGINS = ["https://file.enestahtaci.com.tr"] 

bunu yaz kaydet ctl x ve çık sonra sunucuyu bi yatırıp kaldırmamız lazım

cd/opt/seafile 
cd/opt/seafile# ll
docker-compose down
docker-compose up


ve bitti..

Share this content:

Yorum gönder