My Tech Note's

Mês: Maio 2015

Compile iDeviceRestore on Linux

This is a guide to compiling iDeviceRestore by @p0sixninja on debian linux. It has been tested on Ubuntu 12.04 (and even the raspberry pi on raspbian!) and is working.

  1. Do any required upgrades on apt.
    sudo apt-get update
    sudo apt-get upgrade
    
  2. First, we need to get the dependencies
    sudo apt-get install build-essential automake cmake \
    libreadline6 autotools-dev libcurl4-openssl-dev autoconf \
    libplist1 libplist-utils libplist-dev libplist++-dev \
    libzip-dev git curl libgnutls-dev libreadline-dev libusb-dev \
    libtool libusb-1.0-0-dev libusbmuxd-dev libglib2.0-dev libimobiledevice-dev
    
  3. Install libirecovery
    mkdir ~/idevicerestore
    cd ~/idevicerestore
    git clone http://git.sukimashita.com/libirecovery.git
    cd libirecovery
    ./autogen.sh
    make && sudo make install
    
  4. Finally to get idevicerestore
    cd ~/idevicerestore
    git clone git://github.com/tcf38012/idevicerestore.git
    cd idevicerestore
    ./autogen.sh
    make && sudo make install
    sudo ldconfig
    
  5. Also, you might want iDeviceactivate, to activate after you have restored
    cd ~/idevicerestore
    git clone http://github.com/posixninja/ideviceactivate.git
    cd ideviceactivate
    make
    

 

soure

Using raspberrypi as a DLNA Media Server

I have a  Samsung TV. So the whole explanation below is based on this TV. I guess that it will also work for the other TV’s.

The solution given below is done with MediaTomb DLNA server.

$ sudo apt-get install mediatomb

$ vim /etc/mediatomb/config.xml

remove the comment tags around the <custom-http-headers> section and make that section look like this:

<custom-http-headers>
<add header=”transferMode.dlna.org: Streaming”/>
<add header=”contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000″/>
</custom-http-headers>

Under <mappings>, add

<map from=”avi” to=”video/mpeg”/>

<map from=”mkv” to=”video/mpeg”/>

save and close config.xml and restart mediatomb

$ vim /etc/default/mediatomb

Add additional option

OPTIONS=” –port 49152 “

$ /etc/init.d/mediatomb restart

And now, open with firefox http://ip_raspberrypi:49152 and tell it where to start looking for files.

NGINX Plus Release 6 with Enhanced Load Balancing, High Availability, and Monitoring Features

Well!
I can’t afford a NGINX Plus yet! :)
I might need to have one in one year of thing work out like I want!

NGINX Plus looks hot!

demo-nginx-1024x708

New “Least Time” Load-Balancing Algorithm

R6Blogvisual-01-1024x590

Full-Featured TCP Load Balancing

R6Blogvisual-02-1024x361

High Availability

R6Blogvisual-03-1024x468

source

© 2020 Sec&Stuff&Others

Theme by Anders NorenUp ↑