HowTo install pcntl
php -v
wget http://php.net/distributions/php-7.4.27.tar.gz
tar zxvf php-7.4.27.tar.gz
ll
cd php-7.4.27/ext/pcntl
phpizeHowTo install pcntl
php -v
wget http://php.net/distributions/php-7.4.27.tar.gz
tar zxvf php-7.4.27.tar.gz
ll
cd php-7.4.27/ext/pcntl
phpize| # Amount of needed Firefox profiles | |
| $amount=2 | |
| # if ( Test-Path -Path "C:\Program Files\Mozilla Firefox\" ){ | |
| # curl.exe -O firefox.exe https://download.mozilla.org/?product=firefox-latest-ssl&os=win64&lang=uk | |
| # } | |
| # Create $amount profiles | |
| while($num -lt $amount){ |
mysqldump --routines --single-transaction EventLogging | gzip -c > eventlogging.sql.gz
gunzip < /tmp/eventlogging.sql.gz | mysql -u root -p EventLoggingFor big backup file
mysql -u root -p
set global net_buffer_length=1000000; --Set network buffer length to a large byte number| # Get info | |
| Get-VM -VMname * | Select-Object VMname,State,AutomaticStartAction #,AutomaticStartDelay,AutomaticStopAction | |
| # Start all VMs that must be running | |
| Get-VM -VMname * | Select-Object VMname,State,AutomaticStartAction | ` | |
| Where-Object {($_.State -eq 'Off') -and ($_.AutomaticStartAction -eq 'Start')} | ` | |
| select -ExpandProperty VMname | Start-VM | |
| # Turn off critical VMs | |
| Get-VM -VMname * | Select-Object VMname,State,AutomaticStartAction | ` |
| version: "3" | |
| services: | |
| mongo: | |
| image: mongo:latest | |
| restart: always | |
| volumes: | |
| - ./db:/data/db | |
| pritunl: |
This will allow you to match incoming mail by regex and redirect it to any other mail but will break the Catch-ALL rule in the Aliases.
(Assume that you are root and repo was cloned into the /root/mailcow-dockerized)
Override main.cf
nano /root/mailcow-dockerized/data/conf/postfix/extra.cfSource https://devopscube.com/how-to-setup-and-push-serverapplication-logs-to-aws-cloudwatch/
sudo yum install collectd
sudo yum install amazon-cloudwatch-agent
sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-config-wizard
ll /opt/aws/amazon-cloudwatch-agent/bin/config.json
sudo cp /opt/aws/amazon-cloudwatch-agent/bin/config.json /opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json
sudo systemctl start amazon-cloudwatch-agent.service
sudo systemctl status amazon-cloudwatch-agent.service