Sunday, 4 April 2021
Thursday, 16 August 2018
Vbox autostart on CentOS 7
The basic steps is as follows:
1. Install Virtualbox through the following commands:
- # yum install epel-release -y
- # yum update -y
- # yum install gcc make patch dkms qt libgomp kernel-headers kernel-devel fontforge binutils glibc-headers glibc-devel -y
- # wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
- # yum install VirtualBox-5.2
- # /usr/lib/virtualbox/vboxdrv.sh setup
- # usermod -a -G vboxusers USERNAME
2. Configure Vbox for Autostart:
- # cd /etc/vbox/
- vim /etc/default/virtualbox
Enter the following in the file virtualbox:
VBOXAUTOSTART_DB=/etc/vbox
VBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg
VBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg
- # vim autostart.cfg
(Can enter more users depending on access):
# Create an entry for each user allowed to use autostart
USERNAME = {
allow = true
}
Change access permissions of Vbox folder:
- sudo chgrp vboxusers /etc/vbox
- sudo chmod 1775 /etc/vbox
- sudo usermod -aG vboxusers USERNAME
3. vboxmanage is the command comes with VirtualBox software for management. Few handy Vbox command for practice is as follows:
- vboxmanage list vms # list the names of all VMs
- vboxmanage list runningvms # list currently running VMs
- vboxmanage list systemproperties | grep folder # Display current setting repository
- vboxmanage startvm NAME-OF--VM --type headless # Command to start VM from the shell
- VBoxManage controlvm NAMEOFYOURVM savestate # Command to hibernate VM from the shell
4. Enable autostart for individual machines:
- vboxmanage setproperty autostartdbpath /etc/vbox
5. Set a particular VM to start on boot:
- vboxmanage modifyvm {UUID-or-Name-of-VM-Here} --autostart-enabled on --autostop-type poweroff
6. Enable vboxautostart-service to run at start up:
- sudo systemctl enable vboxautostart-service
- sudo systemctl start vboxautostart-service
Tuesday, 1 September 2015
ISE & SDK on Ubuntu
- ISE / Vivado setup (64 bit OS)
- Install ISE/Vivado......... sudo ./xsetup
- bash
/Xilinx/ /ISE_DS/settings64.sh - PATH=$PATH:
/Xilinx/ /ISE_DS/ISE/bin/lin64/ - ise
- SDK Setup
- Install SDK......... sudo ./xsetup
- sudo apt-get install lib32z1 lib32ncurses5 (install ia32-libs)
- source
/Xilinx/ /SDK/settings64.sh - PATH=$PATH:
/Xilinx/ /SDK/SDK/bin/lin64/ - Check CodeSourcery and see if arm-xilinx-eabi-* installed or not. If not installed, the same can be installed from
.bin located in installer. Set appropriate PATH to bin folder and start SDK. - xsdk
- To install usb drivers
- sudo apt-get install gitk git-gui libusb-dev build-essential libc6-dev-i386 fxload (Not required in most cases)
- cd /
/Xilinx/ /ISE_DS/common/bin/lin64/ digilent - sudo ./install_digilent.sh (Accept default paths)
- Restart udev........./etc/init.d/udev restart
Tuesday, 4 June 2013
India @ a glance !
? - 1900 : External elements invaded nation in the pretext of development.
1900 - 1940 : Generation has struggled hard to get freedom (To live) & Independence (From external elements)
1940 - 1980 : Generation has done their best to sacrifice freedom (To corrupt & unethical groups) & Independence (To internal elements) in the pretext of development.
1980 - 2020 : New generation is working their best for freedom (From corruption, Violence, Poverty, etc ) & Independence (From Internal elements).
2020 - 2060 : Seems you can guess better !
Ultimately everything appears cyclic, and it seems the basic law of nature. Enormous energy, time, & thinking has to go to change this nature of life. As this is beyond the span of humans, it requires lot of forward thinking, which this century lacks due to overgrowing infulence of less relevant information & technology !
- Pramod
Thursday, 25 October 2012
Father Forgets by W. Livingston Larned
"Listen, son; I am saying this as you lie asleep, one little paw crumpled under your cheek and the blond curls stickily wet on your damp forehead. I have stolen into your room alone. Just a few minutes ago, as I sat reading my paper in the library, a stifling wave of remorse swept over me. Guiltily I came to your bedside.
There are things I was thinking, son: I had been cross to you. I scolded you as you were dressing for school because you gave your face merely a dab with a twoel. I took you to task for not cleaning your shoes. I called out angrily when you threw some of your things on the floor.
At breakfast I found fault, too. You spilled things. You gulped down your food. You put your elbows on the table. You spread butter too thick on your bread. And as you started off to play and I made for my train, you turned and waved a hand and called, "Goodbye, Daddy!" and I frowned, and said in reply, "Hold your shoulders back!"
Then it began all over again in the late afternoon. As I came Up the road, I spied you, down on your knees, playing marbles. There were holes in your stockings. I humiliated you before you boyfriends by marching you ahead of me to the house. Stockings were expensive - and if you had to buy them you would be more careful! Imagine that, son, form a father!
Do you remember, later, when I was reading in the library, how you came in timidly, with a sort of hurt look in your eyes? When I glanced up over my paper, impatient at the interruption, you hesitated at the door. "What is it you want?" I snapped.
You said nothing, but ran across in one tempestuous plunge, and threw your arms around my neck and kissed me, and your small arms tightened with an affection that God had set blooming in your heart and which even neglect could not wither. And then you were gone, pattering up the stairs.
Well, son, it was shortly afterwards that my paper slipped from my hands and a terrible sickening fear came over me. What has habit been doing to me? The habit of finding fault, of reprimanding - this was my reward to your for being a boy. It was not that I did not love you; it was that I expected too much of youth. I was measuring you by the yardstick of my own years.
And there was so much that was good and fine and true in your character. The little heart of you was as big as the dawn itself over the wide hills. This was shown by your spontaneous impulse to rush in and kiss me good night. Nothing else matters tonight, son. I have come to your bedside in the darkness, and I have knelt there, ashamed!
It is a feeble atonement; I know you would not understand these things if I told them to you during your waking hours. But tomorrow I will be a real daddy! I will chum with you, and suffer when you suffer, and laugh when you laugh. I will bite my tongue when impatient words come. I will keep saying as if it were a ritual: "He is nothing buy a boy - a little boy!"
I am afraid I have visualized you as a man. Yet as I see you now, son, crumpled and weary in your cot, I see that you are still a baby. Yesterday you were in your mother's arms, your head on her shoulder. I have asked too much, too much."
- W. Livingston Larned
Subscribe to:
Posts (Atom)