We have studied the dynamic process of interactions between a DNA chain and a histone octamer by numerical simulations. It is found that DNA indeed may wrap around the histone octaner about two turns as in the actual situations. The simulation shows that the interaction potential between DNA and histone is a key factor for the wrapping of DNA, and the temperature is also an important parameter in the process.