Where should I start?!?!?!?!?

I am interested in the technical details of linux operating system such as the source codes and how the files are managed and all these kinds of stuffs. I am also interested in command codes, building security systems as well as C++ programming. However, I have completely no idea where I should start???

Basically, I have already got 2 plans:
A) 1)C++ programming (book + compiler)
2)linux operating system (book)
3)installing ubuntu (book + computer)
4)look at source codes (book + ubuntu)
5)learn to program a security system(book + compiler)

B) 1)linux operating system (book)
2)installing ubuntu (book + computer)
3)C++ programming (book + compiler)
4)look at source codes (book + ubuntu)
5)learn to program a security programme (book + compiler)

What do you think? Please recommend any books or websites that would help me through my self-study.

Thank you.