This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install AWX 17.1.0 on Ubuntu 22.04 | |
DEBIAN_FRONTEND=noninteractive | |
sudo apt update && sudo apt upgrade -y | |
# Start Python installation | |
sudo apt install python3-pip python-setuptools -y | |
# End Python installation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#run through the steps detailed here to install the odbc drivers for Ubuntu 20 | |
https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#ubuntu17 | |
#then force pecl to use 7.2 | |
sudo pecl -d php_suffix=7.2 install sqlsrv-5.3.0 | |
sudo pecl -d php_suffix=7.2 install pdo_sqlsrv-5.3.0 | |
sudo bash -c 'echo "extension=sqlsrv.so" > /etc/php/7.2/mods-available/sqlsrv.ini' | |
sudo bash -c 'echo "extension=pdo_sqlsrv.so" > /etc/php/7.2/mods-available/pdo_sqlsrv.ini' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How To Manage QMail Queue In Linux Plesk | |
Ref URL | |
---------------- | |
http://geeksterminal.com/qmail-commands-logs-plesk-server/580/ | |
https://www.24x7servermanagement.com/blog/how-to-manage-qmail-queue-in-linux-plesk/ | |
---------------- | |
1) To check the mail queue in plesk from command line, you can use the command : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Add Google Analytics tracking code to HTML response | |
# | |
# Usage: | |
# set $tracking_id 'UA-12345678-9'; | |
# include incl/analytics.conf; | |
# | |
# It needs nginx compiled with option --with-http_sub_module. | |
# Uses optimized GA code from: http://mathiasbynens.be/notes/async-analytics-snippet | |
# |