Useful commands¶
gislab-addusercreates GIS.lab user account
gislab-backupallbackups all GIS.lab user accounts
gislab-backupclientbackups GIS.lab client root and image
gislab-backupuserbackups GIS.lab user account
gislab-client-imagebuilds new GIS.lab client image
gislab-client-shellruns command or launches interactive shell in GIS.lab client’s root
gislab-cluster event <event>sends a custom event through the Serf cluster
gislab-cluster event rebootreboot all members of cluster
gislab-cluster event reboot <hostname>reboot particular client machines
gislab-cluster event shutdownshutdown all members of cluster
gislab-cluster leavegracefully leaves the Serf cluster and shuts down
gislab-cluster memberslists the members of a serve cluster
gislab-cluster members -tag sesion-active=*lists client machines which are currently running user session
gislab-deluserremoves GIS.lab user account
gislab-listuserslists GIS.lab users
gislab-machinesadds or removes GIS.lab client machine’s MAC address
gislab-passwordchanges GIS.lab user’s password
gislab-restoreuserrestores GIS.lab user account from backup
nslookupdisplays information that can be used to diagnose DNS infrastructure, e.g. domain name or IP address, it is available only if TCP/IP protocol is installed
ping <hostname-or-ip-address-of-the-target-computer>sends a test packet of data to a designated IP address to test connection using the TCP/IP protocol, it finds out whether the peer host/gateway is reachable
shutdown -h nowbrings the system down; instructs the hardware to stop all CPU functions immediately
vagrant destroystops the running Vagrant machine and destroys all resources that were created during the machine creation process
vagrant haltshuts down the running machine Vagrant is managing
vagrant provisionruns any configured provisioners that allow user to automatically install software, alter configurations, and more on the machine as part of the vagrant up process against the running Vagrant managed machine
vagrant provision --provision-with testruns tests with Vagrant
vagrant reloadthe equivalent of running vagrant halt followed by vagrant up
vagrant statustells the state of the machines Vagrant is managing
vagrant upcreates and configures guest machines according to Vagrantfile
vagrant versiontells the version of the installed Vagrant as well as the latest version of Vagrant that is currently available
VBoxManage list runningvmsgets a list of all running VirtualBox virtual machines
