Home | Posts RSS | Comments RSS | Login

[virtual box] HOWTO: Use Shared Folders

Monday, March 22, 2010

HOWTO: Use Shared Folders

Postby Sasquatch » 27. Mar 2009, 21:14
After installing the Guest Additions, you can use the Shared Folders Functionality. To access them, you have to define at least one in the VM settings. Open the VM Settings and go to Shared Folders. You can define them there. Click on the Add button and browse for a folder you want to share. Make sure that the name of the share doesn't contain any illegal characters like white spaces. Keep the name as simple as possible. In this howto, I will use the name share.

Now that you have defined a SF, it's time to mount it. Boot the Guest and open a terminal. Create a folder where you will mount it on. E.g. in your home folder. I will use ~/host for the mount point.
Now mount it with the following command:
Code: Select all   Expand viewCollapse view
sudo mount -t vboxsf share ~/host

Note that with this, the default mount options are used and all files are owned by root. This can be changed by adding some mount options. Options are passed on with the -o parameter. You can use multiple options with one parameter, seperate the values with a comma. See the man page of mount for more info on which options you can use. The User Manual also notes the options compatible with the Shared Folders. To mount the SF so that you are the owner of the files, use this command:
Code: Select all   Expand viewCollapse view
sudo mount -t vboxsf -o uid=1000,gid=1000 share ~/host

If you want to have it mount automatically upon each boot, put the mount command in /etc/rc.local (Debian based distro's), or whatever script is run at the end of the boot process. The Shared Folders service should mount them automatically, but that doesn't always happen.
Using /etc/fstab has little effect, because that file is processed before the SF module is loaded and will fail to mount the share. Sometimes, the share does get mounted because the GA check for it when they are loaded upon boot, but it's very flaky, meaning it doesn't work most of the time. You're better of with the first option.
When you put the mount command in /etc/rc.local, so it's mounted at startup, you can't use the short notation for your home folder. During startup, everything is done through the root user, so using ~ for home, means it's the home folder of Root (/root). Change it to the full path. For example:
Code: Select all   Expand viewCollapse view
mount -t vboxsf share /home//host


Troubleshooting
Q: I get a protocol error when mounting.
Q: I get the error /sbin/mount.vboxsf: mounting failed with the error: No such device.
A: You mount the SF on a mount point with the same name as the share itself, change the name or mount point.
A: You're sharing a personal folder like your Home Folder (Linux), or My Documents (Windows) on the Host. Define a new share, like a sub folder.

Q: I get an error "Unexpected error: Text file busy." when trying to edit a file.
A: When using gedit, this can happen on shared folders. This is a bug in gedit, not VB. Use a different editor.
Read the Forum Posting Guide before opening a topic.
VB FAQ: Check this before asking questions.
User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions + Xorg config
Howto: Use Shared Folders
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

M.I.T. Researchers Create Molecular Chips

Tuesday, March 16, 2010
DESCRIPTIONmit.edu
Before you read on, take a guess what the image above might be. Go on, I’ll wait.
Nope, it’s not a fence seen from above, or a close-up photo of some spaghetti.
It’s a magnified picture of a computer chip made up of hundreds of tiny molecules.
As devices continue to get smaller, universities and private technology companies have continued to build smaller computer chips. But the miniaturization techniques they currently use, which date back more than 50 years, are reaching their limits and may not continue to work for much longer.
To keep technology moving forward, researchers at the Massachusetts Institute of Technology have developed a new technology using what they call “copolymers” that will allow chip manufacturers to take molecules and arrange them into complex patterns on silicon chips.
Karl Berggren, an associate professor of electrical engineering, describes the copolymer technique with an analogy from the movie “Midnight Run,” in which a bounty hunter and white-collar criminal “are handcuffed together but can’t stand each other.” Mr. Berggren explains that the molecules make an attempt to stay away from each other and “arrange themselves into predictable patterns.”
In the past, the idea of self-assembling molecular chips would require a place for the molecules to go, sometimes including a trench etched into the chip. This new technique uses what researchers call “hitching posts,” which give the molecules somewhere to attach to make the needed shapes.

Apple Hires Wearable Computing Engineer

Head-mounted apple displaysU.S. Patent & Trade Office An image from an Apple patent for a head-mounted display.
Apple has hired Richard DeVaul, a veteran of the wearable computing field and co-founder of AWare Technologies, a technology company focused on creating products for the fitness and “wellness” markets.
According to Computerworld, Mr. DeVaul will be a senior prototype scientist at Apple, presumably working on some of the technologies he discusses on his blog:
I’m an expert in signal processing and real-time statistical classification techniques. This means that I know how to make tiny computers do “thin slicing,” as popularized in Malcolm Gladwell’s “Blink.” It’s all about extracting the small pieces of information that are most meaningful.
What does this work mean for us mere mortals? According to Mr. DeVaul’s LinkedIn page, he received a Ph.D. in media arts and sciences from the Massachusetts Institute of Technology and while there worked on a project called “The Memory Glasses,” which offered real-time memory support that could “improve your performance on a memory recall task by a factor of about 63 percent without distracting you.”
In other words, these fancy glasses could probably help you remember where you left your car keys.
While at M.I.T. he also worked directly with Professor Alex Pentland in the Human Dyanmics group. This group works on the intersection of humans and technology, and using sensors and the data that these wearable devices can share, to try to predict human behavior.
Although wearable computers are not necessarily a new idea, Apple helped push the concept further into the mainstream in 2006 when it partnered with Nike to introduce the Nike+ line of sneakers. This product wirelessly connects to an iPod and tracks the distance and pace of a person’s run.
There’s no telling what’s next for Apple and this market. Maybe we’ll finally see a pair of wearable iPod glasses based on a series of 2008 patents for head-mounted displays. Or maybe the company will try to create new additions to the iPhone by offering attachments and sensors. One thing’s for sure, these technologies will continue to spread into our clothing, sneakers and maybe even our glasses.

how to improve your CORE 2 DUO processors in Ubuntu

Monday, March 1, 2010

Changing the default 'generic' kernel to 'server' kernel

If you install Ubuntu from the live cd or alternate install cd, the 'generic' kernel would be installed by default. The 'generic' kernel focuses on i586 and i686 CPU architectures. But if you have a newer CPU, like Pentium 4 HT, Dual Core or Core2Duo, you might want to install the 'server' kernel to improve your PC performance. The 'server' kernel focuses on i686 architectures and posses some unique advantages over 'generic' kernel in case of task management.

Note that you should not change the default kernel if you don't have a CPU that belong in the families stated above. And also be aware of the fact that kernel changing might cause big problems in your computer [such as making the system unstable!].

Here is the complete walkthrough of changing your kernel:

1. Disable any proprietory video card driver that you are using. You must do this, otherwise your computer could not start X after enabling the new kernel.

2. Open Synaptic package manager and select the following packages for installation
  • linux-server
  • linux-headers-2.6.24-17-server
  • linux-headers-server
  • linux-image-2.6.24-17-server
  • linux-image-server
  • linux-restricted-modules-2.6.24-17-server
  • linux-restricted-modules-server
  • linux-ubuntu-modules-2.6.24-17-server
3. Now install these packages by clicking 'Apply'

4. Restart your computer upon completation of download and installation

5. From System > Administration > Hardware Driver menu, enable the proprietory video card driver that you have disabled previously. You might have to restart your PC again.

6. Its all done. You can check your kernel version by typing 'uname -r' in the terminal.

You might want to uninstall the old generic kernel packages to free up your hard drive space. In that case, open Synaptic package manager and mark these packages for complete removal:

  • linux-generic
  • linux-headers-2.6.24-17-generic
  • linux-headers-generic
  • linux-image-2.6.24-17-generic
  • linux-image-generic
  • linux-restricted-modules-2.6.24-17-generic
  • linux-restricted-modules-generic
  • linux-ubuntu-modules-2.6.24-17-generic
After uninstalling these packages, restart your computer. Now you won't see option for 'generic' kernel boot in the GRUB.

为什么要选择做环网生意

80后的赚钱方式和理念:secondpulse@gmail.com


为什么要选择做环网生意


(生意介绍)




(1) InetGlobal公司建立于1998年,已有10年历史。是一家互联网服务公司。


(2) 在全球范围内有25万客户。


(3) 每年有6千万美金的在线销售额。


(4)
利用互联网建立了面向全球的客户市场,并提供了网上营销的全方位服务(产品)。包括:(1)网上营销训练系统;(2)域名注册;(3)网站设计;(4)群
发邮件;(5)邮件自动回复系统;(6)网络服务器;(7)博客(Blog)服务;(8)网上支付系统(shopping cart);
(9)网站链接;(10)网上会议系统。(11)个人生意24小时在线后台管理办公室。(12)发行全球通用现金卡(与银行和MASTCARD信用卡公司
合作,印有MASTCARD标记,证明信用很好)。事实证明这个现金卡非常好用(包括在中国的各大银行提款,在商场购物刷卡都非常顺畅)。(13)还有即
将开通的网上旅游服务等。


(5) 在美国商业信用局BBB网站可查到对该公司的评估报告,上面说:在过去三年里,没有任何不良记录和投诉。证明该公司信誉很好,可以信赖。


(6) 公司的理念是:创建全球最大的在线广告平台,为客户拓展全球市场,提高知名度,提供最优质的服务。


(7) 公司的目标:创建全球最大的在线广告平台,创建全球顶级的搜索引擎。


(8) 目前这个部门ADpacs(在线广告推广部)08年8月初成立,发展空间很大,可以抢得先机。据美国市场研究公司eMarketer公布的数据称:2008年美国网络广告市场的总收入将达到300亿美元。因此这个部门的成立是顺应了在线广告市场的发展趋势。


(9)
个生意就是吸引全球对这个行业有兴趣的人加入进来,建立自己的人脉网络,一起参与广告的点击工作。我们可从公司的奖励计划中获得丰厚的利润;公司的广告平
台通过我们遍布全球的人脉网络点击后,点击率迅速增加,其价值也倍增。广告客户会越来越多,赚取的广告费也会越来越多;广告客户也通过我们的点击,广告的
浏览量也迅速提高,同时,广告客户也利用公司的技术和和点击率,将自己不太知名的网站和产品快速提高其知名度和快速放到google广告的免费首页中。因
此,这是一个三赢的生意。


(10) 我们是以优惠广告客户的身份加入进来,首先要购买$2000的广告空间,用以刊登我们自己的广告。同时,你可以得到公司其它产品的免费使用,可以免费下载使用公司的各种培训,可以免费销售公司的产品并赚取收入,可以免费利用公司提供的资源去建立自己的网上生意。


(11) 因为我们是优惠客户,又参与了广告的点击工作,为公司的发展做出了贡献。公司每天将以我们购买广告空间的费用乘以0.3%的速度将本金全部返还给我们。而我们所获得的丰厚奖励将通过我们建立的网络获得。


(12)
个生意可以不需要面对面,全程网上操作。每天每个人的工作就是花10分钟点击20个广告。如果你想赚更多的钱,就把这个简单的动作告诉更多的人(详情请看
奖励计划,让人兴奋),每天大家都来做同样的简单动作,每个人都不会赔钱,所以不会有人走掉。网络稳健。有一句话说的好:钱能留住经销商,产品能留住顾
客。


(13) 公司为每一个人设立了网上银行并为每个人提供了一张现金卡,每天赚到的钱都在网上银行的帐号里,你可以每天很顺利的把钱由网上银行转到你的现金卡中,这样你可以很方便的在当地的银行取到当地的货币(按当天的汇率),你的利益得到了充分的保障。


(14) 公司有大量的无形产品没有有形产品,所以没有物流,节省了营销成本。


(15) 这个生意利用互联网,可以做到任何一个国家,任何一个城市。让你的收入真正来自世界各地。


(16) 可以利用本公司提供的全球通用的现金卡,方便地在世界各地付账,提款。资金流非常顺畅。


(17) iNETGlobal不仅为全球客户提供了宣传自己,提高自己知名度的机会和平台,还为人们推广介绍这个机会和平台,提供了简单快速的赚钱机会。真是两全其美。


(18) 对于做网络的精英和执着者,公司提供了施展其领袖才能的机会和赚大钱的机会。


(19) 公司目前提供了中英文电话服务,近期将会提供多语种网站(包括中文网站),并陆续提供完善的培训系统,使培训系统模块化,标准化。让在线点击广告这个生意更加简单化,家庭化。让赚钱也变得简单,快捷,稳定,持久。


(20) 公司的奖金发出率(payout)为70%,30%为公司的利润。公司老板公开承诺:公司的利润是作为公司的发展即做为市场的拓展,技术的开发,以及人才的引进来支出的。绝不会投入到金融市场和房地产市场。公司是稳健发展的,从公司的创立到现在的发展足以证明。



(21) 公司的各个部门是紧密关联的,不是各自独立的松散体。因此,实力雄厚。



(22) 公司严格按照直销法运行,并聘用安利,美安,优莎娜公司的律师为法律顾问。律师之一是:Grimes/Reese.其网站是:www.mlmlaw.com


(23) 这个公司最大的特点就是赚钱:快,稳,大,久。不需要再掏钱进行重复消费,没有财力的压力;不需要销售能力,因没有有形的产品;不需要组织能力,因没有人员的走掉。


(24) 我们的优势:网际网络和人际网络和在线广告业完美的结合。三赢。不需要每月从腰包里掏钱,减轻了每月的财务压力;不需要销售能力,因为没有有形的的货物可以销售;不需要组织能力,因为进来的人的不会走掉。


(25) 同时,公司的十年稳定发展;系统的完善培训,团队的紧密合作。也是利益的有力保障。


(26) 近期公司将三个网站合而为一,便于生意的开展。



这种网上点击广告的模式是否行得通?


回答是:在线广告在整个广告业
所占的份额越来越大,去年美国在线广告的收入已突破300亿美金,而且是以不可阻挡的势头在发展。就连美国新总统奥巴马也是利用了在线广告宣传自己,拉选
票,并最终战胜了对手。美国有一家只做网上点击广告业务的公司VOLUCLICK,其网站是:www.volumeclick.com

个公司已做了十年,而且在美国纳斯达克公司上市,上市代码VLCK。做了2-3年的公司还有很多,比如P2P等公司,他们的现金流都不顺畅,进出资金都需
第三方转入转出,跟随其做的人从中赚了很多钱,目前有很多人又转过来做这个公司,吸引他们的亮点就是该公司有实力,信用好,现金流也非常顺畅,通过其公司
发行的现金卡每天可以很顺畅的提取现金(按当天的汇率提取当地的货币。存入的是美金)。这个卡在国内的工行,建行,城市银行都试过,提款顺畅,在各大商场
刷卡买东西也很顺畅。



我如何管理我的团队?


回答是:公司给你一个后台办公室,可以看到你的团队发展动态,与公司有一个交互平台,可随时反映你的问题,还有中文电话服务,还有公司其他8个部门的网上服务产品的详细介绍。并利用公司的网络视频会议系统和你的团队保持联系,或进行培训。



如何培训呢?


回答是:公司会很快推出模块化,标准化的培训系统。打开网站就可以得到所有的培训。方便,快捷。并利用公司的网络视频会议系统进行培训。



目前,这个业务刚开始,在美国只有4千多会员,其它国家和地区还没有人做,2009年的4月份才刚刚进入中国,绝对先机。



在不影响你目前事情的情况下,兼职做一下,会有很好的收入,我的介绍人是在2009年4月下旬开始做的,半个月就收回成本,到目前每天都有几十到几百美金的收入。而且是在不断递增。看了让人心动。



这个生意的特点是不赔钱,100%能收回本金。简单:没有物流,金流顺畅,全程网上操作,包括进出资金;快速:推荐奖和间接推荐奖;稳健:靠的是:公司十年稳健的发展,良好的信誉;持久:每个人进来,都会完成自己的工作,点击广告,每天有钱进帐,三至七个月收回成本,一年能赚四至七万元(如果有推荐的话赚的更多),不会轻易走掉,网络稳就能持久地赚大钱。


先机在线广告部门08年8月刚刚开始,绝对先机。趋势:在线广告正以不可阻挡的势头在发展,去年美国在线广告的收入已突破300亿美金。是真正的朝阳产业。



还等什么,让我们一起努力,赚取属于我们自己的财富,财富离你只差一个点击。

80后的赚钱方式和理念:secondpulse@gmail.com