Vyatta – Basic Configuration after installation

Vyatta – Basic Configuration after installation for Lazy Geeks 🙂

Lazy Geek -:)

Vyatta is a routing/firewall/VPN platform based on a Debian GNU/Linux that runs on x86 or amd64 hardware and many virtual machine hypervisors. It is widely used in cloud infrastructure. It is appreciated by its robustness, reliability and the services it provides. Vyatta is more like IOS, JunOS and other enterprise platforms.

Scenario:

We’ll use the following scenario, to understand the basic configuration of vyatta.

vyatta

Booting the Vyatta:

After starting the Vyatta machine. It should go through the usual Linux boot process. Log in with the username vyatta and the password vyatta (or any other password that you have configured during the installation).

1

View original post 558 more words

Installing R on Ubuntu 12.04

Installing #R #Rstudio on #Ubuntu, pretty well explained!

Notes on Ubuntu (Linux) computing

I install R using the instructions at cran.r-project.org (direct link to instructions). At the website, click ‘Download R for Linux’ then ‘ubuntu’ to get the most up-to-date instructions. Following these instructions, my process was as follows:

Add the repository, using the CRAN server of your choice (I use UCLA here) and the appropriate Ubuntu version (I use precise for Ubuntu 12.04):

For security, get the key and add it to your keyring (NOTE: the CRAN website says that some people are having issues with this step — if the commands here do not work for you, check there for latest information):

Next, update and install (the documentation says you might want to install r-base-dev as well, but I found this package is already included using the commands below):

Installing packages

To install package not in the base set, use the following commands

Now, inside R, install package packagename

View original post 112 more words

Here’s Proof That Facebook Knows You Better Than Your Friends

A Proof That Facebook Knows Us Better Than Your Friends and Family ?!!

TIME

Nobody knows us better than our family and friends, right? Who else could predict how we’ll react to good and bad news, or whether to pick the pie or ice cream for dessert?

Facebook, for one. Researchers at the University of Cambridge and Stanford University studied how Facebook Likes matched up with people’s own answers on personality tests, as well as those of their close family and friends. With enough Likes of objects, brands, people, music or books, the computer was better at predicting a person’s personality than most of the people closest to them—with the exception of spouses. (They still know us best, it seems.)

MORE:Why a Facebook ‘Sympathize’ Button Is a Terrible Idea

Wu Youyou, a PhD student in the Psychometrics Center at the University of Cambridge, and her colleagues had previously investigated how computer models could predict demographic and psychological traits in people. But inspired by…

View original post 594 more words

How a little open source project came to dominate big data

How a little open source project came to dominate big data!

Fortune

There are countless open source projects with crazy names in the software world today, but the vast majority of them never make it onto enterprises’ collective radar. Hadoop is an exception of pachydermic proportions.

Named after a child’s toy elephant, Hadoop is now powering big data applications at companies such as Yahoo [fortune-stock symbol=”YHOO”] and Facebook [fortune-stock symbol=”FB”]; more than half of the Fortune 50 use it, providers say.

The software’s “refreshingly unique approach to data management is transforming how companies store, process, analyze and share big data,” according to Forrester analyst Mike Gualtieri. “Forrester believes that Hadoop will become must-have infrastructure for large enterprises.”

Globally, the Hadoop market was valued at $1.5 billion in 2012; by 2020, it is expected to reach $50.2 billion.

It’s not often a grassroots open source project becomes a de facto standard in industry. So how did it happen?

‘A market that…

View original post 1,040 more words

Kernel 3.2+: Hide Processes From Other Normal Users!

In a multi-user system it was always possible for any user to list all running processes on the system whether or not these processes belong to the user!linuxkernel32rc6_dh_fx57

With linux kernel 3.2+ (RHEL/Centos 6.5+) there is a new added feature to give the root a full control over this issue where root will be the one who can list all running processes and all users will only list their own processes no more.

New mounting option: hidepid

The new option defines how much info about processes we want to be available for non-owners.The value of it will define the mode in mounting as follow:

hidepid=0 – The old behavior – anybody may read all world-readable /proc/PID/* files (default).

hidepid=1 – It means users may not access any /proc/ / directories, but their own. Sensitive files like cmdline, sched*, status are now protected against other users.

hidepid=2 It means hidepid=1 plus all /proc/PID/ will be invisible to other users. It compicates intruder’s task of gathering info about running processes, whether some daemon runs with elevated privileges, whether another user runs some sensitive program, whether other users run any program at all, etc.

This could be done through the command line as follow

# mount -o remount,rw,hidepid=2 /proc

Or by updating /etc/fstab

# vi /etc/fstab

proc    /proc    proc    defaults,hidepid=2     0     0

This will need # mount -a   to just re-read /etc/fstab

References:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0499680a42141d86417a8fbaa8c8db806bea1201

Which is cheaper for your work — Amazon or Google Cloud? Ask Cloudyn

Finally it is a legitimate competition .. #Amazon AWS Vs #Google GCE !!

Gigaom

Cloudyn , which has offered  a cloud monitor and cost allocation service for Amazon(s amzn) Web Services, is adding support for Google Compute Engine(s goog). Not only that, it will look at your workloads and advise you when it might be cheaper to run it in, say, Google vs. AWS or vice versa, the first of several cloud monitoring and cost analysis companies to offer that capability, said Cloudyn CEO Sharon Wagner.

This is the latest sign that while Google’s cloud may be a feisty upstart compared to market leader Amazon, it’s getting some good looks from third-party partners and customers. Rightscale, a multi-cloud analysis and monitoring system was early to this game, not only supporting Google cloud last year but becoming an early reseller.

But back to Cloudyn. It’s done the research, Wagner told me. “We took 500 clients from our installed base and looked at how they could…

View original post 299 more words