ASTRO
    • Ubuntu
    • WordPress
    • MicroK8s
    • Docker
    • Kubernetes
    • PyTorch
    • Gradio
    • Flask
    • Ngnix
    • VMWare
    • Let’s Encrypt
    • Ingress

ASTRO

  • How to Switch Namespace in Kubernetes

    How to Switch Namespace in Kubernetes

    [Refer To] https://kubernetes.io/zh-cn/docs/reference/kubectl/cheatsheet/ You can switch current namespace with: Check if it works: Also, you can unset current namespace with:

  • Build a Gradio APP on Kubernetes Using Docker

    Build a Gradio APP on Kubernetes Using Docker

    Gradio Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere! Let’s write a simple gradio app This will use webcam as input and output live stream in the output window. Build with docker Let’s start with writing a Dockerfile: NOTE: requirements.txt…

  • Change Ingress Nginx Controller to Another Port

    Change Ingress Nginx Controller to Another Port

    Modify Nginx Ingress Config First, check out you nginx-ingress-controller’s name with: You should see somthing like this. Now, use kubectl -n <nginx-ingress-namespace> edit ds <nginx-ingress-name> -o yaml to modify the listening port. For example, according to above outputs, the command should be kubectl -n ingress edit ds nginx-ingress-microk8s-controller -o yaml:

  • Install MicroK8s On Ubuntu22.04

    Install MicroK8s On Ubuntu22.04

    Install MicroK8s: You can simply follow the instruction on ubuntu initial setup as follow If you already setup your system, you can install it in snap store or with: NOTE: You may need to configure your firewall to allow pod-to-pod and pod-to-internet communication. Join the group: MicroK8s creates a group to enable seamless usage of…

  • Extending a Logical Volume In a Virtual Machine Running Ubuntu

    Extending a Logical Volume In a Virtual Machine Running Ubuntu

    What is LVM? LVM(Logical Volume Manager) is a system of managing logical volumes, it provides an additional layer of abstraction to the traditional disk partitioning system, enabling advanced storage management and efficient allocation of disk space. [Refer To] https://kb.vmware.com/s/article/1006371 This article provides steps for extending the root partition residing in a logical volume created with Logical…

  • Request a Let’s Encrypt Certificate  Use DNS-01 Challenge Via acme.sh

    Request a Let’s Encrypt Certificate Use DNS-01 Challenge Via acme.sh

    If you don’t have access to port 80 or 443 on your server, which means you can’t do TLS challenge. This article may help. Install acme.sh or: or: root is recommended. Get a Certificate If you don’t have access to port 80, but not port 443. You can issue a TLS-ALPN-01 challenge: If you don’t…

  • Install WordPress On Ubuntu22.04 Using LAMP Stack With HTTPS

    Install WordPress On Ubuntu22.04 Using LAMP Stack With HTTPS

    [Refer To] https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview This tutorial assume you own domain name is example.com, and want to access WordPress via port other then 80/443. Install Dependencies Install WordPress Configure Apache for WordPress Create Apache site for WordPress. Create /etc/apache2/sites-available/wordpress.conf with following lines: NOTE: You probably need DNS-01 challenge to request a certificate from Let’s Encrypt. Enable the site with:…

«Previous Page
1 2
    • RSS Feed
    • GitHub

© 2023-2024 ASTRO

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here: Cookie Policy.

Accept
365
Go to mobile version