Part 2 – Linux (Fedora Core 20 32-bit and 64-bit)
For part 2 of this article, I tested out the instructions using a Fedora Core 20 installation on a virtual machine created with Oracle VirtulBox and the Fedora Core 20 (32-bit, and 64-bit) Live DVDs.
These instructions should work on most, if not all distributions of linux, if you run into any problems, please post them as comments or message me directly and I will be more than happy to assist you.
For different platforms, see the other parts of this series:
- Part 1: Cygwin (32-bit and 64-bit)
- Part 2: Linux (Fedora Core 19, 32-bit and 64-bit) (this article)
- Part 3: Mac OS X (Homebrew with Intel-based processors only)
Enable Port Forwarding on your Virtual Machine
I like to access my virtual Machine via Putty, so I set the following Port Forwarding Rules:
( Settings -> Network -> Adapter 1 -> Advanced -> Port Forwarding )
Protocol – Host IP – Host Port – Guest IP – Guest Port
TCP – 127.0.0.1 – 2222 – 10.0.2.15 – 22
(and make sure you unmount the Fedora Live Disk before restarting your virtual machine!)
Enable SSH Daemon on your Virtual Machine
Turn your virtual machine back on and login interactively and enabled SSHD via:
sudo chkconfig sshd on sudo service sshd start
Enable Sudo without password.
Start Putty and ssh in from your locahost and edit the “sudo users” file by issuing the command:
Then in the subsequent editor, uncomment the line that says:
#%wheel ALL=(ALL) NOPASSWD: ALL
%wheel ALL=(ALL) NOPASSWD: ALL
Update all Packages (may take a few minutes)
From your putty session, issue the following command to update all packages:
sudo yum update
Note: If you are getting one of those invalid certificate errors, it could be because your employer is blocking those certificates, you can get around this by modifying your /etc/yum.conf file and by adding the following line to allow unsecured ssl connections:
Install a bunch of developer tools, including GccXml:
sudo yum install gccxml git automake make cmake gcc gcc-c++ libtool
Install Reflex Reflection library
git clone git://github.com/GiannisRambo/Reflex.git cd Reflex build/autogen ./configure --enable-minimal make sudo make install echo "export LD_LIBRARY_PATH=/usr/local/lib:\$LD_LIBRARY_PATH" >> ~/.bash_profile source ~/.bash_profile
Run Sample Reflection Application
cd SampleReflectionApp make ./SampleReflectionApp
Part 2 - Linux (Fedora Core 20 32-bit and 64-bit) For part 2 of this article, I tested out the instructions using a Fedo...