This documentation will explain some basic features of this virtual machine. Check updates at here: Google Drive. If you have any question, you can find me here.
※ Your browser should support SVG, so that the diagrams on this page can be rendered properly.
Haji is base on Ubuntu server 12 and is intended to make the developers' life easier. Therefore all settings in Haji is not for a product environment, and it is insecure to directly connect it to the public network.
Although you can use the Virtual Box to play with this vm other than Vmware, but you should know some disadvantages of the Virtual Box:
There two available ways to sharing file system between the host and the vm. The Samba service from the vm, or the Vmware based file sharing service.
Haji File Sharing Model
The easiest way to access the database is to start the apache server and visit port 807 via your browser.
Only significant ones are listed here. For more details and usages about the programs, search the key words in the list on the web.
To optimize the performance, only few services are started automatically, but you can use sudo sysv-rc-conf to enable them (Mysql and Mongodb are not listed in sysv-rc-conf).
Common management tasks helper. Github.
The default shell for root and saya. Also with some handy tools for terminal based development.
※ Please add your own script into the ~/.bashrc file.
Use the rvm to manage the version ruby.
ruby, irb, rails, rvm
You might want to quick setup git account by command: haji setup-git
sudo service mysql start/stop/restart
sudo service postgresql start/stop/restart
sudo service mongodb start/stop/restart※ To enable auto startup, just remove the file /etc/init/mongodb.override.
apachectl a2dismod a2dissite a2enmod a2ensite a2pTo start/stop/restart the server:
sudo service apache2 start/stop/restartSettings location:
You may want to change the default document root of the server by this command:
sudo nginx -s stop/reloadSettings location:
sudo service tomcat6 start/stop/restartSettings location:
sudo service smbd start/stop/restartSettings location: