Hacking Setup Linux environment

  • Thread starter Thread starter dking024
  • Start date Start date
  • Views Views 8,719
  • Replies Replies 18

dking024

New Member
Newbie
Joined
Dec 17, 2010
Messages
2
Reaction score
1
Trophies
0
XP
2
Country
Switzerland
DSTWO SDK require GCC compiler support, many program developers may be working on Windows. In fortunately, CYGWIN and VM(Virtual Machine) technology can do this. CYGWIN employ some special DLL to enable Linux program run on Windows, it require fewer disk space and memory space, but the compability may be not the best. VM techonology can create a VM under windows, then install the Linux OS on the VM. This method cost more disk space and memory space, but it gives good compability on Linux program. The VMware and VirtualBox can do this, VirtualBox is open source project.
Here, we setup the Linux environment by VirtualBox and Ubuntu. more information about VirtualBox, please refer to http://www.virtualbox.org, more information about Ubuntu, please refer to http://www.ubuntu.com.
1. Downloading the latest windows version of Virtualbox from http://www.virtualbox.org. Downloading the latest 32-bit version of Ubuntu form http://www.ubuntu.com.
2. Install Virtualbox.
3. Creat a VM by Virtualbox. Before commence, you'd better be sure there is a logic disk using NTFS file system, and the free disk space are 8 GB or more. FAT32 also is OK, but it can't creat a file bigger than 4 GB. Following are detailed step:
attachimg.gif


10092712019b7fef0ff3ef3da6.jpg.thumb.jpg


download (142 KB)
27-9-2010 12:01
When Virtualbox started, it looks as picture-1, click [New] to start creating VM process
attachimg.gif


1009271206e01ba79738e81f53.jpg.thumb.jpg


download (104.55 KB)
27-9-2010 12:06
Virtual Machine Wizard started, click [Next]
attachimg.gif


1009271208c5f6d89a61cf594e.jpg.thumb.jpg


download (129.11 KB)
27-9-2010 12:08
In the name table, enter the name of the VM. Operating System select LINUX, Version select UBUNTU, click [Next]
attachimg.gif


1009271212c96cd3f8a494e039.jpg.thumb.jpg


download (92.92 KB)
27-9-2010 12:12
Selecte Memory size. Note, select a proper value accroding the physical memory size of the PC, when VM started, the VirtualBox will allocat the
memory, and Windows can't use any more until VM shutd own.
attachimg.gif


100927121990b005e170744ea0.jpg.thumb.jpg


download (142.43 KB)
27-9-2010 12:19
Select Boot Hard Disk and Creat new hard disk, click [Next], it will pop up the Creat New Virtual Disk Wizard.
attachimg.gif


10092712225b8c58964b4a0947.jpg.thumb.jpg


download (98.85 KB)
27-9-2010 12:22
Click [Next]
attachimg.gif


1009271224bcf1239c7166ce64.jpg.thumb.jpg


download (133.96 KB)
27-9-2010 12:24
Select Fixed-size storage recomended, this will get better perfomence for VM.
attachimg.gif


1009271229883ba3656519ce9b.jpg.thumb.jpg


download (124.48 KB)
Picture-8
27-9-2010 12:29
The default storage address of the VM disk file are on the administrator's doucment files, advise moving to other place.
attachimg.gif


1009271541e1f02e63ab503306.jpg.thumb.jpg


download (92.53 KB)
27-9-2010 15:41
Click [Finish], waiting the progress finish.
4. Install Ubuntu on VM. After VM created, snapshot as Picture-10
attachimg.gif


1009271555bc6d8ac8f61d084a.jpg.thumb.jpg


download (174.53 KB)
27-9-2010 15:55
Click [Settings], to load the Ubuntu image file to virtual disc driver.
attachimg.gif


1009271559e5d7ef65567a94a2.jpg.thumb.jpg


download (129.27 KB)
27-9-2010 15:59
Select storage, IDE Controller, In Attributes item, CD/DVD device, add the address of Ubuntu's image file
attachimg.gif


10092716082882bac4b2d7312a.jpg.thumb.jpg


download (138.65 KB)
Picture-13
27-9-2010 16:08
attachimg.gif


100927160711b75fadffb1a160.jpg.thumb.jpg


download (82.28 KB)
27-9-2010 16:07
OK, the image file loaded now. next, start VM, the VM will boot from virtual disc driver, the following thing are installing Ubuntu as install an OS on a bare PC. After Ubuntu installed, then shut down , and remove Ubuntu image file from virtual disc driver, the process similar to load a image file.
5. Additional thing, installing VM tools to enhance VM performence. Load VBoxGuestAdditions.iso image file to VM's virtual disc driver before start Ubuntu, the file in VirtualBox's installation directory.
Fisrt update Ubuntu:
sudo apt-get update
sudo apt-get upgrade
Note, You'd better select a faster software sources first, or else the process will cost several hours or more. The path is System/Administration/Software Sources:Ubuntu Software/Download from/Others...
Second, install GCC tools, then DKMS:
sudo apt-get install build-essential
sudo apt-get install dkms
then, reboot Ubuntu in order to activate the updates.
Third, change to the directory where the CD-ROM drive is mounted and execute as root:
sudo sh ./VBoxLinuxAdditions-x86.run
OK, the Linux environment are ready.
 
Unless you're serious about helping development (which I very strongly doubt), why do you even bother visiting this section, let alone make a post that could just as well be written by someone who just signed up (as in, you ask a totally pointless question)? gcc is completely useless if you're not going to compile anything.

@OP: whoa. What's the point? Why not just install Ubuntu instead of running it through a RAM hog? It's much easier and makes quite a bit more sense.
 
At least it works. Posting from VirtualBox-Ubuntu.
It didn't work with windows7 Virtual PC.

It's slower than a simple install but some people doesn't like partitioning their disks (I'm not one of those but I can understand)
 
Overlord Nadrian said:
Unless you're serious about helping development (which I very strongly doubt), why do you even bother visiting this section, let alone make a post that could just as well be written by someone who just signed up (as in, you ask a totally pointless question)? gcc is completely useless if you're not going to compile anything.

@OP: whoa. What's the point? Why not just install Ubuntu instead of running it through a RAM hog? It's much easier and makes quite a bit more sense.
One I am interested in both trying to help out as well as learning how to create applications for the supercard two, also take the stick out your ass for once and realise that not everyone in the world has the space age clairvoyant mind to suddenly understand everything like you do.
 
I thought you were the gay person in here... (
wink.gif
)

But seriously, you first need to learn how to program before even considering installing this. Sure, if you want to compile your programs while you're learning, this is useful, but it's not necessary.

Oh well.
 
Wow, bitching already.

@Nade: for linux newbs it's easier to start running it in Virtualbox and get used to how it works before you do a proper install. I know this first hand (It's what I did before I used linux properly) otherwise it would be a simple ubuntu install guide that could be copy-pasted from ubuntu.com.

Not all coders like linux you know.

Also Virtual PC is a piece of crap for running any thing other than windows and even at that, Virtualbox is still better.
 
Overlord Nadrian said:
I thought you were the gay person in here... (
wink.gif
)

But seriously, you first need to learn how to program before even considering installing this. Sure, if you want to compile your programs while you're learning, this is useful, but it's not necessary.

Oh well.
I know some basics since I am teaching myself everything with no help, a video of some basic program would be nice since I don't have anything to start off from.
At least a little help would be really nice.
 
GH0ST said:
You can found some free pre-built virtualbox images for several open-source operating systems.

You can build a dual boot system with windows and ubuntu it is easier for a first step I guess...
I am a Linux users, step one was completed years ago
 
Overlord Nadrian said:
A Gay Little Cat Boy said:
I am a Linux users, step one was completed years ago
>you're a Linux user(s)
>you want a tutorial on how to VirtualBox a Linux distro.

Alright. Makes sense to me.






Except not.
I want a video on how to set it up the SDK on Linux itself.
I already know how to set up Linux on VirtualBox.
 
link11510 said:
I guess you cannot do this on Windows XP then

And how exactly did you come to this conclusion?

If you actually looked at the guide in the OP, you would have seen that it was done on Windows XP.
 
A Gay Little Cat Boy said:
Overlord Nadrian said:
A Gay Little Cat Boy said:
I am a Linux users, step one was completed years ago
>you're a Linux user(s)
>you want a tutorial on how to VirtualBox a Linux distro.

Alright. Makes sense to me.






Except not.
I want a video on how to set it up the SDK on Linux itself.
I already know how to set up Linux on VirtualBox.

i would like the same... i am a linux user... ive even hacked my neighbor's wep encripted wifi with backtrack on the first time i used that distro
wink.gif
... but that is besides the point

also couldn't we use an IDE
discuss.png
(like NetBeans)
biggrin.gif
to actually edit the source and then test/debug/compile it?
 

Site & Scene News

Popular threads in this forum