Ubuntu安装pycharm, No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation

buntu安装pycharm,报异常 : No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation

Continue reading

Posted in 程式, Pycharm, Python | Tagged | Leave a comment

Install Debian 8.0 Jessie

Install Debian 8.0 Jessie
 This is my experience in installing Debian 8.0 Jessie.
Download the ISO file from Debian official website, burn it into a CD/DVD.
Prepare a document to record the selections of the following steps, especially for passwords you will set; prepare a mouse for the touchpad won’t be usable during installation.

Continue reading

Posted in Debian | Leave a comment

Setting up a minimal Debian for VM use

I’ve been just installing a Linux in a VM again (using VirtualBox, tested with 1.5.6). As a minimal system, I choose Debian (with minimal I mean that you don’t get much unused stuff, it boots fast and the disk usage is reasonable. I know that DSL or whatever would be smaller, this is just about getting a decent work system up and running quickly). Here’s a small howto:

  1. Get the Debian Net-Installer from Debian.org (180 MiB)
  2. Install debian, when it comes to package setup deselect “Desktop system
  3. After reboot, install (using apt-get install):
    • x-window-system-core
    • kde-core
    • kdm
    • g++
  4. Reboot
  5. Install the VM additions, but install the kernel headers first using: apt-get install linux-headers-`uname -r`
  6. Reboot, notice that the network doesn’t seem to work any longer
  7. Run dhcpd (as root)

Done. This gives you a quite small debian installation which works fine and uses really little disk space (1.10 GiB including the swap-file).

[Update] dhcpd has to be run as root in case no network connection is found.

Source: https://anteru.net/2008/04/18/225/

Posted in Debian | Leave a comment

Using lsof: 10 Essential Commands To Troubleshoot Your Linux Server

Verified and Tested 10/30/15


At some point in their career, everyone is going to troubleshoot an issue. And everyone has their favorite troubleshooting step to use. For a lot of system admins, the first step to do is make sure that everything is up-to-date. For others it’s only a matter of checking log files before finding your solution. For me and others here at Atlantic.Net, it’s lsof; a command line utility used to list information about files that are opened by various processes.

Mostly used for troubleshooting network connection issues, lsof is a powerful yet too-little-known application. If you’re familiar with general Linux commands, lsof is an easy tool to remember because it “lists open files”.

Continue reading

Posted in Debian | Leave a comment

Install Oracle VirtualBox And Manage It Using phpVirtualBox On Ubuntu 15.04 Headless Server

We can easily install Oracle VirtualBox on any GUI Linux desktops. But, what about in a Linux Server that has no GUI? It is not that difficult. This tutorial describes how to install Oracle VirtualBox in Ubuntu 15.04 headless server. The same procedure should work on Ubuntu 14.04 LTS server and other older versions.

Continue reading

Posted in VirtualBox | Leave a comment

VirtualBox: two network interfaces (NAT and host-only ones) in a Debian guest on Ubuntu

I created a Debian VM on VirtualBox with two interfaces: a NAT one (for accessing internet) and a host-only one. However, I do not know how to make both interfaces work at the same time. If I the define the host-only as the adapter 1, I can access my VM from the host but not the internet; if I define the NAT one as adapter 1, I can access the internet but cannot reach my guest Debian.

Continue reading

Posted in VirtualBox | Leave a comment

All-In-One Redux – Proxmox & FreeNAS


After using my VMware/NexentaStor All-In-One for a while, I grew tired of VMware’s bloat & limitations. Doing “cool stuff” in VMware requires a license, & vSphere Client only runs on Windows. I got tired of starting up a Windows VM just to manage my hypervisor. That’s the only thing I started Windows up for, and it got old. I wanted something I could manage directly from my primary OS, OS X, as well as lightweight & preferably open source.

There are plenty of hypervisor products on the market today, but I wanted to move to something open source & unix based. KVM has quickly become a big presense in this market, and for a good reason: it’s awesome. It’ll run on just about any hardware you have, and has even been ported to Solaris in the form of SmartOS.
Continue reading

Posted in HP N54L | Leave a comment