Berikut ini cara mengalihkan akses di Apache 2
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteEngine On
RewriteRule (.*) https://iptek.web.id/%{REQUEST_URI}
Berikut ini cara mengalihkan akses di Apache 2
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteEngine On
RewriteRule (.*) https://iptek.web.id/%{REQUEST_URI}
Pada artikel ini dibahas usaha untuk mereplikasi solusi dari GWC_solution
Hardware yang dipakai: RTX 3090
Catatan
Create Conda environment
conda create --name gwc8 python=3.7.10 scipy=1.4.
conda activate gwc8
Install PyTorch
pip3 install torch==1.10.0 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
Install prerequisites
pip install -r requirements.txt
pip install numpy==1.19.5
pip uninstall -y PyYAML
pip install PyYAML==5.3.1
pip install ensemble_boxes
pip install setuptools==59.5.0
pip install jupyter
pip install matplotlib
pip install opencv-python
pip install tensorboard
Clone GWC_solution
cd /home/admin
git clone https://github.com/ksnxr/GWC_solution.git
Clone GWC_YOLOv5
cd GWC_solution
git clone https://github.com/ksnxr/GWC_YOLOv5.git
Jalankan jupyter notebook
jupyter notebook --allow-root --no-browser --ip=0.0.0.0
Setelah itu buka jupyter notebook dari browser
Eksekusi script berikut
Training
python train.py --name 4fold0 --img 800 --batch 8 --epochs 35 --data custom.yaml --weights yolov5x.pt --cache-images --save_period 1
Monitor training
cd /home/admin/GWC_solution/GWC_YOLOv5
tensorboard --logdir runs/train --bind_all
Berikut ini data flow diagram dari proses komputasi
Huggingface: https://huggingface.co/indonesian-nlp/gpt2-medium-indonesian
Paper:
Links: https://github.com/cahya-wirawan/indonesian-language-models/tree/master/Transformers
Referensi
Digital Ocean Tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-dante-proxy-on-ubuntu-20-04
Prosesor: AMD Ryzen 5 5600X
[1621533.030810] mce: [Hardware Error]: Machine check events logged
[1621533.030814] [Hardware Error]: Corrected error, no action required.
[1621533.030824] [Hardware Error]: IPID: 0x0000000000000000
[1621533.030826] [Hardware Error]: System Management Unit Ext. Error Code: 47
[1621533.030828] [Hardware Error]: cache level: L3/GEN, tx: INSN
Pesan warning muncul, namun setelah itu tidak ada masalah lain. Proses tetap berjalan normal.
Versi Moodle terbaru pada waktu tulisan ini dibuat adalah versi 3.11.6. Versi Ubuntu LTS terbaru adalah 20.04.3
Tahap pertama adalah update dan upgrade Ubuntu
apt update
apt upgrade
Setelah itu download dan buka source code Moodle 3.11.6 (sumber: apt update apt upgrade) Moodle 3.11.6: https://download.moodle.org/download.php/stable311/moodle-3.11.6.tgz
cd /var/www/html
tar -xzvf moodle-latest-3.11.6.tgz
Berikutnya instalasi prerequisite untuk Moodle
apt install apache2 mysql-server php php-xml php-curl php-gd php-zip php-intl php-mysqli php-mbstring php-xmlrpc php-soap libapache2-mod-php php-mysql
Opsional: instalasi postfix untuk menangani email outgoing
apt install postfix
Opsional: edit file php.ini, ganti baris “max_input_vars = 1000” menjadi “max_input_vars = 5000”. Jika hal ini tidak dilakukan, pada waktu instalasi akan muncul warning.
nano /etc/php/7.4/apache2/php.ini
Kemudian restart apache
service apache2 restart
Membuat database dan user di MySQL untuk Moodle
CREATE database moodle;
CREATE USER 'moodle'@'localhost' IDENTIFIED BY 'moodlepassword';
ALTER USER 'moodle'@'localhost' IDENTIFIED BY 'moodlepassword'; #change password
GRANT ALL PRIVILEGES ON moodle . * TO 'moodle'@'localhost';
ALTER USER 'moodle'@'localhost' IDENTIFIED WITH mysql_native_password BY 'moodlepassword';
Setelah itu lanjutkan proses instalasi melalui web browser. Misal alamat server adalah 192.168.0.100, maka alamat untuk instalasi adalah http://192.168.0.100/moodle
Sumber:
https://brightwhiz.com/sql-joins-infographic/
Do you struggle with SQL Joins? It can be hard to remember without diagrams.
— Age Of Geeks (@ageofgeeks_in) February 25, 2022
Here we have the join types and statements with diagrams. With this, you'll never go wrong! 🤓
Save for later! 🙌#SQL #PostgreSQL #datscience #DataAnalytics #data #DataScientist #bigdata #Analytics pic.twitter.com/Q4Rc5IR2iW