Home Posts About Admin

None Next

linux monitoration - grafana and promethus

June 20, 2024, 12:48 p.m. by lufy, 0 comment(s)

Overview grafana: for display to the web promethus: for data collection and provide data source to grafana node_exporter: for export mon data of linux os So you need a server, for hosting your grafana and promethus. node_exporter should run on machines you want to monitor. How to: Installa... Full text

Nginx easily solves cross-domain issues

June 18, 2024, 3:16 p.m. by lufy, 0 comment(s)

This is the most useful post I've read when I met a CORS problem. Refrinted from https://medium.com/@hubian/nginx-easily-solves-cross-domain-issues-009b95a5185e When you encounter a cross-domain problem, don’t immediately choose to copy it and try it. Please read this article in detail befor... Full text

Flask-Login User Authentication

Nov. 22, 2022, 12:01 a.m. by lufy, 1 comment(s)

Original link: https://www.askpython.com/python-modules/flask/flask-user-authentication Flask User Authentication – How to Setup User Login in Flask? In this article, we will code Flask user authentication using the Flask-Login Library and SQLAlchemy. So let’s get start... Full text

Huawei ipmitool commands

Sept. 14, 2022, 12:10 a.m. by lufy, 0 comment(s)

Start a Huawei server with ipmitool: ipmitool -H <server ibmc ip> -I lanplus -U root -P Huawei12#$ power on Other commands ipmitool -I lanplus -H myserver.example.com -P mypass chassis power on Powers on the server. ipmitool -I lanplus -H myserver.exampl... Full text

cockpit and nginx reversed proxy

May 31, 2022, 11:35 p.m. by lufy, 0 comment(s)

I was trying to make my intranet cockpit web console accessed via Internet, I set up nginx proxy just as other intranet web sites like file server, the cockpit login interface appeared finely in the Internet, but when I tried to logon, it just refreshed, not logged in. After I searching on bing.com,... Full text

How to Introduce a Operating System

April 15, 2022, 2:06 a.m. by lufy, 0 comment(s)

For sharing of friday ... A outline was made, hardly. Operating System Overview- Computer System    - Overview    - System Startup    - System Storage Structure    - System I/O Structure- Operating System    - What Operating System Do    ... Full text

helm install mysql pending

April 13, 2022, 9:27 p.m. by lufy, 0 comment(s)

After a lot efforts, I deployment my k8s cluster on 2 vms. But the yaml file is too many argument for me to maintenence. I heard helm from a friend. But the 1st chart I installed by helm, not works well. The reason is clear: persistentvolumeclaims is pending, "no persistent volumes available for thi... Full text

k8s operation commands

April 8, 2022, 10:11 p.m. by lufy, 0 comment(s)

1. Print join command: kubeadm token create --print-join-command2. Re-init kubenetskubeadm reset... Full text

K8s deployment problems I met

April 13, 2022, 9:14 p.m. by lufy, 0 comment(s)

systemctl start kubelet failed, journalctl -xeu kubelet show the fail message: Failed to run kubelet" err="failed to run Kubelet: misconfiguration: kubelet cgroup> The whole log should be misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd" I l... Full text

linux mint remote desktop

March 12, 2022, 11:31 p.m. by lufy, 0 comment(s)

Ah, just give up setting vncs on linux mint cinnamon. I tried vnc on linux mint for several nights and finally failed. I finally tried remote desktop application, by the followed cmds, and worked finely sudo apt install xrdp xorgxrdp -y echo env -u SESSION_MANAGER -u DBUS_SESSION_BUS_ADDRESS cinn... Full text

None Next

Powered by Blog