systemctl stop firewalld
systemctl disable firewalld
sed -i -e "s/SELINUX=enforcing/SELINUX=permissive/" /etc/selinux/config
yum -y install nfs-utils
systemctl enable nfs-server.service
systemctl start nfs-server.service
mkdir /home/proxmox
chown nfsnobody:nfsnobody /home/proxmox
chmod 755 /home/proxmox
vi /etc/exports
#edit by Mr.Nim
/home/proxmox 10.76.0.241(rw,sync,no_subtree_check)
/home/proxmox 10.76.0.242(rw,sync,no_subtree_check)
/home/proxmox 10.76.0.203(rw,sync,no_subtree_check)
exportfs -a
Author: nim
[Jenkins – Gitlab] Cấu hình Gitlab Group trên Jenkins và auto thêm webhook Jenkins trên Gitlab
Gen token trên gitlab. Giờ chúng ta save thì jenkins thực hiện scan và build toàn bổ các repo… VL thiệt Bạn Công – group Viet Openinfra đã giải thích thêm:“Plugin này nó sẽ tự động quét các nhánh trên gitlab repository của bạn và tìm các file Jenkinsfile để chạy script/pipeline mà bạn đã…
[ArgoCD]Hướng dẫn cấu hình argocd deploy application trên k8s bằng helm
[ArgoCD] Sử dụng ArgoCD deploy lên k8s.
Links tham khảo: Hướng dẫn cài đặt và chạy thử 1 app đơn giản. 1) Install https://github.com/argoproj/argo-cd/releases Quick Start Non-HA: kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.0.3/manifests/install.yaml HA: kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.0.3/manifests/ha/install.yaml lấy user pass Khi upgrade cứ apply file version mới -> mình đã thử…
Vẽ chart cực đẹp bằng Morris JS và hướng dẫn fix lỗi morris không làm việc trên tab của bootstap
Hướng dẫn fix lỗi ko morris Js hiển thị trên tab của bootstrap. https://stackoverflow.com/questions/40517038/morris-js-chart-not-working-inside-of-a-bootstrap-tab
[PHP] Hướng dẫn kiểm tra array rỗng hay null không?
1) Recheck array is empty or null Link: https://www.geeksforgeeks.org/how-to-check-whether-an-array-is-empty-using-php/ Cách 1: Cách 2 Cách 3: 2) Removing key that has a null value in an array Tiếp theo là phần khác (update Mon 13 Dec 2021) Xoá key và value nếu value bằng null https://stackoverflow.com/questions/4352203/any-php-function-that-will-strip-properties-of-an-object-that-are-null Mình thấy kiểu trên khá hay
[Guacamole] Hướng dẫn cài đặt và sử dụng Guacamole remote windows để tạo môi trường làm việc trên cloud
1) Install guacamole on docker đầu tiên nên tạo 1 thư mục để data guacamole được tập trung ở 1 mơi nhất định Nhớ cài đocker nhé, Sau đó cài guacamole bằng docker trong thư mục có 2 folder Links github của tác giả: https://github.com/oznu/docker-guacamole The default username is guacadmin with password guacadmin. Hiện tại thì oznu không…
[Model/Laravel] hasMany Quan Hệ 1 Nhiều trong model
[Model/Laravel]hasOne – Relationship Quan hệ 1-1
Đây file Pdf các bạn nhấn hình ảnh để chuyển trang nhé Links video:
Hướng dẫn phần quền user trên Jenkins.
Ta cần tạo user để làm được bước trên Quay trở lại security: Giờ ta cấu hình permiss cho user trên 1 project/job Khi mà chúng ta đã enable như hình trên rồi thì vào job nó sẽ có mục Enable project-based security Thì chúng ta thực hiện phân quên trên từng job. Giờ chúng…