Why I cannot login remote server with its root
# ssh root@192.168.122.96
root@192.168.122.96's password:
Permission denied, please try again.
Do according to [1].
NOTE: on Ubuntu, remember to restart ssh service like this “sudo restart ssh”.
# ssh root@192.168.122.96
root@192.168.122.96's password:
Permission denied, please try again.
Do according to [1].
NOTE: on Ubuntu, remember to restart ssh service like this “sudo restart ssh”.
The download page of Hadoop http://hadoop.apache.org/releases.html only contains several recent release packages. I would like to download some old release packages such as Hadoop 2.5.0 which is not available anymore on the release page. Where to download a copy of the old release? You can download the old release packages of Hadoop on the http://archive.apache.org…
How to list a page’s child pages in WordPress? wp_list_pages can list the sub pages of a page. Check this code (also include the HTML that wraps it as an example): <h3>Pages under <?php the_title(); ?></h3> <div class=”entry”> <ul> <?php global $id; wp_list_pages(“title_li=&child_of=$id&show_date=modified &date_format=$date_format”); ?> </ul> </div> Read more: Excerpt in homepage, category, tag and…
I got a message: Package subcaption Error: `caption’ package not loaded I guess that I should install the cpaton package. How to install the caption latex package on Fedora? Fedora 19 is already shipped with the latex Tex Live 2013. You can directly install it by yum. # yum install texlive-caption For older Fedora releases,…
How to statically compile C and C++ projects? The compiled executable should lead no dynamical library during execution. I use gcc/g++ to compile the projects. Check this post: Statically Linking C and C++ Programs on Linux with gcc. Read more: Statically Linking C and C++ Programs on Linux with gcc How to Statically Link OCaml…
How to make ctags recognize specific files with certain extensions such as .c0 or .puc as C source files? You may add this line to your ~/.ctags: –langmap=c:+.c0,c:+.puc Read more: How to make taglist recognize specific files with certain extensions as C source files? How to get files without certain strings in their files names…
How to use OCaml as a script language like bash and python? It will be good that I can write a script in OCaml and directly invoke it. For example, I write a script named “script.ml” and then I can invoke it directly by $ ./script.ml Thanks! Three helloworld scripts: script3.ml #! /usr/bin/env ocaml print_string…