Install Jupyter notebook on Ubuntu 24.04 and allow remote access.

References: Vultr How to Install Jupyter Notebook on Ubuntu 24.04 https://docs.vultr.com/how-to-install-jupyter-notebook-on-ubuntu-24-04 Prerequisites Ubuntu 24.04 Internet access Install Jupyter Notebook with pip Update the APT package index: sudo apt update Install the virtualenv package: sudo apt install python3-virtualenv -y Create a virtual environment: virtualenv jupyter_env Activate the virtual environment: source jupyter_env/bin/activate Install Jupyter Notebook: pip install jupyter Verify the installed version: jupyter-notebook --version You can deactivate the virtual environment at any time by running deactivate. ...

Ubuntu Server Notes

This note records the notes that need to be set when using Ubuntu daily. systemd-networkd-wait-online.service systemd-networkd-wait-online.service is a service unit of Systemd, mainly used to wait for the network connection to be ready when the system starts. Function: This service will wait for systemd-networkd to complete the network configuration and confirm that at least one network interface is online before it is marked as ready, allowing other network-dependent services to start. By default, it monitors all network interfaces managed by systemd-networkd until the connection is successful or times out. ** FAQ **: If DHCP takes a long time to obtain an IP, the system startup may be stuck in this service; when there is no network connection, it may also wait until it times out. ** optimization method **: You can adjust the timeout, disable services, or check the network configuration. Adjust timeout Set TimeoutStartSec to 2sec: ...

Pangolin installation and usage demonstration

Pangolin installation and usage demonstration Prerequisites In order to follow the operation and configuration instructions in the video, the following conditions are optional. Video content: https://www.bilibili.com/video/BV1cAJHz8EAj/ A cloud server with an independent public IP address a domain name A Linux server running in the local LAN (the blogger’s is Ubuntu 20.0.1) A Windows computer running Ollama/Deepseek keep smiling Figure: Simple illustration Introduction Project: https://docs.fossorial.io/overview With Pangolin at its core, the Fossorial system is a self-hosted tunnel reverse proxy with identity and access management capabilities designed to securely expose private resources through an encrypted WireGuard tunnel running in user space. Imagine a self-hosted Cloudflare tunnel. Pangolin uses Traefik under the hood for the actual HTTP proxy. The Badger plugin provides a way to authenticate each request using Pangolin. The second service, Gerbil, provides a WireGuard management server that Pangolin can use to create peers to connect to. Finally, there’s Newt, a CLI tool and Docker container that connects to Newt and Gerbil entirely in user space via WireGuard and proxies your local resources. This means you don’t need to run a privileged process or container to expose your service! ...

Installation of ERPNext in Ubuntu 24.04 LTS Notes Step by Step

Article Directory | Table of Contents Introduction to ERPnext Prerequisites Installation steps Summary & Quotes Prerequisites | System environment requirements Ubuntu 24.04 A user with sudo privileges Python 3.11+ pip 20+ MariaDB 10.3.x Node.js 18 Yarn 1.12+ Hardware requirements 2 Process 2 Core 4GB ram 40GB Storage Intenet Installation Steps | Installation Steps Package upgrades and creating new users Update and Upgrade Packages sudo apt-get update -y && sudo apt-get upgrade -y Create a New user ...

Linux common command notes

Linux is really easy to use Compared with Windows, Linux’s efficiency is really great. In order to prevent myself from forgetting the commands I used and to avoid having to look for them everywhere in a hurry, I wrote down a note. I’ve been busy with other things lately~ November is coming to an end so quickly, so I’ll post this in a timely manner. Vim configuration The following command can align the VIM editor and highlight the input cursor ...

Setting Up SMB Service on Ubuntu 18.04

Setting Up SMB Service on Ubuntu 18.04 Table of Contents Install SMB and enable the SMB server and restart it. Add an SMB user. Edit the SMB configuration file. Permission configuration: Read (R) Read/Write (RW) Firewall configuration. Visit the SMB server on your local network. Install SMB server sudo apt update sudo apt install samba sudo systemctl enable smbd sudo systemctl restart smbdAdd an SMB user sudo smbpasswd -a usernameEdit the SMB configuration file sudo vim /etc/samb/smb.conf[WiKiFolder_for_Client] comment = Shared Folder path = /home/username/wiki browseable = yes valid users = @username[WiKiFolder_for_Client]: The name of the shared folder being defined. ...

Flash OpenIPC firmware onto SigmaStar SSC335 SoC and Sony IMX307 IPC module.

Flash OpenIPC firmware onto SigmaStar SSC335 SoC and Sony IMX307 IPC module. Requirements IPC module USB to TTL cable Windows laptop or computer Running a TFTP server on your Windows computer Results IPC module specifications Flash: GD25Q64CSIG: https://www.digikey.cn/zh/products/detail/gigadevice-semiconductor-hk-limited/GD25Q64CSIG/9484942 Soc: SigmaStar SSC335 https://linux-chenxing.org/infinity6/ssc335_pb_v03.pdf Sensor: 1/2.8" 2MP CMOS Sony IMX307 LAN Windows computer TFTP SERVER directory structure The “bin” directory serves as the current directory for the TFTP server, used to store firmware files. Disable the firewall on the Windows computer and run tftp64.exe. ...

Share an Old Printer on Your Local Network - CUPS

In this article, I will share with you about my second time installing CUPS on Ubuntu. Requriement Ubuntu 18.04 LTS Install on an Old Computer Canon E410 Series Printer Internet CUPS Installation and Configuration Step by Step Install CUPS on your system #install cups sudo apt-get install cups cups-pdf cups-bsd Back up the configuration file #copy configuration file sudo cp /etc/cups/cupsd.conf cupsd.conf.bak Editing the CUPS configuration file #add user simith to lpadmin group sudo usermod -aG lpadmin simith #edit cupsd.conf sudo vim cupsd.conf Edited cupsd.conf contents. (Configuration options not mentioned should be left as default.) #allow access port Port 63100 LogLevel warn PageLogFormat MaxLogSize 200 # Show shared printers on the local network. Browsing on BrowseLocalProtocols dnssd # Web interface setting... WebInterface Yes # Restrict access to the server... <Location /> Order Allow,deny Allow @LOCAL Allow From 127.0.0.1 Allow From 192.168.0.0/16 </Location> # Restrict access to the admin pages... <Location /admin> #access user simith can visit admin page Require user simith Order Allow,deny Allow @LOCAL Allow 127.0.0.1 Allow From 192.168.0.0/16 </Location> # Restrict access to configuration files... <Location /admin/conf> AuthType Default Require user simith Order allow,deny Allow @LOCAL Allow 127.0.0.1 Allow From 192.168.0.0/16 </Location> # Restrict access to log files... <Location /admin/log> AuthType Default Require user simith Order allow,deny Allow @LOCAL Allow 192.168.0.0/16 </Location> Restart CUPS service and add to starup sudo systemctl restart cups sudp systemctl enable cupsEnd Finally, you can visit the Ubuntu IP address and configuration ...

Nssm installs system services in Windows operating system

Because the Frp client was started using batch processing before, every time the computer is restarted, it needs to wait until you log in before it can be started. The purpose is to start the Frp client directly after the operating system starts. In order to solve this problem, use nssm to install the Frp client into the windows service and start it as a service. In this way, it can be started directly after the computer starts. ...

SoftEther VPN Server Ubuntu Installation Notes

SoftEther is an open source VPN project developed by the University of Tsukuba, Japan. You can freely use it to set up a virtual LAN for your home or company. It has multi-platform servers and clients, and a convenient and simple operation interface, which has been loved by many people. Next, let’s learn how to do it with me. Introduction to SoftEther https://www.softether.org/9-about SoftEherDownload https://www.softether.org/5-download Server environment Ubuntu 16.4.1 & Centos 7.6 ...

搜尋文章

輸入標題、分類或文章內容

Plz typing to search for articles.