Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts
Thursday, October 27, 2016
Tutorial wildcard domain SSL TLS certificates
Tutorial wildcard domain SSL TLS certificates
Subject alternate domain (a.k.a. wildcard) TLS certificates are an efficient way to protect multiple domains without having to purchase multiple certificates. Unfortunately, I had to dig quite a bit to figure out how to generate/update one using OpenSSL:
Generate a new key and cert:
Download myconfig.cnf and configure lines 127-150 and 224-230, install OpenSSL and then run:
openssl req -new -newkey rsa:4096 -keyout myprivate.key -nodes -extensions v3_req -config myconfig.cnf -out mycert.csr
Update cert (using an existing key):
openssl req -new -key myprivate.key -config myconfig_updated.cnf -out mycert_updated.csr
P.S. The wildcard domain is only single level (e.g. you cant do *.*.example.com)
P.P.S. If you set up your config file with your desired defaults, you can avoid hitting Enter for each prompt by including -batch in your openssl commands above.
Available link for download
Friday, October 21, 2016
samsung galaxy I9000 tutorial
samsung galaxy I9000 tutorial
,i have created a soft/shell which contains some tutorial for samsung galaxy I9000.
,credits to the ff..
eyestrain
samsung-firmware.com
i-thinkbig.blogspot.com(dodders)
www.gsmsandwich.com.ph
xda forum
,heres the screenshot..

,you can download the soft here.
Available link for download
Wednesday, October 19, 2016
Samsung Galaxy S3 GT I9300 Simple Tutorial Root I9300UBUGML2 Android 4 3 Firmware
Samsung Galaxy S3 GT I9300 Simple Tutorial Root I9300UBUGML2 Android 4 3 Firmware
Samsung Galaxy S3 GT-I9300- Simple Tutorial Root I9300UBUGML2 Android 4.3 Firmware,A simple method to root I9300UBUGML2 Android 4.3 Jelly Bean Firmware is now available at NasirTech. Samsung Galaxy S3 GT-I9300 recently get updated to the I9300UBUGML2 4.3 Jelly Bean Firmware. If you yet to update the firmware, then update the same by following the above link. Hope you updated this latest firmware on your device and now you can root the UBUGML2 firmware using our simple tutorial below. The below guide will help you to root I9300UBUGML2 4.3 Jelly Bean Firmware running on Galaxy S3 GT-I9300. Continue reading the tutorial for complete guide.
After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
So, want to root Galaxy S3 GT-I9300 Running I9300UBUGML2 4.3 Jelly Bean Firmware? Continue reading this page to get all the necessary steps to successfully root your device. The root file (CF-Auto-Root) we used in this tutorial is safe and have nearly 100% success rate. Well use Odin software to flash the root file.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.

After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.
Warning!
- This rooting tutorial is only applicable for Samsung Galaxy S3 GT-I9300 model (m0). So, dont try this in any other android device. Check your device model number from- Settings-About Phone.
- Rooting voids your phones manufacturer warranty. However, you can get back the warranty anytime by following proper unroot process or by flashing official firmware.
- This guide is for educational purpose and you should try this at your own risk. We are not responsible if your device experience a soft brick after following this tutorial.
Pre-Requisites:
- Check battery percentage, charge your device to a decent level of at least 60% battery power. Your device should not turn off during installation.
- Turn on USB Debugging mode, go to Settings-Developer Options-USB Debugging
- Backup important data and settings to external storage- follow this guide
- Install USB driver for your device on your computer- Download Samsung USB Driver
All the above pre-requisites are very important and must be followed before proceed to installation guide. Hope you get all the above points and done as mentioned. Now, you are ready to move to the final step of this tutorial where we have arranged a step by step details guide to root Galaxy S3 GT-I9300 running I9300UBUGML2 4.3 Jelly Bean firmware.
Steps to Root Galaxy S3 GT-I9300 Running I9300UBUGML2 4.3 Jelly Bean through Odin:
- Download CF-Auto-Root for Galaxy S3 I9300 and extract the Zip file: CF-Auto-Root-m0-m0xx-gti9300.zip
- Download Odin 3.09 and extract the Zip file: Odin3_V3.09.Zip
- Now, Switch off your phone and boot Galaxy S3 I9300 into Download Mode by pressing and holding the Volume Down+Home+Power buttons together (long press until the boot screen appear), now press Volume Up key to proceed to Download Mode.
- Run the Odin3 v3.09.exe file as an administrator (Right click on the .exe file and click on Run as administrator)
- Now connect your Galaxy S3 I9300 to your computer via USB cable
- In Odin3 screen, you should see a COM Port number like 0:[COM7] at ID:COM section and Added! text at the message box. This means your device has been detected by Odin3.
- Make sure that, only the Auto Reboot and F. Reset Time options are checked.
- Now, click on the AP button and select the CF-Auto-Root-m0-m0xx-gti9300.tar.md5 file.
- Finally, click on the Start button to begin the rooting process, wait few moments.
- Once completed, you would see PASS! message in ID:COM port having green background
- Your phone should automatically reboot after completion
- You can now disconnect your phone from computer
- Finish
Congrats! You have completed the tutorial to root Galaxy S3 I9300 running I9300UBUGML2 4.3 Jelly Bean Firmware. Hope you successfully done the rooting process. If you followed everything as mentioned in the above tutorial, then your Galaxy S3 I9300 should now rooted and you have complete control over your device. Now, install apps that ask root permission or flash various custom ROMs. To verify your device is rooted or not, you can download and run the Root Checker App from Google Play Store. If you have any doubt or query about the tutorial, feel free to contact with us using the comment form below, and share your rooting experience with us.
Available link for download
Monday, October 17, 2016
Samsung Galaxy Note 3 SM N900 Simple Tutorial how to Root N900XXUDNB2 Android 4 4 2 Firmware
Samsung Galaxy Note 3 SM N900 Simple Tutorial how to Root N900XXUDNB2 Android 4 4 2 Firmware
Samsung Galaxy Note 3 SM-N900- Simple Tutorial how to Root N900XXUDNB2 Android 4.4.2 Firmware,A simple method to root N900XXUDNB2 Android 4.4.2 KitKat Firmware is now available at NasirTech. Samsung Galaxy Note 3 SM-N900 recently get updated to the N900XXUDNB2 4.4.2 KitKat Firmware. If you yet to update the firmware, then update the same by following the above link. Hope you updated this latest firmware on your device and now you can root the XXUDNB2 firmware using our simple tutorial below. The below guide will help you to root N900XXUDNB2 4.4.2 KitKat Firmware running on Galaxy Note 3 SM-N900. Continue reading the tutorial for complete guide.
After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
So, want to root Galaxy Note 3 SM-N900 Running N900XXUDNB2 4.4.2 KitKat Firmware? Continue reading this page to get all the necessary steps to successfully root your device. The root file (CF-Auto-Root) we used in this tutorial is safe and have nearly 100% success rate. Well use Odin software to flash the root file.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.

After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.
Warning!
- This rooting tutorial is only applicable for Samsung Galaxy Note 3 SM-N900 model (ha3g). So, dont try this in any other android device. Check your device model number from- Settings-About Phone.
- Rooting voids your phones manufacturer warranty. However, you can get back the warranty anytime by following proper unroot process or by flashing official firmware.
- This guide is for educational purpose and you should try this at your own risk. We are not responsible if your device experience a soft brick after following this tutorial.
Pre-Requisites:
- Check battery percentage, charge your device to a decent level of at least 60% battery power. Your device should not turn off during installation.
- Turn on USB Debugging mode, go to Settings-Developer Options-USB Debugging
- Backup important data and settings to external storage- follow this guide
- Install USB driver for your device on your computer- Download Samsung USB Driver
All the above pre-requisites are very important and must be followed before proceed to installation guide. Hope you get all the above points and done as mentioned. Now, you are ready to move to the final step of this tutorial where we have arranged a step by step details guide to root Galaxy Note 3 SM-N900 running N900XXUDNB2 4.4.2 KitKat firmware.
Steps to Root Galaxy Note 3 SM-N900 Running N900XXUDNB2 4.4.2 KitKat through Odin:
- Download CF-Auto-Root for Galaxy Note 3 N900 and extract the Zip file: CF-Auto-Root-t03g-t03gxx-gtN900.zip
- Download Odin 3.09 and extract the Zip file: Odin3_V3.09.Zip
- Now, Switch off your phone and boot Galaxy Note 3 N900 into Download Mode by pressing and holding the Volume Down+Home+Power buttons together (long press until the boot screen appear), now press Volume Up key to proceed to Download Mode.
- Run the Odin3 v3.09.exe file as an administrator (Right click on the .exe file and click on Run as administrator)
- Now connect your Galaxy Note 3 N900 to your computer via USB cable
- In Odin3 screen, you should see a COM Port number like 0:[COM7] at ID:COM section and Added! text at the message box. This means your device has been detected by Odin3.
- Make sure that, only the Auto Reboot and F. Reset Time options are checked.
- Now, click on the AP button and select the CF-Auto-Root-t03g-t03gxx-gtN900.tar.md5 file.
- Finally, click on the Start button to begin the rooting process, wait few moments.
- Once completed, you would see PASS! message in ID:COM port having green background
- Your phone should automatically reboot after completion
- You can now disconnect your phone from computer
- Finish
Available link for download
Wednesday, September 21, 2016
Samsung Galaxy Note 2 GT N7100 Simple Tutorial Root N7100UBDMH1 Android 4 1 2 Jelly Bean Firmware
Samsung Galaxy Note 2 GT N7100 Simple Tutorial Root N7100UBDMH1 Android 4 1 2 Jelly Bean Firmware
Samsung Galaxy Note 2 GT-N7100- Simple Tutorial Root N7100UBDMH1 Android 4.1.2 Firmware,A simple method to root N7100UBDMH1 Android 4.1.2 Jelly Bean Firmware is now available at NasirTech. Samsung Galaxy Note 2 GT-N7100 recently get updated to the N7100UBDMH1 4.1.2 Jelly Bean Firmware. If you yet to update the firmware, then update the same by following the above link. Hope you updated this latest firmware on your device and now you can root the UBDMH1 firmware using our simple tutorial below. The below guide will help you to root N7100UBDMH1 4.1.2 Jelly Bean Firmware running on Galaxy Note 2 GT-N7100. Continue reading the tutorial for complete guide.
After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
So, want to root Galaxy Note 2 GT-N7100 Running N7100UBDMH1 4.1.2 Jelly Bean Firmware? Continue reading this page to get all the necessary steps to successfully root your device. The root file (CF-Auto-Root) we used in this tutorial is safe and have nearly 100% success rate. Well use Odin software to flash the root file.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.

After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.
Warning!
- This rooting tutorial is only applicable for Samsung Galaxy Note 2 GT-N7100 model (t03g). So, dont try this in any other android device. Check your device model number from- Settings-About Phone.
- Rooting voids your phones manufacturer warranty. However, you can get back the warranty anytime by following proper unroot process or by flashing official firmware.
- This guide is for educational purpose and you should try this at your own risk. We are not responsible if your device experience a soft brick after following this tutorial.
Pre-Requisites:
- Check battery percentage, charge your device to a decent level of at least 60% battery power. Your device should not turn off during installation.
- Turn on USB Debugging mode, go to Settings-Developer Options-USB Debugging
- Backup important data and settings to external storage- follow this guide
- Install USB driver for your device on your computer- Download Samsung USB Driver
All the above pre-requisites are very important and must be followed before proceed to installation guide. Hope you get all the above points and done as mentioned. Now, you are ready to move to the final step of this tutorial where we have arranged a step by step details guide to root Galaxy Note 2 GT-N7100 running N7100UBDMH1 4.1.2 Jelly Bean firmware.
Steps to Root Galaxy Note 2 GT-N7100 Running N7100UBDMH1 4.1.2 Jelly Bean through Odin:
- Download CF-Auto-Root for Galaxy Note 2 N7100 and extract the Zip file: CF-Auto-Root-t03g-t03gxx-gtn7100.zip
- Download Odin 3.09 and extract the Zip file: Odin3_V3.09.Zip
- Now, Switch off your phone and boot Galaxy Note 2 N7100 into Download Mode by pressing and holding the Volume Down+Home+Power buttons together (long press until the boot screen appear), now press Volume Up key to proceed to Download Mode.
- Run the Odin3 v3.09.exe file as an administrator (Right click on the .exe file and click on Run as administrator)
- Now connect your Galaxy Note 2 N7100 to your computer via USB cable
- In Odin3 screen, you should see a COM Port number like 0:[COM7] at ID:COM section and Added! text at the message box. This means your device has been detected by Odin3.
- Make sure that, only the Auto Reboot and F. Reset Time options are checked.
- Now, click on the AP button and select the CF-Auto-Root-t03g-t03gxx-gtn7100.tar.md5 file.
- Finally, click on the Start button to begin the rooting process, wait few moments.
- Once completed, you would see PASS! message in ID:COM port having green background
- Your phone should automatically reboot after completion
- You can now disconnect your phone from computer
- Finish
Congrats! You have completed the tutorial to root Galaxy Note 2 N7100 running N7100UBDMH1 4.1.2 Jelly Bean Firmware. Hope you successfully done the rooting process. If you followed everything as mentioned in the above tutorial, then your Galaxy Note 2 N7100 should now rooted and you have complete control over your device. Now, install apps that ask root permission or flash various custom ROMs. To verify your device is rooted or not, you can download and run the Root Checker App from Google Play Store. If you have any doubt or query about the tutorial, feel free to contact with us using the comment form below, and share your rooting experience with us.
Available link for download
Sunday, September 18, 2016
Samsung Galaxy Note 3 SM N900 Simple Tutorial Root N900XXUCMK2 Android 4 3 Jelly Bean Firmware
Samsung Galaxy Note 3 SM N900 Simple Tutorial Root N900XXUCMK2 Android 4 3 Jelly Bean Firmware
Samsung Galaxy Note 3 SM-N900- Simple Tutorial Root N900XXUCMK2 Android 4.3 Jelly Bean Firmware,A simple method to root N900XXUCMK2 Android 4.3 Jelly Bean Firmware is now available at NasirTech. Samsung Galaxy Note 3 SM-N900 recently get updated to the N900XXUCMK2 4.3 Jelly Bean Firmware. If you yet to update the firmware, then update the same by following the above link. Hope you updated this latest firmware on your device and now you can root the XXUCMK2 firmware using our simple tutorial below. The below guide will help you to root N900XXUCMK2 4.3 Jelly Bean Firmware running on Galaxy Note 3 SM-N900. Continue reading the tutorial for complete guide.
After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.

So, want to root Galaxy Note 3 SM-N900 Running N900XXUCMK2 4.3 Jelly Bean Firmware? Continue reading this page to get all the necessary steps to successfully root your device. The root file (CF-Auto-Root) we used in this tutorial is safe and have nearly 100% success rate. Well use Odin software to flash the root file.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.

After updating official firmware, your device no longer belongs to rooted device. So, after official firmware update, many of us prefer to root our device to enjoy some additional features that unrooted android device doesnt offer. With a rooted android device, you can install apps that ask root permission, flash various custom ROMs, install MODs and tweak various features. Root removes default bloatware apps that free-up lots of memory space and extend the battery life. However, once rooted, manufacturer warranty will be void. But you can regain the warranty by following proper unroot process. To know more about benefits of rooting android device, read- Complete Note on What is Rooting and Benefits of Rooting Android Phone.
So, want to root Galaxy Note 3 SM-N900 Running N900XXUCMK2 4.3 Jelly Bean Firmware? Continue reading this page to get all the necessary steps to successfully root your device. The root file (CF-Auto-Root) we used in this tutorial is safe and have nearly 100% success rate. Well use Odin software to flash the root file.
The tutorial is made with simple step by step guide, so that even an android newbie user can follow and successfully root his/her device. However, in this process you may loss your personal data and settings. So, we recommend you to follow all the backup instructions before proceed to rooting guide.
Warning!
- This rooting tutorial is only applicable for Samsung Galaxy Note 3 SM-N900 model (ha3g). So, dont try this in any other android device. Check your device model number from- Settings-About Phone.
- Rooting voids your phones manufacturer warranty. However, you can get back the warranty anytime by following proper unroot process or by flashing official firmware.
- This guide is for educational purpose and you should try this at your own risk. We are not responsible if your device experience a soft brick after following this tutorial.
Pre-Requisites:
- Check battery percentage, charge your device to a decent level of at least 60% battery power. Your device should not turn off during installation.
- Turn on USB Debugging mode, go to Settings-Developer Options-USB Debugging
- Backup important data and settings to external storage- follow this guide
- Install USB driver for your device on your computer- Download Samsung USB Driver
All the above pre-requisites are very important and must be followed before proceed to installation guide. Hope you get all the above points and done as mentioned. Now, you are ready to move to the final step of this tutorial where we have arranged a step by step details guide to root Galaxy Note 3 SM-N900 running N900XXUCMK2 4.3 Jelly Bean firmware.
Steps to Root Galaxy Note 3 SM-N900 Running N900XXUCMK2 4.3 Jelly Bean through Odin:
- Download CF-Auto-Root for Galaxy Note 3 N900 and extract the Zip file: CF-Auto-Root-t03g-t03gxx-gtN900.zip
- Download Odin 3.09 and extract the Zip file: Odin3_V3.09.Zip
- Now, Switch off your phone and boot Galaxy Note 3 N900 into Download Mode by pressing and holding the Volume Down+Home+Power buttons together (long press until the boot screen appear), now press Volume Up key to proceed to Download Mode.
- Run the Odin3 v3.09.exe file as an administrator (Right click on the .exe file and click on Run as administrator)
- Now connect your Galaxy Note 3 N900 to your computer via USB cable
- In Odin3 screen, you should see a COM Port number like 0:[COM7] at ID:COM section and Added! text at the message box. This means your device has been detected by Odin3.
- Make sure that, only the Auto Reboot and F. Reset Time options are checked.
- Now, click on the AP button and select the CF-Auto-Root-t03g-t03gxx-gtN900.tar.md5 file.
- Finally, click on the Start button to begin the rooting process, wait few moments.
- Once completed, you would see PASS! message in ID:COM port having green background
- Your phone should automatically reboot after completion
- You can now disconnect your phone from computer
- Finish
Congrats! You have completed the tutorial to root Galaxy Note 3 N900 running N900XXUCMK2 4.3 Jelly Bean Firmware. Hope you successfully done the rooting process. If you followed everything as mentioned in the above tutorial, then your Galaxy Note 3 N900 should now rooted and you have complete control over your device. Now, install apps that ask root permission or flash various custom ROMs. To verify your device is rooted or not, you can download and run the Root Checker App from Google Play Store. If you have any doubt or query about the tutorial, feel free to contact with us using the comment form below, and share your rooting experience with us.
Available link for download
Tuesday, August 30, 2016
Download BrightCove videos tutorial
Download BrightCove videos tutorial
Update: The download method described in my original post no longer works. It looks like theyve updated their delivery system to incorporate additional security measures. Fortunately, theres an easier rtmpdump method that still works:
0. if you dont already have it, install the rtmpdump suite:
sudo apt-get install rtmpdump1. open a terminal and become root:
sudo su - root2. create a firewall rule to temporarily redirect TCP traffic to a custom port:
iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner ! --uid-owner root -j REDIRECT3. run a (cleverly named) companion program in the rtmpdump package that sniffs traffic for streaming video
rtmpsuck4. minimize the root terminal window and then open (or refresh) the video page in your browser and play the video
5. bring up the root terminal window and when it says "Closing connection... done!" (or the video finishes playing) press Ctrl+C to stop rtmpsuck
6. the video will have been saved in the root users home directory; move it to tmp (note: if the source video is flv, swf, etc. you will need to change the extension in the command below)
mv ~/*.mp4 /tmp7. delete the temporary firewall rule
iptables -t nat -D OUTPUT -p tcp --dport 1935 -m owner ! --uid-owner root -j REDIRECT8. close the root terminal window and enjoy your video!
P.S. This works for other video sites as well, such as News and Sports broadcasts.
______________________________
Legacy (non-working) instructions for reference:
KeepVid makes it super easy to download videos from Youtube, Dailymotion, Metacafe, and iFilm, but it doesnt support BrightCove.
Most BrightCove flash-based videos have an HTML5 (iPad/iPhone) alternate so the process is a little technical but relatively easy to do. But what if you follow those instructions and no HTML5 video appears? Well, that means there is no HTML5 alternate. In that case, the process gets a little harder but not impossible:
1. Install rtmpdump: sudo apt-get install rtmpdump
2. In Chrome, press F12 to open the browser developer tools and click on the Network tab
3. Start playing the video and look for entries in the Network list that start with 9.gif?a=
4. Click on one and view the Headers and it should look something like this (color-coded to highlight important info):
https://ma156-r.analytics.edgekey.net/9.gif?a=P~b=6ca41fbb12c742746~c=B52593FBC2ADBE676E7B7420EBF8913D8734A47F~d=C95E2AB3C06C42881C40741832462822EC385E99~e=2~f=R~g=0~h=1.2~i=1.1~k=B98698AD2185209EFAAC0ADFB1D982CFF7C42761~ag=www.lds.org~al=Linux~_cd_1557=624246188001~m=PL~n=52386913.1305:9~r=43657:9~s=43423:9~t=30064770995:9~u=0~v=4592~w=6087~x=5174~y=4591~z=0~aa=cp168414.edgefcs.net~ac=&mp4:66852713001/66852713001_2008369076001_2007-04-004-the-district-2-episode-1-8000k-eng.mp4~ad=1935~ae=rtmp~af=https://sadmin.brightcove.com/%5B%5BIMPORT%5D%5D/79423.analytics.edgekey.net/csma/brightcove/BrightcoveCSMALoader.swf~ai=Mozilla/5.0%20(X11;%20Linux%20x86_64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Ubuntu%20Chromium/30.0.1599.114%20Chrome/30.0.1599.114%20Safari/537.36~aj=11,2,202,310~ak=Flash_PlugIn~am=D~an=309~ao=607~ap=916~ar=0~at=Chrome%2030~au=1425*469~aw=rtmp://cp168414.edgefcs.net/ondemand/&mp4:66852713001/66852713001_2008369076001_2007-04-004-the-district-2-episode-1-8000k-eng.mp4?__nn__=1701429841001&slist=66852713001/&auth=daEbuc0awbycaa1bTbaaxcucucxdqcdavbh-bsJdpa-bWG-knzAtqvy_yDyr_umE_AEvA_GsD&aifp=bcosldsuds~ay=csma-3.4.6:brightcoveLoader-1.0.27~az=1.0~ba=900000~cm=Akamai~da=0~db=164.0757:9~dc=0~dd=0~de=0~dg=0~dh=0~dl=43657:9~dn=0:9~do=0~dp=0~dq=3764582~du=72000:9~dv=1~dx=5.166~ea=10~eb=1:0.0051~en=The%20District%202%20Episode%201~fb=0~fd=0~fe=0~ff=0~fg=0,0,0,0~fh=0,0,0,0~fi=8317000:0:5169::1~fj=8317000:5169~fl=42990573000:5169
5. Stop the video playing in the browser
6. Open a command prompt and craft a rtmpdump command like:
rtmpdump -r "rtmp://cp168414.edgefcs.net/" -y "mp4:66852713001/66852713001_2008369076001_2007-04-004-the-district-2-episode-1-8000k-eng.mp4" -a "ondemand?auth=daEbuc0awbycaa1bTbaaxcucucxdqcdavbh-bsJdpa-bWG-knzAtqvy_yDyr_umE_AEvA_GsD&aifp=bcosldsuds&slist=66852713001/" -o my_downloaded_video.mp4
That should connect to the video server and begin downloading the file!
Once done, feel free to create a DVD
Available link for download
Labels:
brightcove,
download,
tutorial,
videos
Wednesday, August 17, 2016
Drupal Storage API and AWS S3 tutorial
Drupal Storage API and AWS S3 tutorial
By default, Drupal supports a local public and private file system for storing user uploaded files (images, pdfs, etc.). While it works well for most use cases, there are disadvantages. For example, its nearly impossible to switch from public to private or vice versa. Once you make your choice, youre stuck with it. Also, its somewhat limiting in the modern cloud era with cheap 3rd party cloud storage. If you have disk space constraints and are considering moving your files to the cloud, the two most popular active Drupal options are S3 File System (s3fs) and Storage API (storage).
s3fs module
Pros:
- Active development (three main developers)
- Uses the official AWS SDK (version 2 only, though)
- Easy to set up and use
- Provides a migrate mechanism
- Vendor lock-in (only supports AWS S3)
- Name conflicts with other unrelated s3fs projects
- Doesnt support advanced CSS/JS aggregation
- Manual file metadata cache refreshing required (issues with modules like imce)
- AWS S3 has noticeable performance issues (thumbnail creation, initial page load, etc.)
- No documented recommendations for dev/stage/prod workflow (all sites sharing one bucket)
- Bucket tagging via the Drupal config not supported
storage module
Pros:
- Supports multiple vendors (AWS S3, Rackspace, FTP)
- Supports CSS/JS aggregation natively
- Provides a migrate mechanism
- More flexible, modular architecture allows for future growth and enhancements
- De-duplication saves disk space and money
- Smart cron workflow allows fast local thumbnail creation/image viewing and lazy uploading to AWS S3
- Support for AWS CloudFront (CDN) so no performance problems
Cons:
- Harder to initially set up (somewhat confusing terminology and outdated documentation)
- Semi-actively developed by only two main developers
- Custom module-coded implementation of the AWS S3/CloudFront API (instead of the official SDK) so future Amazon API updates may break the module until updated
- xmlsitemap support currently requires a patch
- Dynamic image styles (e.g. responsive images) requires additional setup
- No imce support
- No documented recommendations for dev/stage/prod workflow (all sites sharing one bucket)
- Doesnt work with PostgreSQL
- Bucket tagging via the Drupal config not supported
After weighing the pros and cons, I eventually decided to go with Storage API. Heres how to migrate an existing site file system to AWS S3 using that module:
1. Download the necessary modules: drush dl imageinfo_cache storage_api-7.x-1.x-dev storage_api_stream_wrapper-7.x-1.x-dev storage_api_populate-7.x-1.x-dev
2. If needed, apply patch for xmlsitemap
3. Optionally apply this fix to suppress a false positive nag error
4. Enable the modules: drush en storage storage_stream_wrapper storage_api_populate imageinfo_cache
5. Go to /admin/config/media/file-system and change the default download method to Storage API (public or private depending on your site needs)

6. Now, for the somewhat labor-intensive step: update all your content type fields that rely on the file system to use Storage API. For example, edit the Article Drupal content type (/admin/structure/types/manage/article/fields) and edit the Image field and change the upload destination to Storage API (public or private depending on your site needs)

7. Once all your content types are updated to use Storage API, youre ready to have your existing files managed by Storage API. Go to /admin/structure/storage/populate and check Migrate all local files and Confirm and then click Start

8. After the process update completes, you can disable the populate module: drush dis storage_api_populate
9. Now that all your static files are managed by Storage API, you need to migrate your dynamic image styles: drush image-generate Choose all for any prompts:

10. Once the image styles have been generated (which may take a while to complete), youre ready to verify the migration. Move everything in the sites files directory except the storage folder and the .htaccess file to a temporary backup location and then run drush cc all && drush cron
11. Now, verify the site functions normally.
Congratulations, youve updated your site to use Storage API!
...But youre probably thinking, "Okay, so whats the big deal? The site looks the same and it just seems like all the files moved into a new folder called storage. So what?!"
...But youre probably thinking, "Okay, so whats the big deal? The site looks the same and it just seems like all the files moved into a new folder called storage. So what?!"
Well, get ready to experience the awesome power of Storage API by migrating your file system to AWS S3! (or you could just as easily move them to Rackspace, etc. using the same process...)
1. First, youll need an AWS account with IAM permissions to create S3 buckets and use CloudFront:
{
"Statement": [{
"Sid": "ModifyAssets",
"Action": [
"s3:DeleteObject",
"s3:DeleteObjectVersion",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectVersion",
"s3:GetObjectVersionAcl",
"s3:PutObject",
"s3:PutObjectAcl",
"s3:PutObjectVersionAcl"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::yourbucketname/*"
]
}, {
"Sid": "BucketRights",
"Action": [
"s3:ListBucket",
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::*"
]
}]
}
{
"Sid": "Stmt1450391402000",
"Effect": "Allow",
"Action": [
"cloudfront:CreateDistribution",
"cloudfront:CreateInvalidation",
"cloudfront:DeleteDistribution",
"cloudfront:GetDistribution",
"cloudfront:ListDistributions",
"cloudfront:UpdateDistribution",
"cloudfront:ListInvalidations"
"cloudfront:ListStreamingDistributions"
],
"Resource": [
"*"
]
}
2. Once the account is created with the necessary IAM permissions, youll need to create an access key:


3. Once you have your access key ID and Secret, go to your Drupal site and browse to /admin/structure/storage/create-container
4. Choose Amazon S3 from the service dropdown and click Next
5. Provide your access key ID, Secret, and a globally unique bucket name (I recommend a name that does NOT include a dot [.] since thats interpreted as a subdomain). In addition, select the AWS region you want to create the bucket in. Finally, make sure to check the Serve with CloudFront checkbox (note: streaming with CloudFront is out of scope for this tutorial). You can optionally select the Reduced redundancy checkbox for cheaper 99.99% durability. Then click Create.

Note: it may take up to 20 minutes for the CloudFront processing to complete on the AWS backend but you can continue the setup process below immediately:
6. Go to /admin/structure/storage/create-class and give it a descriptive name like "Cloud" (keep Initial container Filesystem for performance reasons) and then click Create class

Note: like others, I have no idea what the other checkboxes do so leave them unchecked.
7. On the subsequent screen, choose Amazon S3 (the container you created in the step above) from the dropdown and then click Add

8. Now, go to /admin/structure/storage/stream-wrappers and click edit for Public, Private, or both (depending on your use case) and change the Storage class to Cloud



9. Finally, run drush cron to actually push your local files to the AWS S3 bucket. This may take a while so I strongly recommend using drush instead of the Drupal web interface to run cron.
10. Verify the site functions as expected. The images should now be served from amazonaws.com or cloudfront.net
11. Celebrate faster page load times and more file system redundancy! Also, now that your files are in S3, you can even set up a backup strategy for Infrequent Access or Glacier.
Available link for download
Subscribe to:
Posts (Atom)