Create image

1. format SD Card

2. create sparsbundle

3. copy sparsebundle to SD

VMware

4. create custom virtual machine

5. Remove Sound Card, USB Controller, Printer; set to 4 processor cores, 1536 MB Memory; reduce disk size to 16GB; set CD / DVD to start from CentOS iso; set network interface to no bridging and NAT traversal > do not have separate NIC

6. install CentOS 7

7. finally encrypt virtual machine

http://fortysomethinggeek.blogspot.ch/2014/09/proper-way-to-run-tor-and-tails-in.html

Tor > install either Tor OR Tor Browser

vi /etc/yum.repos.d/torproject.repo

[tor]
 name=Tor repo
 enabled=1
 baseurl=https://deb.torproject.org/torproject.org/rpm/el/7/$basearch/
 gpgcheck=1
 gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
[tor-source]
 name=Tor source repo
 enabled=1
 autorefresh=0
 baseurl=https://deb.torproject.org/torproject.org/rpm/el/7/SRPMS
 gpgcheck=1
 gpgkey=https://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc
  • yum install tor
  • service tor start

 

Tor Browser

yum install xz

wget https://www.torproject.org/dist/torbrowser/5.0.3/tor-browser-linux64-5.0.3_en-US.tar.xz

unzx tor-browser-linux64-5.0.3_en-US.tar.xz

tar xvd tor-browser-linux64-5.0.3_en-US.tar

cd /home/tor/tor-browser_en-US/Browser

./firefox: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21‘ not found (required by ./firefox)

strings /usr/lib64/libstdc++.so.6 | grep GLIBC

GLIBCXX_3.4.13
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.4
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

 

strings /home/tor/tor-browser_en-US/Browser/TorBrowser/Tor/libstdc++.so.6 | grep GLIBC

GLIBCXX_3.4.20

GLIBCXX_3.4.21

GLIBC_2.3

GLIBC_2.2.5

GLIBC_2.3.2

GLIBCXX_FORCE_NEW

GLIBCXX_DEBUG_MESSAGE_LENGTH

 

ftp://www.rpmfind.net/linux/RPM/mageia/cauldron/x86_64/media/core/release/firefox-41.0-2.mga6.x86_64.html
rpm2cpio chrome-deps-stable-3.11-1.x86_64.rpm | cpio -idmv
mv libstdc++.so.6 /usr/lib64/

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/libstdc++.so.6.0.21
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH://home/tor/tor-browser_en-US/Browser/TorBrowser/Tor/libevent-2.0.so.5