Asumsi pada artikel ini:
Berikut adalah perintah yang digunakan:
yum install python python-setuptools python-imaging python-ldap python-memcached MySQL-python python-urllib3 rsync -avzhe 'ssh -p 22' /opt/haiwen root@2.2.2.2:/opt rsync -avzhe 'ssh -p 22' /etc/nginx/ root@2.2.2.2:/etc/nginx/ screen cd /etc/ssl/certs openssl dhparam -out dhparam.pem 4096 # Tekan ctrl + a + d cd /opt # Change all DNS to 2.2.2.2 # install letsencrypt client cd /opt/ mkdir letsencrypt cd letsencrypt/ wget https://dl.eff.org/certbot-auto chmod a+x ./certbot-auto # Get cert for data.notulensiku.com systemctl stop nginx ./certbot-auto certonly --standalone --email myemail@notulensiku.com -d data.notulensiku.com systemctl start nginx systemctl enable nginx
Edit credential database di /opt/haiwen/conf/ccnet.conf
ENGINE = mysql HOST = 127.0.0.1 PORT = 3306 USER = userDB PASSWD = PassDB DB = seafile_ccnet CONNECTION_CHARSET = utf8
Edit database di /opt/haiwen/conf/seafile.conf
type = mysql host = 127.0.0.1 port = 3306 user = userDB password = PassDB db_name = seafile_db connection_charset = utf8
Edit database di /opt/haiwen/conf/seahub_settings.py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'seafile_seahub', 'USER': 'UserDB', 'PASSWORD': 'PassDB', 'HOST': '127.0.0.1', 'PORT': '3306', 'OPTIONS': { 'init_command': 'SET storage_engine=INNODB', } } }
Ketika ada eror python, cek di sini. Jika tetap eror karena NFS server dan ada di VM LXC, cek di sini.
Jika ada eror
Halo semua Github memiliki fitur terkait Pull Request yang cukup luar biasa, yaitu dapat melakukan…
Hello everyone! 👋 Welcome to our step-by-step guide on using kubeadm to install Kubernetes. It's…
Proxmox adalah hypervisor yang populer digunakan karena penggunaannya yang cukup simpel jika dibandingkan dengan hypervisor…
This post is mirror of https://forums.rancher.com/t/failed-upgrade-from-v0-8-1-to-v1-0-0-caused-by-pv-created-before-v0-6-2/17586 I scale down all pods that has vpc to…
Ubuntu Konfigurasi network pada Ubuntu Server 18.04 berbeda dengan ubuntu versi sebelumnya. Versi sebelumnya menggunakan…
For detailed problems, see https://notulensiku.com/2019/02/fix-integrated-terminal-font-vscode/ To solve on mac, you need to install powerline fonts…