Tag Archives: VM

Remote nodes – login and find number of processes

By sunpraveen

Hello all,

This is my requirement:

1. I have 6 VMs running Apache (for Oracle EBS) as Linux user oracle.

2. From a central server (VM), I need to login to all the 6 VMs as oracle user (I have already set up ssh equivalence, so it is password less authentication).

3. Find the number of processes running as oracle user on each VM and if less than 20, something is wrong and the same information is written to a log file on the central server.

4. If it is more than 20 processes, then everything is fine.

5. My question or trouble is: How do I know that collectively, Apache is running fine for this application (Oracle EBS)?

TIA,

Regards,

Praveen

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

Init scripts missing . . .

By jimbob01

One of our VM machines mysteriously went read-only overnight and as it wasn’t being used, thought it would be a good idea to reboot the machine and run fsck on boot, well. . . .. things didn’t quite work out that way lol 🙂

Anyway, the machine booted up, but mysteriously had no hostname set, thought I would check why and the ‘/etc/host’ file is missing, checked further and it turns out that the ‘init.d’ folder and ALL the init scripts are missing too, as is ‘xinet.d’, and probably a host of other files from ‘/etc’.

Although we have backups, I need to try and get the machine back onto the network so I can copy the files back over . . . . . . question is, is there any way that I can start the network back up without the init scripts ?

Tried the usuals, ifup etc all to no avail – any of you brilliant minds out there any ideas !?

Cheers, Jim

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

Getting started with KVM coming from Vmware

By karlochacon

hi guys

In order to test new ideas and reduce cost I would like to test KVM.
I think Vmware has these 3 things which are valuable:
– HA which restart VMs (Virtual Machines) in other hosts when a Hardware failure.
– DRS which basically is an intelligent VM placement when a hosts is overcommited
– vMotion which migrates VMs up and running to other hosts.

So my question:
Can I get those 3 features using KVM? I suppose I need a KVM Central Console equivalent to vCenter?

is there such console offering those 3 things? for free?
Will Openstack cover those 3?

is just I need to talk to my boss about moving to KVM but I know for sure he will ask OK…does it have the same capabilities as Vmware has?

thanks a lot guys

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

VM and Redhat Problems

By Newer

Hello everyone,

I’m facing a some problems with redhat in my Oracle VM and the Redhat(rhel-server-5.5-x86_64-dvd.iso). I’ve installed both tools yesterday without any issues, but…
Through the redhat installation, i entered user and pass correctly, everythings was marching ok. The problems began to show up when i was trying to install Guest Addition, so i found that i can’t even change any file permission wtih chmod, i tried to execute the guest_addition within the comand sudo but failed too, failed trying change my user’s permission too, everything was denied.
So, my questions it’s if i was the person who install the redhat and declare the user and pass, why i ‘m not able to do anything like administrator?
It means i just have rights to read, but nothing else.
I need to become in administrator to get all permissions.
Any Idea to help please, i really need to fix this issue, it’s driving me crazzy.

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

David Tomaschik: Booting Raw Partitions in VirtualBox with Grub2

Background: I dual-boot my laptop between two different Linux distributions: one for normal/desktop use (currently Mint), and one for “security” uses: mostly CTFs or otherwise hostile networks (currently Kali Linux). I also kept a Kali installation in a VM for use from within my desktop environment, but I was getting tired of having two Kali installations on the one laptop. I’d discover irritation at different configurations, not easily having data between the two, etc. Suffice it to say that fewer installations to maintain is a good thing.

…read more

Source: FULL ARTICLE at Planet Ubuntu

Virtualization of Global Namespace in UNIX

By Pavan Kumar

Hi all,
I have a small Question here in Unix File System.I am unable to get a proper answer in Internet. Hope someone can get back to me soon.

A Unix file system can mount filesystem of several disk partitions to form a single global space.
Suppose that you wish to virtualize this global space so that different guest systems can be aware of the
file system of certain partitions but not all partitions. What can VM do?

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Too Perfect A Mirror

I’m writing this as a post-mortem on what almost became The Great KDE Disaster Of 2013. You can see the early, semi-panicked blog posts at git.kde.org down… and git.kde.org will be back and what you should be aware of that describe the situation.

Here’s what happened.

“…What the hell?”

On 2013-03-22, the server that hosts the git.kde.org virtual machine was taken down for security updates. Both virtual machines running on the server were shut down without incident, security updates were applied to the host, and the machine was rebooted.

When the host came back up and started the VMs, the VMs immediately showed evidence of file system corruption (the file system in question was ext4). It is not known at this time (and we’ll probably never know) whether this corruption had been silently ongoing for a long period of time, or was the result of something specific that occurred during the shutdown or reboot of the VM or host. There is some evidence to suggest the former, but nothing concrete.

As most of you reading this are well aware, KDE has a series of “anongit” machines whose purpose is to distribute the heavy load across the 1500 hosted Git repositories and to act as backups for the main server. However, when we checked the anongit machines, every single one of them had severely corrupted repositories and many or all repositories were missing.

How could this happen?

A Perfect Mirror

Like all software, our mirroring system had bugs; and like many bugs, we didn’t know they existed until disaster struck.

The root of both bugs was a design flaw: the decision that git.kde.org was always to be considered the trusted, canonical source. The rationale behind this decision is relatively obvious; it’s a locked-down, authenticated resource that runs customized hooks to validate the code being pushed to it. It’s perfectly reasonable to decide that it should be considered to be correct.

To this end, a mirroring system was set up that essentially tries to make the anongits look exactly like git.kde.org within a reasonable amount of time. This includes not only the code in the Git repositories, but also the various bits of metadata that we use for administration. Syncing happens to each anongit within 20 minutes or so, and at that time the mirroring system makes the anongit look just like git.kde.org, ready to sync all repositories back upstream if upstream were to die and be replaced.

However, while we planned for the case of the server losing a disk or entirely biting the dust, or the total loss of the VM’s filesystem, we didn’t plan for the case of filesystem corruption, and the way the corruption affected our mirroring system triggered some very unforeseen and pathological conditions.

The sequence of events:

  1. The VM came up. Its projects file, which contains a complete list of repositories in the system, was corrupt.
  2. The anongits performed a sync. As part of this sync, they retrieved the new projects file, which (somewhat interestingly) appears to have been different for each of the anongits (although corrupt each …read more
    Source: FULL ARTICLE at Planet KDE

VMWare Solaris – How do I boot from CD?

By bstring

Hello,

I have a Solaris 10 x86 VM and I am trying to access the Solaris install menu.

I have the ISO set to connect on startup, and I can see that it is mounted in my system. But when I power on the VM, the GRUB menu comes up and I only have the option of booting Solaris.

Also I have tried the “reboot — cdrom” command and I have the same result.

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

By redhatlbug

Hi all,

Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out.

i have dual os, win 7 & rhel 6.

i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue.
below error message is throwing.

but while i click the package thru graphical installation it installs successfully.

gone thru search on this forum and found nothing so, clear me where im doing the wrong.


[root@redhat Packages]# yum install *ftp* -y
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Examining ftp-0.17-51.1.el6.x86_64.rpm: ftp-0.17-51.1.el6.x86_64
Marking ftp-0.17-51.1.el6.x86_64.rpm to be installed
Examining gvfs-obexftp-1.4.3-9.el6.x86_64.rpm: gvfs-obexftp-1.4.3-9.el6.x86_64
gvfs-obexftp-1.4.3-9.el6.x86_64.rpm: does not update installed package.
Examining lftp-4.0.9-1.el6.i686.rpm: lftp-4.0.9-1.el6.i686
Marking lftp-4.0.9-1.el6.i686.rpm to be installed
Examining lftp-4.0.9-1.el6.x86_64.rpm: lftp-4.0.9-1.el6.x86_64
Marking lftp-4.0.9-1.el6.x86_64.rpm to be installed
Examining report-config-ftp-0.18-7.el6.x86_64.rpm: report-config-ftp-0.18-7.el6.x86_64
report-config-ftp-0.18-7.el6.x86_64.rpm: does not update installed package.
Examining report-plugin-ftp-0.18-7.el6.x86_64.rpm: report-plugin-ftp-0.18-7.el6.x86_64
report-plugin-ftp-0.18-7.el6.x86_64.rpm: does not update installed package.
Examining tftp-0.49-5.1.el6.x86_64.rpm: tftp-0.49-5.1.el6.x86_64
Marking tftp-0.49-5.1.el6.x86_64.rpm to be installed
Examining tftp-server-0.49-5.1.el6.x86_64.rpm: tftp-server-0.49-5.1.el6.x86_64
Marking tftp-server-0.49-5.1.el6.x86_64.rpm to be installed
Examining vsftpd-2.2.2-6.el6.x86_64.rpm: vsftpd-2.2.2-6.el6.x86_64
vsftpd-2.2.2-6.el6.x86_64.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package ftp.x86_64 0:0.17-51.1.el6 set to be updated
---> Package lftp.i686 0:4.0.9-1.el6 set to be updated
--> Processing Dependency: ld-linux.so.2 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.2) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2.3) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libdl.so.2 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libgcc_s.so.1 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libgnutls.so.26 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libgnutls.so.26(GNUTLS_1_4) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libreadline.so.6 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libresolv.so.2 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libresolv.so.2(GLIBC_2.0) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libresolv.so.2(GLIBC_2.2) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: librt.so.1 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: librt.so.1(GLIBC_2.2) for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libtinfo.so.5 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libutil.so.1 for package: lftp-4.0.9-1.el6.i686
--> Processing Dependency: libutil.so.1(GLIBC_2.0) for package: lftp-4.0.9-1.el6.i686
---> Package lftp.x86_64 0:4.0.9-1.el6 set to be updated
---> Package tftp.x86_64 0:0.49-5.1.el6 set to be updated
---> Package tftp-server.x86_64 0:0.49-5.1.el6 set to be updated
--> Processing Dependency: xinetd for package: tftp-server-0.49-5.1.el6.x86_64
--> Finished Dependency Resolution
Error: Package: lftp-4.0.9-1.el6.i686 (/lftp-4.0.9-1.el6.i686)
Requires: libtinfo.so.5
Error: Package: lftp-4.0.9-1.el6.i686 (/lftp-4.0.9-1.el6.i686)
...read more
Source: FULL ARTICLE at The UNIX and Linux Forums

GlusterFS: First impressions

Recently I fooled around with GlusterFS, a distributed file system especially intended for use as backend storage. The first impression is quite good – as long as you use it for the right task.

Background

GlusterFS is a distributed file system which is supposed to scale to large storage sizes. Besides file distribution it also offers “RAID” like features: if you have two GlusterFS servers you can either stripe the data on both of them, or mirror them. Or, if you got more servers, you can even create more complex setups with a mixture of striping and mirroring. The client protocol is very similar to NFS, and thus clients can GlusterFS servers via GlusterFS-Fuse or directly via NFS.

The advantage of a distributed file system is obvious: if one server goes down, the clients fail over to another server, and you still have the data. Also, you can add more servers in case you need more storage. A distinct advantage of GlusterFS compared to for example AFS or Ceph is that you do not need to worry about setting up special servers dedicated to processes like addressing the data. Each GlusterFS server has the same rights and tasks as the next (in simple setups, highly complex setups may vary.

Competition

GlusterFS faces competition first of all in its own field: distributed file systems as mentioned above (Ceph, AFS, etc.). But for simpler setups you can also create similar results with a shared block level device like DRBD and and NFS or even cluster file systems like GFS and OCFS. And in the end GlusterFS steps up to fight against high cost storage systems (SAN, …).

The Setup

For my tests of GlusterFS I used a couple of CentOS 6 VMs in KVM on my main machine. I followed the well written GlusterFS-CentOS-Howto by falco. However, one thing which is probably not outlined enough in the howto: GlusterFS really depends on host name resolution. And really depending means that an entry in /etc/hosts on the GlusterFS machines is not enough. You should have a working DNS!

That said, the easiest way to accomplish this with a running KVM test setup is to just add the necessary entries to /etc/hosts on the host side (!). These information are forwarded to the VM guests and provide a reliable name resolution.

Tests and Results

I run a couple of tests: shutting down a server, shutting down the interfaces, shutting down the GlusterFS services, etc. The data on the machines were a couple of various text files, nothing fancy.

And all in all, I must say I was impressed with the features and capabilities: the setup was reliable, files where automatically distributed, servers started offline where resynced automatically, and so on. The collision detection is pretty neat, it works on file level: even if there occurs a split brain, i/o is only blocked for files which are actually affected. This is – of course and by design – a huge advantage over shared block devices which block the access to the entire …read more
Source: FULL ARTICLE at Planet KDE

NFS issue with autofs in CentOS 6.3

By bashily

I am running CentOS 6.3 as a VM on a host which has the same installation. I configured my NFS server and I am guessing it works. I say guessing because I can mount the desired folder with mount command on my client machine. So, when I run:

Code:

mount -t nfs -o vers=3 vm2.domain.com:/nethome /neth


it mounts the folder at “/neth”;however autofs doesn’t do the same and I don’t even get any error!
my auto.master:

Code:

/neth /etc/auto.neth --timeout=60


my auto.neth:

Code:

* -fstype=nfs,rw,soft,nosuid,nfsvers=3 vm2.domain.com:/nethome/&


I should mention that I have local DNS installed and it work with no problem.
any suggestions?

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Howard Chan: QA Cadence Week 7 Global Jam Special + Testcase Conversion script

Hello world!

Ubuntu Global Jam is coming to town (seriously) from 1st to 3rd March, 2013, with different Ubuntu contribution projects that you can play with friends in your city or on the Internet.

Our QA Cadence Week 7 is at the same time as it, so Nicholas Skaggs has posted a new wiki page for all people to check out what YOU can do for QA. Find it at https://wiki.ubuntu.com/QATeam/Cadence/Raring/Week7UbuntuGlobalJam.

We will be focusing on three aspects:

Application testing: This time we have multiple applications for you to test, including Deja-dup, Empathy, Evince, Eye of Gnome, Fileroller, Firefox, Gedit, Gnome Screenshot, Gnome Terminal, LibreOffice, Nautilus, Network Manager, Orca, Pulseaudio, Rythmnbox, Shotwell, Thunderbird, Totem and Ubuntu One. Just follow the detailed testcases and report bugs along the way. Make sure you report them through terminal using `ubuntu-bug (packagename)`.

Images testing: We have Raring daily images freshly prepared for you to come and test. Bring along your spare machine or VM (or even a Nexus 7!) to play with testing. Make sure it installs and works and no bugs.

Hardware testing: If you have a laptop, try to install the Raring daily images and make sure not only the software but the hardware works too, like Trackpad, DVD drive, USB, sound, etc.

If you want to write manual testcases and followed the format but don’t know if it is right or wrong, check out Javier P.L. (chilicuil)’s script in https://raw.github.com/chilicuil/learn/master/sh/test_case_format Download the script and run `./test_case_format (testcase)` to get it converted. Then submit a merge request against lp:ubuntu-manual-tests !

WELCOME TO QUALITY ASSURANCE!!!!!!!!!!!!!!!!!!!!!!!

…read more
Source: FULL ARTICLE at Planet Ubuntu

Help with setting up Networking for XEN on CentOS 5.9

By mccabec123

Hey guys, I’ve reached the point of setting up VM‘s on XEN but the net installations seem to be failing when I am in the netinstall on the actual VM, so this leads me to believe that the networking on the host machine is not set up correctly. I am running CentOS 5.9 along with XEN and was just wondering how I need to set up the network to get it all working
Hopefully this is enough to give you an idea of our network setup.



Here is all of the details that 'ifconfig' returns:
---------------------------------------------------------------------------------------------------------------------------------
br0 Link encap:Ethernet HWaddr 00:25:90:71:30:9C
inet addr:188.165.218.137 Bcast:188.165.255.255 Mask:255.255.255.0
inet6 addr: fe80::225:90ff:fe71:309c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38485 errors:0 dropped:0 overruns:0 frame:0
TX packets:19719 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38387680 (36.6 MiB) TX bytes:3787287 (3.6 MiB)

eth0 Link encap:Ethernet HWaddr 00:25:90:71:30:9C
inet6 addr: fe80::225:90ff:fe71:309c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50404 errors:0 dropped:0 overruns:0 frame:0
TX packets:19695 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:40990478 (39.0 MiB) TX bytes:3783764 (3.6 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1108839 errors:0 dropped:0 overruns:0 frame:0
TX packets:1108839 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:122676613 (116.9 MiB) TX bytes:122676613 (116.9 MiB)

peth0 Link ...read more
Source: FULL ARTICLE at The UNIX and Linux Forums

VMware View Client

By metallica1973

We have several ESXI 5.0 servers in our environment and am really tired of firing up my windows 7 VM and using Vsphere client to be able to see the “VM‘s”. I looked into using VMware View Client for linux and have never been able to get it to work. When I connect, I get:

PHP Code:


Untrust View Connection:

Failed to connect to the View Connection Server. The server provided an invalid certificate: The certificate authority is invalid or incorrect.

view certificate

blah blah blah




I found in their manual what one should do to circumvent the issue and decided to try to import the certificate:

PHP Code:


For instructions on importing a root certificate stored in this location, see the procedure called "Importing a

Certificate into the System-Wide Certificate Authority Database"
in the document at

https://help.ubuntu.com/community/OpenSSL.




but to no evail. When I tell the client:

PHP Code:


do not verify server identity certificates.




it give me a HTTP error 400. Has anyone on this planet had any success with this?

Source: FULL ARTICLE at The UNIX and Linux Forums

Jorge Castro: Vagrant Ubuntu images now available.

Just in case you missed it we now have soon-to-be official Vagrant Ubuntu cloud images thanks to Ben Howard.

Never used Vagrant before? Check out these slides to get up to speed:

Here’s the TL;DR;

sudo apt-get install vagrant
vagrant box add myprecisevm http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
vagrant init myprecisevm
vagrant up 
vagrant ssh

This will install Vagrant, get the 12.04 image, and set it up as a VM with as “myprecisevm”. There’s no need to download and configure virtualbox seperately, the package handles that for you and vagrant itself makes it so you don’t need to deal with VB directly.

While that is downloading, make sure you check out the Vagrant Getting Started.

Source: FULL ARTICLE at Planet Ubuntu

Mythbuntu: How I got started developing for Mythbuntu (or how you can help too)

I wrote this blog post after having a conversation on IRC with someone (snippet below)

* sabhain wants to be laga in his next life and restore the diskless stuff to its awesomeness of 10.04

sabhain, then the first step, would be joining #ubuntu-mythtv-dev

tgm4883, lol then step 0 would be to have time and learn programming beyond F90

sabhain, possibly. I didn’t know python though before I started helping out

Back in late 2006, I was what I like to think the average “computer guy”. Whether they are purchasing a new computer or having computer issues friends and family all came to me with their questions. I knew a fair amount about the latest video cards, processors, RAM, and hard drives. I knew the best places to buy these things online, and I had built my previous two desktops. I had been exposed to Linux a few times previously, but hadn’t really used it as a long term solution. I had been hopping back and forth between Windows XP and Fedora Core (4 – 6). This all changed at the beginning 2007.

At the end of 2006, I was finally fed up with the reformat and reinstall everything loop that is the maintenance cycle of Windows (although I had customized my install disk, so it was pretty quick). I made the decision to try and use Linux as a full time solution. Now I don’t recall the reason I left Fedora (I have a vague recollection it was some issue I had with Yum), but I installed Ubuntu 6.10 in early 2007 on my Dell Inspiron 5100. I chose Ubuntu probably because of a Google search, but possibly also DistroWatch (previously, I had installed and tested Redhat 9, Mandrake, and SuSe). As I recall, it was also the first distro that didn’t make my fan run at full speed 100% of the time. As I could now run Ubuntu on my laptop and not have it sound like a jet engine (and the battery ran considerably longer too), I was free to see what else I could do with Linux.

I had an old TV Tuner card laying around, so I looked into what software was available to make a DVR. This led me to MythTV and the #ubuntu-mythtv channel on IRC. This was around April 2007 and pre-Mythbuntu. As this was pre-Mythbuntu, MythTV was still a pain to setup. On top of that I was recording from a cable box, so I was recording over firewire (since my tuner was a crappy software encoder). I received a lot of help from someone who went by the handle majoridiot. As most of this was knowledge people had from installing it, I decided I was going to help out where I could. At this point, I didn’t know any programming languages. I was a senior in college getting a BS in Information Systems, but we were required to take 2 Java programming classes, and the only thing I remembered was that I could define how to draw a circle and then just call drawCircle() whenever I needed it (oop ftw).

I started helping with documentation as it seemed the easy thing to do. Since Mythbuntu was just starting up there was much stuff to do, so I helped where I could. If the website needed updating I helped update it. Something needed tested, I installed it in a VM and tested it. Website needed completely rebuilt from Google cache because the host that Mythbuntu used went down and our contact would completely ignore every attempt we had to contact them (yes that actually happened in the early days. No I will not name who it was), lets get to rebuilding it. Eventually it came that there were things missing that would need to be developed. As most of the other developers knew Python, it seemed like a good thing to learn. So I started learning Python and making my first program. Where did I learn how to program in Python? From http://docs.python.org/ and superm1, the lead Mythbuntu developer.

So now I’m one of the main Mythbuntu developers and have been for some time. I’ve gotten both of my post-college jobs, been sponsored to go to UDS (2x), and am now working on the MythTV integration for Ubuntu TV, all because of my involvement with Mythbuntu. I point this out not as a “look at how awesome I am” but a “look what you can do just by investing your time in something you like”.

If you want to help out in a project you love (whether it is Mythbuntu, MythTV, or anything else), we really do mean it when we say “No programming experience necessary”. There are many different areas to help in, so come and talk to us and we can find a good fit for you. Everyone has to start somewhere, and the time spent can help you in other areas of your life/career.

TL:DR – You don’t need programming experience if you want to help create something awesome. You can help in non-programming ways or learn it on the way. Come talk to us in #ubuntu-mythtv-dev and we’ll help find you something to do.

I’d also like to thank superm1, daviey, rhpot1991, mrandr, majoridiot, foxbuntu, davemorris, and anyone else that has helped me along the way. I wouldn’t be where I am now without the help from these people.

Source: FULL ARTICLE at Planet Ubuntu

Help with new disk but don't know how to add

By samnyc

Hi,

This Linux server is a VM, on the VMware, I added new disk for this system. I was not able to see the new disk. I did try the scan command but didn’t work. I then rebooted the system. Now when I do

Code:


fdisk -l
Disk /dev/sda: 161.0 GB, 161061273600 bytes
255 heads, 63 sectors/track, 19581 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 268 2048287+ 82 Linux swap / Solaris
/dev/sda3 269 19581 155131672+ 83 Linux


On the Vmware, I added another disk for 150 Gig.

Here is the output from df -h

Code:


df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 144G 135G 1.9G 99% /
/dev/sda1 99M 26M 68M 28% /boot
tmpfs 942M 0 942M 0% /dev/shm


where is my new disk? how do I add that.

Source: FULL ARTICLE at The UNIX and Linux Forums

Hello Hackfest!

Hi!

If you’re reading this, I’ll have the pleasure of helping you contribute to KDE at Hackfest in January 2013.

Although most of concepts I will discuss at Hackfest will be independent of which project you eventually aim to contribute, I’ll discuss things in context of KStars.

Prerequisites

The only true prerequisite is that you should have a working KDE environment. If you aren’t already using KDE, it is good idea to start now.

In case you’re starting from a fresh install, you could start with Kubuntu. An alternate is to set up your own Virtual Machine if your host machine can perform well.
A Virtual Machine is specially advantageous if you wish to play around with the distros first. Add and remove packages. Break stuff. Have fun!

Everything after this point everything is optional. The more you learn about, the better. If you have any questions, leave a comment or email me.

Things to do

Here’s a bunch of things you can learn about while you wait for Hackfest. These are not prerequisites but it will help if you are familiar with at least these.

  • Search. Use Google, Bing, or the Large Hadron Collider. 90% of your issues have already been faced and solved by someone on the Internet.
  • Learn about IRC. This will help you get support if you ever get stuck. But only if you use it right. Join us at the channels I mention at the end.
  • Learn about Git. I personally feel setting up a Github account and practicing on a repository works best.
  • Read some stuff about Qt.
  • Once you are ready, you may set up an environment to start hacking on KStars.
  • Setting up

    Follow the instructions at: http://techbase.kde.org/Projects/Edu/KStars/Building_KStars

    Please note that an additional package: zlib (found as zlib1g-dev) will be needed to build KStars.

    So for debian based systems:

    sudo apt-get install build-essential cmake kdelibs5-dev libeigen2-dev libcfitsio3-dev zlib1g-dev

    should get the prerequisites set up.

    Virtual Machine

    To experiment, you can use this Virtual Machine that I’ve made. It has all the prerequisites installed and KStars repository cloned.

    Kubuntu 12.04 LTS (32 bit) on Virtual Box
    username: hackfest
    password: hackfest

    I’m hosting this Virtual Machine on a low end server so be patient when downloading. Also, share it. Let me know if you encounter issues with the VM.

    Click here to download the VM
    (I’m uploading the VM using very slow DSL connection so it should be up by 31st Dec 10 AM.)

    Questions?

    Leave a comment, or email me at ra.rishab {at} gmail {dot} com

    Ping me on IRC. I’m ‘spacetime’ and I idle at a lot of channels including #kde-in and #kde-kstars

    To talk to the KDE India community, please join the KDE India Mailing List.
    Find us at #kde-in on freenode (IRC).

    To get in touch with other KStars developers,
    join the KStars Developers Mailing List or, say hello at #kde-kstars on freenode (IRC)

    Source: Planet KDE