Site Tools


linux:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:ubuntu [2025/02/17 23:37] – created - external edit 127.0.0.1linux:ubuntu [2026/01/11 18:57] (current) – [Install Brave Browser] Name
Line 23: Line 23:
 2.1T    6783bc23-58cd10f8-12df-b8ca3a70f900 2.1T    6783bc23-58cd10f8-12df-b8ca3a70f900
 270.0M  8a2baa01-4b42f3b7-1a9b-75cfe518d634</code> 270.0M  8a2baa01-4b42f3b7-1a9b-75cfe518d634</code>
 +
 +====Configure NTP====
 +<code>Ubuntu 24.04.1
 +To check Ubuntu version
 + lsb_release -a
 +sudo apt update -y
 +sudo apt upgrade -y
 +sudo apt install chrony -y
 +sudo nano /etc/chrony/chrony.conf
 + Configure NTP servers
 + add
 + allow
 + or add
 + allow 192.168.1.0/24
 + or add
 + allow 192.168.1.1/24
 + save and quit
 +sudo systemctl restart chrony.service
 +sudo chronyc
 + sources
 + View NTP sources and statrum status
 + exit
 +
 +Configure firewall
 +sudo ufw allow 123/udp</code>
 +
 +====IPv4 Static Config===
 +<code>network:
 +    version: 2
 +    renderer: networkd
 +    ethernets:
 +        ens33:
 +            addresses:
 +                - 10.30.10.62/24
 +            nameservers:
 +                search: [vsphere.local]
 +                addresses: [10.30.10.1]
 +            routes:
 +                - to: default
 +                  via: 10.30.10.1</code>
 +====IPv6 DNS Config====
 +<code>root@dns:/etc/netplan# cat 00-interfaces.yaml 
 +network:
 +    version: 2
 +    ethernets:
 +      ens34:
 +        dhcp4: no
 +        dhcp6: no
 +        addresses:
 +            - 2001:db8:1776:3000:a:ca:0:1f/112
 +        accept-ra: true
 +        nameservers:
 +            addresses:
 +                - 10.31.11.31
 +                - 2001:db8:1776:3000:a:ca:0:1f
 +            search:
 +                - ciscoworldtour.com
 +        routes:
 +            - to: default
 +              via: 2001:db8:1776:3000:a:ca:0:1
 +              metric: 1
 +              on-link: true
 +
 +root@dns:/etc/netplan# netplan apply
 +
 +https://black.host/hc/vps-hosting/enabling-ipv6-on-ubuntu-22-04-with-netplan/</code>
 +
 +
 +====Get A Youtube Channel's Videos====
 +  - Install yt-dlp
 +    - <code>sudo apt-get -y install yt-dlp</code>
 +  - Run yt-dlp and save the output to a text file
 +    - <code>yt-dlp --flat-playlist --print title "https://www.youtube.com/@DergEnterprises" > file.txt</code>
 +  - Wait for process to complete.
 +  - View file
 +    - <code>cat file.txt</code>
 +====Install Curl====
 +<code>sudo apt-get -y install curl</code>
 +
 +====Install Brave Browser====
 +  - Install Curl
 +  - Download and install Brave Browser with Curl
 +    - <code>sudo curl -fsS https://dl.brave.com/install.sh | sh</code>
 +  - Run Brave Browser
 +    - <code>brave-browser</code>
 +    - or navigate the Application Menu\\ 
 +
 +Full yt-dlp documentation at [[https://github.com/yt-dlp/yt-dlp#readme|GitHub link]]\\ 
 +
 +====Install VLC====
 +<code>sudo snap install vlc</code>
 +
  
 ====Backlinks==== ====Backlinks====
 [[:linux|Linux]] [[:linux|Linux]]
linux/ubuntu.1739835430.txt.gz · Last modified: by 127.0.0.1