Profile cover photo
Profile photo
Zemian Deng
I am a Java guy.
I am a Java guy.
About
Zemian's posts

Post has attachment
blog: Move yet again to github.com
One more try. I have decided to use https://zemian.github.io as my new blogging home.

Post has attachment

Post has attachment
blog: Moving to new Blog platform LessCodeLessBug on WordPress
I have decided to use different blogging platform for my writing. Please visit http://lesscodelessbug.wordpress.com for future posts.

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...

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...

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...

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...

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...

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...

Post has attachment
pip: How to install venv and pip with a python 3.4 distribution
If you are unfortunate enough to have stuck with a Python 3.4 distribution and you want to setup a virtual env, then likely you will get the ensurepip module not found error: bash> python3.4 -m venv mypy Error: Command '['/home/zedeng/py-dev/mypy/bin/python...
Wait while more posts are being loaded