Category Archives: Operating System

Operating system is computer/device software used to organize how the computer work, mainly as base software that build up and connect all the computer hardware with ability to maintenance and organize how other application work.

Choice Open Source over Windows?

i have been enjoying two different operating system for last two years. i am common user though, not a programmer or app developer. my dual core laptop has been used two years for helping me with my study in college, and also as a media entertainment for me. 2004, i was enjoying my first experience with computer, what’s inside it? Of course we had Windows, windows 98 or XP that time. In my Junior High School, computer began to be one of the most needed thing. We, as students are required to understand how the computer work, and we had to know basic knowledge about it.

Windows was the first flavor, we tasted the beauty of the computer by learning about ms word and excel, text editor or words application and spreadsheet respectively. There were also some games, such as the sims, fifa, dll. it was amazing to experience those old games. there was also internet, internet explorer let us to browse email sites like yahoo and hotmail. in my small village though we are a consumer, i my self was not a nerd. so that was my first experience as technology consumer. i didnt know anything about opensource, and not knowing that operating system wasnt only windows XP. Windows has gave us many thing to taste, from beautiful words application, spreadsheet, and also many games and applications. All i know those was bundled in .exe form, and not free of charge. All this applications and operating systems itself were expensive actually. Well, not sure its lucky or not, we can found many cracked software and games, many list of serial number and keys, It is really not legal, but we just dont realize and consider it much. what we considered that time just whether or not we can get the software and games run well on our old computer.

Now is the days if technology, term Open Source is announced everywhere and every time because of its major advantages over windows.

from wikipedia
Open-source software (OSS) is computer software that is available in source code form: the source code and certain other rights normally reserved for copyright holders are provided under a software license that permits users to study, change, improve and at times also to distribute the software.

maybe these are the major advantages of open source over windows
1. Ability to be modified, remake, redistribute
it suggests us to understand the program or the system better. and actually we can do it by studying from its sources. some people say it is nice because we may knowing better how program work than just use it for ordinary use.
2. Easy of access and the low (no) price
some opensource come with really low price and some of them come with no charge or free.

Some other better things for open source over proprietary software are (Scholars Casson and Ryan)
Security
Affordability
Transparency
Perpetuity
Interoperability
Localisation

Well, know the world of open source comes to us. we should be ready to face it. Windows and its (mostly) proprietary software now still the best for some major applications, and for this reason i still love to use windows. There are many free software too actually, and many ways to learn how to create application that can run on windows. but the term open source and its goal is even more beautiful. From my dual boot ubuntu i learn how Open Source work, i experience the nice service they give, and i’d love to learn more about it too.

source : http://en.wikipedia.org/wiki/Open-source_software

Running 32bit Application on 64bit OS

There is some considerations we have to make when we first come up with planning to install software. One of them is what kind application we will run in PC. It becomes a problem when our software doesn’t meet the requirement of hardware and OS.

Such a problem may exist for different architecture (32bit or 62bit (high-end)), mostly it comes from software with it’s specific environment so that it’s failed to install in any different system that miss match the requirement. The other problem is program and memory access issue. Theory says that 32bit hardware/processor can only access memory address up to 4Giga or 2^32 address. So it’s impossible for us trying to install 64bit software in 32bit architecture and wanting it to run well. but different things happen when we tried to install 32bit program in 64bit architecture. Most OS support this with different solutions.

As a (still) biggest OS, Microsoft may found this problem happen many times. So it comes with compatibility options to overcome the problem of different windows version released. Such options exist for windows common user. While for user that wants to maintain Windows server, Windows comes up with WoW64.

wikipedia :

WoW64 (Windows 32-bit OWindows 64-bit) is a subsystem of the Windows operating system that is capable of running 32-bit applications and is included on all 64-bit versions of Windows — including Windows 2000 Limited EditionWindows XP Professional x64 EditionIA-64 and x64 versions of Windows Server 2003, as well as 64-bit versions of Windows VistaWindows Server 2008, and Windows 7. In Windows Server 2008 R2 Server Core, it is an optional component. WoW64 is designed to take care of many of the differences between 32-bit Windows and 64-bit Windows, particularly involving structural changes to Windows itself.

with the default setting installation, windows server has turn this feature on,  so you shouldn’t worried about this issue.

 

Check Internet Connection on Windows

If you use windows and find some problem with your internet connection, you should be able to check it, to solve the problem. Here i give you simple, step by step to check your windows internet connection.

1. ping localhost
open you command prompt and try to ping localhost, if it do not respond. you should check you internet adapter (lan adapter, wireless adapter etc) wheter it is on or not. you can check it start > control panel > network connection . to enable/disable adapter you just need to right click the adapter and choose disable/enable

2. internet connection logo
if the internet connection logo shows you clear icon (without x mark) it means you are already connected to internet, if not, maybe you just connected to local area network.

3. check your ip address
you can use command prompt to check your ip addres. using commmand: ipconfig
if 169.x.x.x shows up. it means you are not connected to internet, because it is the default ip address of microsoft windows. it is possible if ip address allocation from dhcp server exceeds its limit. either you have to wait for other people to leave or you can set manually your ip address provided right information of ip address range available in that place.

4. ping to gateway
gateway is what connects you into internet, if you can ping your gateway means local connection works well.

5. ping familiar internet address
if you have ping your gateway and succeeded, you can try ping familiar internet address such as google.com or ip address such as 8.8.8.8 (dns google).

Karberos Installation Error

1. Error kinit

root@krb:/home/user# kinit
kinit: Client not found in Kerberos database while getting initial credentials

solution :
we need to write user after kinit
example
root@krb:/home/user# kinit root/admin
Password for root/admin@EXAMPLE.COM :

2. Error krb5-rsh Client
root@krb:/home/user# krb5-rsh -x -PN krb.example.com
error getting credentials: Server not found in Kerberos database

solution :
we need to add princ “host” that is associated with krb services

users and the services must have an appropriate principal entry in the Kerberos database. While users are in form of NAME/ROLE, services are in form SERVICE-NAME/HOSTNAME. So we need to add a principal for service “host” (common name for all shell services), on host where the service is provided — krb.example.com.

sudo kadmin.local
Authenticating as principal root/admin@EXAMPLE.COM with password.

kadmin.local: addprinc -randkey host/krb.example.com

WARNING: no policy specified for host/monarch.spinlock.hr@SPINLOCK.HR; defaulting to no policy
Principal “host/krb.example.com@EXAMPLE.COM” created.

kadmin.local: ktadd -k /etc/krb5.keytab -norandkey host/krb.example.com

kadmin.local: quit

kinit root/admin

source : http://techpubs.spinlocksolutions.com/dklar/kerberos.html#krb-adduser-priv

Fatal Server Error: no screens found after installing fglrx

Fatal server error:
no screeen found

after i install fglrx by downloading via amd homepage i got above error on my ubuntu 11.10. apparently there are some miss-configurations after the installation process.

so as suggested by some sites, i uninstall fglrx by running

# cd /usr/share/ati
# sudo sh ./fglrx-uninstall.sh

and once again i reboot my laptop expecting i can get my normal screen, but again
i get
Fatal server error:
no screeen found

if u experience the same problem you may do this :
1. press ctrl+alt+f1 this will bring you to terminal
2. i decide to reinstall fglrx and get new configurations for my display so i run this command
[php]sudo apt-get –reinstall install fglrx[/php]
3. reboot, u should get your normal screen back 🙂

source
http://mrrichard.hubpages.com/hub/2-Ways-to-Install-FGLRX-in-Ubuntu-1110-Oneric
http://askubuntu.com/questions/25519/how-to-remove-amd-unsupported-hardware-without-reinstalling-the-driver

FreeBSD 7 & 8 Installation Step by Step

This is minimal installation of FreeBSD 7 & 8. By installing only minimal package and service means we will learn how to perform installation of services by ourself 🙂

just follow the gallery below 😀

Snorby Installation on Ubuntu 11.04

snorby is a ruby ​​application that is used to display / report the results of detection of intrusion detection software such as Snort, Sagan, and suricata. Snorby has an attractive appearance and layout, it is neat and easy to use, making snorby become one great option, beside anval, base, and the standard snortreport as snort reporting sotware to user. if you want to install snort, on a previous post i have written about the basic installation of Snort, which is one of the standard and widely IDS used.

Snorby is a ruby ​​application, because of that its installation process us a little bit new for me. Snorby installation tutorials have been written and published on the internet. It is also displayed on the main page of http://snorby.org, but the installation tutorials is not comprehensive enough. so if you are looking for the comprehensive one, you can go to snorby.org wiki pages. There is snorby installation in ubuntu without the use of RVM. The installation tutorial is complete enough to be followed if we want to install snorby on ubuntu machine.

snorby installation:

1. install dependencies
[php]

sudo apt-get install gcc g++ build-essential libssl-dev libreadline5-dev zlib1g-dev linux-headers-generic libsqlite3-dev libxslt-dev libxml2-dev imagemagick libmysqlclient-dev libmagick9-dev git-core mysql-server wkhtmltopdf[/php] Continue reading Snorby Installation on Ubuntu 11.04

Scan and Check External Harddisk Windows

Sometime you find your external harddisk doing something wrong by displaying folder that can’t be opened, instead it asks you to format your drive. it means there is logical failure in the harddisk. Windows by default has provide us the ability to scan and fix disk error. Usually if windows reads flash/external disk that may be corrupted it will show us question whether we want to scan and fix disk or not. In my case, i found some folders unaccessible and windows shows me the question to scan and fix each time i plug in the external harddisk. but when i follow the instruction to scan and fix harddisk the operation is never get done.
Continue reading Scan and Check External Harddisk Windows

Setting Proxy for Git

Git can use general proxy configuration on server,
such proxy configuration on ubuntu

export http_proxy=http://username:passwd@proxyserver:port

or use config git

[php]git config –global http.proxy http://username:passwd@proxyserver:port[/php]

if your proxy server doesnt need username and password simply write this command

[php]git config –global http.proxy http://proxyserver:port[/php]

now you can use git behind proxy

root@idsubuntu:/home/administrator# git clone http://github.com/Snorby/snorby.git
Cloning into snorby…
remote: Counting objects: 7232, done.
remote: Compressing objects: 100% (2159/2159), done.
remote: Total 7232 (delta 5054), reused 7081 (delta 4926)
Receiving objects: 100% (7232/7232), 4.83 MiB | 17 KiB/s, done.
Resolving deltas: 100% (5054/5054), done.