liz.sh st Use PostgreSQLĪfter installing PostgreSQL/PostGIS with the. This wil let you have a working PostgreSQL and sshd server after starting a new Termux session. The installation has added a script ~/.bash_profile which will be run automatically at startup. # Restart PostgreSQL # And display the SSH user and the IP addresses # This must not be necessary since this command is automatically run at startup # But you can call it anytime needed # Restore gis PostgreSQL database # BEWARE: this will erase your Android PostgresSQL gis database # and overwrite it with the previosly backuped data !!! # Backup gis PostgreSQL database into the root folder /sdcard/ # Get IP addresses # for WLAN (if WIFI is used) # and USB (if your share your Android 3/4/5G connection with your computer) # Start, stop, restart, get status for PostgreSQL server liz.sh in # OR you can use the command # with a password given as parameter, gis in this example (you could use an environment variable or read from a file, etc # Install PostgreSQL and PostGIS, and create a gis database and a gis user with gis password # Nothing will be done if PostgreSQL is already installed # Install also sshd, shows the user name and asks for a password # Nothing will be done if sshd is already installed # Note: if you pass a password as argument, it will be used for the PostgreSQL and SSH user #. # Update packages # Run it frequently to keep your termux up-to-date # No need to run it if you just ran "pkg update" before # Add symbolic links to access your Android files # by running termux-setup-storage command line # This is only required once # See Only if you have not given the password at the end of the command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |