Blog

GENERAL

Pixar’s Universal Scene Description- Setup

My post on setting up Universal Scene Description on CentOS

Code-CG

usdview

Universal Scene Description (USD) is an efficient, scalable system for authoring, reading, and streaming time-sampled scene description for interchange between graphics applications. A preview build is available for early adopters, here.

There are two tarballs available for download, usd-20151216.tar.gz which includes the USD libraries, and deps-vfx2015.tar.gz which includes all the dependent libraries required by USD.

If you wanna get this up and running without taking the pain to read through the detailed setup instructions, you may download the following gist and run as root. Don’t forget to add the following line to your ~/.bashrc

As per the package README, the pre-built binaries expect to find library dependencies in /opt/pixar/usd-vfx2015. I went ahead with the recommended install location.

The default shell for CentOS is bash. So if you are haven’t changed to any other shell, you can add the following line to your ~/.bashrc file so that the environment…

View original post 307 more words

Advertisements
Tech

Hosting Private Torrent Tracker on AWS

Disclaimer: The creator of this page does not support piracy, take no responsibility for the way you use the information provided in this page. The post is meant as a guide for those looking to share private files using their own tracker.

In this post, we will take a look at how to host your own private torrent tracker on Amazon Cloud. We will be using opentracker, an open and free tracker written by Dirk Engling. You can read more about opentracker here.
I am going forward with the assumption that you are new to AWS. In case you already have an EC2 instance up and running, you can skip to “Installing Opentracker” section.

Setup an EC2 Instance
Sign in to your AWS account. Its recommended to create an IAM(Identity and Access Management) User to setup an instance.

Log out of your current session, navigate to the url below replacing your_aws_account_id. Login using the credentials you created earlier.

https://your_aws_account_id.signin.aws.amazon.com/console/

Once logged in, you need to create a key pair for accessing your account.

keypair_1
Choose “Create Key Pair” under Key Pairs

Save the key, and change the key permissions.


chmod 400 your_user_name-key-pair-region_name.pem

We need to define a security group for the EC2 instance we will be launching later.

security_group
Choose “Create Security Group” under Security Grorups

We are ready to launch our EC2 instance now.

Your EC2 instance will be up and running in couple of seconds.

Installing Opentracker
Ssh in to your EC2 instance using the key you downloaded earlier.

ssh -i your_user_name-key-pair-region_name.pem ubuntu@your_instance_public_dns

The Public DNS can be found under your instance detail page. Instances

Once logged in, run the following commands to install the tools required to build Opentracker.

sudo apt-get update
sudo apt-get install make gcc cvs git supervisor libz-dev
# Create a new directory called opentracker
mkdir ~/opentracker
cd ~/opentracker
cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
cd libowfat
make
cd ..
git clone git://erdgeist.org/opentracker
cd opentracker

Opentracker lets you run your tracker in a closed mode using a whitelist of torrent hashes. To enable this, you need to edit the Makefile and enable the commented out line listed below.

FEATURES+=-DWANT_ACCESSLIST_WHITE

Now run make to build Opentracker. By default there will be two binaries created, opentracker and opentracker.debug. You may use opentracker.debug to verify if the application launches without errors. If you have enabled the whitelist option, create a file named whitelist.list in the opentracker directory.

touch /home/ubuntu/opentracker/opentracker/whitelist.list
/home/ubuntu/opentracker/opentracker/opentracker.debug -p 6969 -d /home/ubuntu/opentracker/opentracker -u ubuntu -w whitelist.list -A 127.0.0.1

Now its time to set up Opentracker as a service using supervisord. Start supervisord using the following command.

sudo service supervisor start

Create a new file named /etc/supervisor/conf.d/opentracker.conf and add the following lines.

[program:opentracker]
command=/home/ubuntu/opentracker/opentracker/opentracker -p 6969 -d /home/ubuntu/opentracker/opentracker -u ubuntu -w whitelist.list -A 127.0.0.1
autostart=true
autorestart=true
logfile=/var/log/opentracker.log

Run the following commands to reread the config and update the service.

sudo supervisorctl reread
sudo supervisorctl update

You may use applications like Deluge to create your own torrent. Make sure to include your private tracker to the list of trackers when you create one.

http://your_instance_public_dns:6969/announce
GENERAL

Home Office Setup

Read more about this on by build page @ Pc Part Picker

Processed with VSCOcam with hb2 preset
Home Office Setup
Photography

Singapore Marina Bay Timelapse

Shot this one during my recent trip to Singapore.