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.
haji
The default shell for root and saya. Also with some handy tools for terminal based development.
zshSettings location:
~/.zshrc
※ Please add your own script into the ~/.bashrc file.
p7zip, 7z
Use the rvm to manage the version ruby.
ruby, irb, rails, rvm
python, pip
lua
node npm
go
phpSettings location:
/etc/php5/
perl
gitSettings location:
~/.gitconfig
You might want to quick setup git account by command: haji setup-git
svn
hg
sudo service mysql start/stop/restart
Admin : | root |
Password : | root |
sudo service postgresql start/stop/restart
Admin : | postgres |
Password : | root |
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:
/etc/apache2/
You may want to change the default document root of the server by this command:
haji set-www-dir
sudo nginx
sudo nginx -s stop/reloadSettings location:
/etc/nginx/
sudo service tomcat6 start/stop/restartSettings location:
/etc/tomcat6/
sudo service smbd start/stop/restartSettings location:
/etc/samba/