Any usable command
-
Search package on current repository
eg: sudo apt-cache search opengeo
-
Login as another user
sudo su postges
-
(Setup Postgres user for the first time)[http://suite.opengeo.org/opengeo-docs/dataadmin/pgGettingStarted/firstconnect.html#dataadmin-pggettingstarted-firstconnect]
-
Run file backgorund
nohup sudo root-0.1-SNAPSHOT/bin/root -Dhttp.port=8080 &
-
Lists listened port
sudo netstat -tulpn
-
Kill listened port
fuser -k 8080/tcp
-
Update GRUB File
sudo update-grub
-
Open port
sudo ufw allow 8081/tcp
-
Close port
sudo ufw disallow 8081/tcp
Installing module and enable it manually eg: sudo apt-get install php5-mcrypt && sudo php5enmod mcrypt