- Download latest
curl
- Manual install
curl
:
sudo apt install libssh2-1-dev libssl-dev
cd curl/
./configure --with-ssl --with-libssh2
make
sudo make install
- Test installation:
curl
curl
:sudo apt install libssh2-1-dev libssl-dev
cd curl/
./configure --with-ssl --with-libssh2
make
sudo make install
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000