buntu安装pycharm，报异常 ： No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation
Posted in 程式, Pycharm, Python
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.
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:
- Get the Debian Net-Installer from Debian.org (180 MiB)
- Install debian, when it comes to package setup deselect “Desktop system“
- After reboot, install (using
- Install the VM additions, but install the kernel headers first using:
apt-get install linux-headers-`uname -r`
- Reboot, notice that the network doesn’t seem to work any longer
- 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.
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”.
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.
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.