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
.
<?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; } |
#!/usr/bin/env bash | |
# | |
# Pixel.horse Easy Installer | |
# | |
# Drop this script into a folder you want to spin up Pixel.horse in, then run it! | |
# - Pull the script to a local file (i.e. click the "Raw" button on the top right) | |
# - Run `chmod a+x ./this_script_name.sh` | |
# - Run `./this_script_name.sh` as your regular user (not root) | |
# | |
# |
https://demo.azuracast.com/ | |
tls self_signed | |
root src | |
redir / https://azuracast.com/ 302 | |
log stdout | |
errors stdout |
# What is This Script? | |
# This script allows you to broadcast your AzuraCast radio signal to a remote video stream, using a | |
# static video file that loops in the background and dynamically writing the currently playing track | |
# on top of that video file. | |
# | |
# This script replaces the previous "radio-video-stream" project, allowing you to manage files directly from | |
# within AzuraCast and not requiring any changes to your Docker configuration at all. | |
# | |
# To use this script, you must be running at least AzuraCast 0.19.0 or a later Rolling Release version. | |
# |
#!/usr/bin/php | |
<?php | |
/* Yes this is terribly cobbled togethor, no there are no tests, it does what it needs to do, | |
which is to allow you to dump a bind format zonefile over the WHM API, and to update a | |
WHM domain from a bind zonefile, over the API, so you only need usual WHM access, resellers are fine. */ | |
if(count($argv) < 2) | |
{ | |
echo "\nBind To/From WHM API, Especially For Resellers\n"; |
Taking Gmail as an example, put the following into /etc/postfix/main.cf
.
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = plain
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_use_tls = yes
smtp_tls_security_level = encrypt