Skip to main content

Setting Up Ubuntu Development

Ubuntu! I know, all you Windows guys would say. Not again, another operating stuff. Okay. Got it! But I have to try it out. Not that it's cool but you know I have to learn other stuff. As we all know Ubuntu is a GNU/Linux distribution for mere mortals. Well, I'm certainly one of the mortals so I have to try it out.

First off, virtual machine. I use VirtualBox, from Oracle. I know (have to try Qemu soon). VirtualBox can be download here. Installing it is simple so I don't need to put it here. After installation, now comes Ubuntu. I don't have to explain Ubuntu as the documentation is very helpful for any beginners. But you can download it from here. Besides I'm not English speaking so they can explain it better than me. But as introduction it's an operating system. That is all I can say.

Now then open VirtualBox and create a new machine. It can be accessed through the Machine menu at the top and click New. When asked for a name, I usually enter Ubuntu10 Development. Why the version you say? I'm also tinkering with another version like 11 so I have to create distinctions. Just click the default memory assigned VirtualBox for now. Now for the hard disk, let's create a new HD and let it expand dynamically. Usually I select 20G for the initial size. And we're done.

Actually not at all. We have to install the operating system on the hard disk we've just created. Now run the machine and it should fail. No bootable something is the error we see. We can add a device that's exactly for booting purposes. Devices can be found in the Devices menu and Add CD/DVD and add the ISO we just downloaded a while ago. Select it and make sure it's there (just below the devices usually D or E) and checked. Restart it by going to Machine and insert Ctrl-Alt Delete. This should restart and start the installation of Ubuntu.

Installation of Ubuntu should be straightforward.

Well, Ubuntu is somewhat developer friendly or any Linux for that matter. You can do python or gcc at the terminal. But just recently I'm inclined to learn more on python so I blogged a little about some basic pythoning.

Comments

Popular posts from this blog

Restoring .dat data to MSSQL

This is just a document in case I forgot to restore data files to MSSQL. I had this problem before when a colleague gave me a .dat files to be restored to SQL server. I had a 2008 version of the server and had no trouble restoring it. The problem is, I forgot how I did it when I had a new PC and I upgraded it to 2012 SQL server. But this is a simple task (although I had a full day remembering how I did it and I had no luck finding the solution from google). First off, click restore, like so I had trouble with the database whether or not to add a new database and restore the file to it, or not. Simple answer is no need. With the next image you can see that the configuration is very simple. Just set it to device as the source and find the .mdf file. It automatically displays a suggestion for the database name and you're done. Click OK and wait a couple of minutes for SQL server to restore the data. [EDIT] In case you are restoring a backup file without an extension. You c...

How to Backup using SQL Server Data

 Sometimes Task->Generate Scripts takes too time to backup especially when you want to backup only selected tables in the database. This can be done easily with bcp, issuing the command in your power shell dumps the data in tab-delimited values into a file. \> bcp "DATABASE.dbo.TABLE" out "C:\Downloads\TABLE.sql" -c -S "HOSTNAME" -U USERNAME -P PASSWORD Hope this helps, this is very useful for migrating data and for seeders where some tables are only needed to be seeded into the database as dependent values for other tables. We are heavily using this technique for testing. As for reference, here's our use case Dump data into .sql files Seed using QueryFromFile Run automation; this can insert new values to other tables based from the seed data from .sql file Rollback new values We need to rollback each time since we want to have data the same as it was so we can run each time and expect the same results for our testing. If not, there should be err...

Monero is your friendly neighbor - no not really, I mean friendly CPU miner

Monero is another one of those crypto currency that was really big news in 2017. Now the year ends and hoping for a fresh start in 2018. Just got my masternode up and so far so good. X11 is the algo chosen by Sucre so it's not really friendly to CPU. Now, back to Monero. Its algorithm is Cryptonite and it's friendly to miners that only has CPU. First off, get your monero wallet here . As for me, I do use FreeWallet so I don't worry other app/web for every wallet that I have. Anyway, if you get your monero wallet address, that's OK. All we have to do is to find pool to mine. I use MineXMR as it's simpler. You can choose whatever you like, just search for "monero mining pools" and you get bunch to choose from. Get the miner here, extract it to your location of choice and edit the config.json file. {     "algo": "cryptonight",  // cryptonight (default) or cryptonight-lite     "av": 0,                // algorithm var...