Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Configuration



  Configure static IP for Linux

When a Linux server is running, it has to have an IP so that other machines can talk to it. It is often desired that the server would own a static IP so that every time other machines want to connect to it, the same IP address would be used. This is extremely useful when there are virtual machines installed on a host machine where the virtual machine would start and stop now and then.  To configure static IP address for a Linux server, the /etc/network/interfaces needs to be updated. Assumi...

   LINUX,NETWORK,STATIC IP,DNS     2017-07-08 08:39:58

  Add compiler argument to build Maven project

Maven is a software project to manage a project's build, reporting and documentation from a central piece of information. It's now widely used t build and deploy projects. It can help automatically maintain the dependencies of projects. There is a central project configuration file named pom.xml. Here you can configure the project you want to build.  In this post, we will show you how to add compiler argument when using javac to compile Java source code. Sometimes we need to pass compi...

   Maven,compiler argument, compiler option, Java 8     2015-04-10 21:59:00

  Send email from Ubuntu command line

First install exim4 and exim4-config using the package manager then install mailx sudo apt-get install mailutils and follow the prompts once this is set up use the command “mail” to check your mail. if you would like to send mail type “mail” followed by the email address to mail it to eg mail me@examplecom enter the subject and press enter the body and keep pressing enter as many times as you need to, when your body is finished, press “Ctrl” and “D" toge...

   Ubuntu,Email,Command line,mailutils     2011-04-25 15:58:10

  Surface Pro available in mainland China on April 2

According to 36Kr, the Surface Pro will available in mainland China, Australia, France, Germany, Hong Kong , New Zealand and the United Kingdom starting from the end of March. Now the confirmed news is Surface Pro will be on sale in mainland China at 9:00pm on April 2 officially. The Surface Pro price in the United States is 64GB/$899, 128GB/$999. If it's the same in China, then the cheapest Surface Pro should be nearly ¥5600,the 128 GB Surface Pro will be up to ¥6200.Surface Pro configu...

   Surface Pro,China,Sale     2013-03-28 08:51:00

  Using msmtp to replace sendmail

sendmail is a mail client in Linux with many vulnerabilities and tedius configuration steps, many system administrators have disabled using it. Then how do we know what happens if a crontab script executes with error? Actually there are some replacements for sendmail, one is ssmtp, but this application is no longer maintained, we even cannot find its source code on Google. Fortunately, we can use msmtp to replace sendmail. The address : http://msmtp.sourceforge.net/ 1. Installation After downloa...

   sendmail, msmtp, replacement     2012-09-27 11:41:48

  A handbook on the first day of joining a new internet company as BE engineer

When joining a new internet company, there might be lots of things need to be done to get ready for taking new challenges. These include both culture and tech preparation. in this post, we would focus on how to prepare the first day technically. The first thing to do is to get your laptop or your work machine up, these involves lots of tool setup and accesses. Normally there are three major task categories. Access As an engineer, there are lots of accesses needed to access different resources wi...

   TIPS,CAREER ADVICE,ONBOARDING     2021-12-11 21:32:10

  Different types of keystore in Java -- DKS

Domain KeyStore(DKS) is a keystore of keystore. It abstracts a collection of keystores that are presented as a single logical keystore. Itself is actually not a keystore. This new keystore type is introduced in Java 8. There is a new class DomainLoadStoreParameter which closely relates to DKS. To load different keystores into the single logical keystore, some configuration is needed. Here is the format of the configuration for grouping different keystores. domain [ ...] { keystore [ ....

   Java,keystore,DKS,tutorial     2015-01-20 02:27:27

  Build Hadoop environment in Linux

Hadoop standalone installation: 1. Install JDK Install JDK with below command: sudo apt-get install sun-java6-jdk Configure Java environment, open /etc/profile, add below contents: export JAVA_HOME = (Java installation directory) export CLASSPATH =".:$JAVA_HOME/lib:$CLASSPATH" export PATH = "$JAVA_HOME/:PATH" Verify installation of Java Type java --version, if it outputs Java version information, then Java is successfully installed. 2. Install SSH Install SSH with below command: sudo ...

   Hadoop.Linux,Configuration     2013-07-31 23:22:27

  New member in Samsung family

According to The Verge, Samsung will enhance its product army by unveiling two new tablet devices, they are 8 inch and 10.1 inch Galaxy Tab 3. The configuration details of 8 inch Galaxy Tab 3 are: 1.5 GHz Exynos dual core processor WXGA TFT display screen, resolution is 1280x800 px and 189 PPI The main camera is 8 megapixel, 1.3 megapixel front camera 4450 mAh battery 1.5 GB RAM 16GB/32GB storage space The configuration details of 10.1 inch Galaxy Tab 3 are: 1.6 GHz Intel dual-core processor...

   Samsung Galaxy Tab 3,Tablet     2013-06-03 12:17:04

  Using htpasswd to protect your website in Nginx

We need to build a password protected website frequently such as an internal website within the team, demo website. Here what we are talking about is password protection in Nginx server level instead of application level registration and login. We are going to use Nginx server configuration and htpasswd file to achieve password authentication. The final result looks like below(Different browsers may have different interfaces): If the authentication fails, it will report a HTTP error: 401 Author...

   Nginx,Password protected,htpasswd     2013-06-07 21:35:27