Posts

Showing posts with the label ubuntu

Enable Jetpack on Amazon Bitnami Wordpress using XMLRPC

 How to Enable Jetpack and Wordpress Connection in Amazon bitnami First step is to Allow xmlrpc.php or you will get a 403 forbidden error. Steps: cd /opt/bitnami/ sudo vim ./apache/conf/vhosts/wordpress-vhost.conf ./apache/conf/vhosts/wordpress-https-vhost.conf find this part:     <Files xmlrpc.php>     Order Allow,Deny     Deny from all     </Files> change it to:     <Files xmlrpc.php>     Order Allow,Deny     Allow from all     </Files> Restart your bitnami services Optional Steps  sudo apt-get update  sudo apt-get install php-xmlrpc  sudo cp /usr/lib/php/20220829/xmlrpc.so /opt/bitnami/php/lib/php/extensions  ls -al /opt/bitnami/php/lib/php/extensions  sudo chmod 755 /opt/bitnami/php/lib/php/extensions/xmlrpc.so   ls -al /opt/bitnami/php/lib/php/extensions  sudo /etc/init.d/bitnami stop  sudo /etc/init.d/bitnami start

Use Postfix to Relay Mail Thru Godaddy SMTP Servers

Image
How to Install and Configure Postfix to Relay Thru Godaddy SMTP postfix logo If you have an Asterisk server on Amazon ECS, you need a means to send voicemails out to email. Use postfix with a godaddy smtp server and your godaddy email credentials. First you need to install ubuntu on an amazon ecs virtual machine. Start by setting up their free tier ubuntu 18 LTS server.  Then you need to use apt-get to install postfix and mailutils. To install the required items: apt install postfix apt install mailutils apt install cyrus-sasl-plain Finally install some configuration files. First file to work on is /etc/postfix/main.cf suppose your server is called asterisk.elevendimensions.com and your domain is called elevendimensions.com.   Do not change the default hostname that amazon ecs gives you.  While installing postfix, the initial dialog will ask you what kind of site to setup. Choose "internet site" you will only be using this service to send and relay o...

How to Convert Apple QuickTime .MOV files to H264 on Ubuntu command line like a boss

Image
Convert Your Bloated Apple QuickTime .MOV videos to H264 .MP4 with ffmpeg Everybody knows that Apple QuickTime is an outdated and bloated video format that requires extra codecs to play on Windows 7 and 10, plus you need Apple Itunes or Apple QuickTime to play it back.  On Windows 7 and 10, you also need VLC media player or the codec pack to play it back with Windows Media player.  It's so bloated that a 3 minute video can easily fill up 1 GB of disk space.  Plus native QuickTime can easily fill up your icloud account.  Furthermore, it's an outdated format that will soon be obsolete. So, convert the videos to H264 video to compress down to 1/10 the file size and be playable on Windows Media Player and be ready for upload to YouTube.  Compress it and reduce the frame rate with ffmpeg to reduce the file size by 95% or more. First thing you need is Ubuntu 14 to 16+ LTS running on a decent core i7 machine with at least 4 cores. Then once you get that, you need...

Conversion of .MOV and .AVI files to .MP4 using VLC and ffmpeg

Image
Here's How I Convert Apple Quicktime .MOV and Windows .AVI Video to .MP4  Introduction Many Apple devices shoot video in H265 hvec, mpeg-h video format, and contain them in dual stream format where Stream 0 is H265 video and Stream 1 is MPEG AAC (mp4a) audio.  The file container is .MOV.  Other formats substitute H264 video for stream 0.  The results is what they call "Quicktime".  Other non Apple devices such as Sony Handycams and Mavicas store their video with a .AVI format. This container has JPEG video.  For all these weird and outmoded formats, you can convert them to more modern MPEG-4 video and MP3 audio, or H264 video with MP3 audio. Choose your codecs from this list .   This blog entry has examples of how to convert videos with VLC command line and ffmpg command line.  If this blog entry is helpful or you know of a better way, please say so in the comments. -- Thanks Guys! Convert it using MSDOS Batch Scripting and VLC player ...

My tcpdump cookbook - favourite examples

Image
Use the tcpdump command on linux to monitor network traffic. Here are some of my favourite recipies for tcpdump success.  My little cookbook shows typical TCPDump tasks. 0) Monitor Web Traffic 1) Monitor web service traffic on an apache server. given that your server has an eth0 network port. If your web client device is at 192.168.99.10, this following command will monitor all traffic from that device that enter eth0 on port 80. tcpdump -i eth0 -vvv tcp port 80 and src 192.168.99.10 Options:  -vvv       Verbose dump of network headers                 -i           network interface selector                 -A         Display all cleartext packet details. (optional) 1)Dump SIP Traffic from eth0 E...