Simply run ./upgrade.sh
.
Make sure to run shutdown -r now
after completing installation.
Also, use lshw -C network
to verify the driver installation.
If the driver is still outdated after reboot, make sure /etc/modules
contains e1000e
.
#!/usr/bin/env bash | |
# Installs Docker on Debian Linux | |
echo "Installing Docker..." | |
set -e | |
# Install distribution packages. | |
sudo apt-get update | |
sudo apt-get -qq install ca-certificates curl gnupg lsb-release |
#!/usr/bin/env bash | |
# Installs Docker on Ubuntu Linux | |
echo "Installing Docker..." | |
set -e | |
# Install distribution packages. | |
sudo apt-get update | |
sudo apt-get -qq install ca-certificates curl gnupg lsb-release |
"use client"; | |
/* eslint-disable @next/next/no-img-element */ | |
import Link from "next/link"; | |
import { useState, useEffect } from 'react'; | |
import { | |
AppBskyFeedDefs, | |
AppBskyFeedPost, | |
type AppBskyFeedGetPostThread, | |
} from "@atproto/api"; |
server { | |
listen 80 default_server; | |
server_name readydedis.com www.readydedis.com; | |
return 301 https://readydedis.com$request_uri; | |
} | |
# HTTPS server | |
# | |
server { | |
listen 443; |
location ~ /clients/admin/(client!\.php|client/(.*)|table/(.*)|search!\.php|search/(.*)|apps|billing|setup|user|services|addons|domains|utilitiesemailmarketer!\.php|utilities/(.*)|logs|help!\.php|help/license|modules|image/(recent|upload)|validation_com/(.*))/?(.*)$ { | |
rewrite ^/(.*)$ /clients/admin/index.php?rp=/admin/$1/$2; | |
} | |
location ~ /clients/(images/em|invoice|domain|login|invite|password|account|store|download|knowledgebase|announcements|clientarea/ssl-certificates|user/(verification|accounts|profile|password|security|verify)|cart/(domain/renew)|domain/pricing|cart/order|images/kb)/?(.*)$ { | |
rewrite ^/(.*)$ /clients/index.php?rp=/$1/$2; | |
} | |
location ~ /clients/auth/manage/client/links/?(.*)$ { | |
rewrite ^/(.*)$ /clients/index.php?rp=/auth/manage/client/links$1; |
<?php | |
/** | |
* Clean WHMCS Logs | |
* | |
* Based on the script by @linux4me at: | |
* https://whmcs.community/topic/289637-database-cleanup-operations-tbllog_register-and-tblactivitylog/ | |
* | |
* This script deletes records from the WHMCS `tbllog_register` table that are older than the specified date. | |
* This is useful for keeping the database size down because WHMCS adds records every 5 minutes when the cron runs. | |
* |
if [ -f /var/run/rebooting-for-updates ]; then | |
# start from where we left off on reboot | |
sed -i '/bash/d' ~/.zshrc | |
sudo rm -f /var/run/rebooting-for-updates | |
echo "continuing after shell reload.." | |
else | |
echo "running script for the first time" |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Server-sent events demo (Centrifugo)</title> | |
<!-- style the indicators: -isonline, -islive, isrequest, progress bar --> | |
<style> | |
.label { border-radius: 0.1rem; padding: .1rem .2rem; background: #f0f1f4; color: #5b657a; display: inline-block; } | |
.label.label-success { background: #32b643; color: #fff; } |