Profile cover photo
Profile photo
Zemian Deng
I am a Java guy.
I am a Java guy.
About
Posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Add a comment...

Post has attachment
python: Simple http server with CGI scripts enabled
If you want to experiment some python code as CGI script to serve by a HTTP server,
you can get started by these steps: Create a cgi-bin directory. Ready! No, really, it's that simple! Try these CGI scripts out. Example 1: cgi-bin/hello.py #!/usr/bin/env py...
Add a comment...

Post has attachment
postgres: How to install and setup posgresql-server with yum on Linux
If you have a RedHat/CentOS/OracleLinux distro of Linux, then yum should be available as your package manager. Here are the notes I have to get PostgreSQL server up running. bash> yum info postgresql-server
bash> # Verify that's the version you want to inst...
Add a comment...

Post has attachment
sudo: How to switch Linux account user without the target user's password
Did you know if you have been granted sudo access to a remote
host with su command, then you may switch to any user without the
need to type in their password? Try this out: zemian@myhost bash> sudo su - postgres
# When prompted for password, enter your own...
Add a comment...

Post has attachment
ssh: Login to remote host without password
Most of remote systems are secured by SSH, and to gain remote control with terminal, you would need to ssh into the server. You will be prompted to login with your password on every session. To avoid typing password everytime, you need to setup as authorize...
Add a comment...

Post has attachment
ssh: Login to remote host without password
Most of remote systems are secured by SSH, and to gain remote control with terminal, you would need to ssh into the server. You will be prompted to login with your password on every session. To avoid typing password everytime, you need to setup as authorize...
Add a comment...

Post has attachment
wls: How to import SSL cert into WLS DemoTrust.jks keystore file
In WLS, you can import your own SSL cert into it's trust keystore file to invoke "https" contents. Here is how you do that with the default WLS DemoTrust.jks file. bash> cd $WL_HOME/server/lib
bash> keytool -keystore DemoTrust.jks -storepass DemoTrustKeySto...
Add a comment...
Wait while more posts are being loaded