Occasionally during development activities, or even normal server operation, you’ll want to change the hostname of Ubuntu. Here’s how: In Ubuntu Desktop click the cog icon in the top right corner, then select About This Computer Click in the Device name field and type a new name for your machine Close the window to save the changes Open a new terminal window. The new hostname will be reflected in the window title and the prompt.
Recently I was working with some PHP code that made use of cURL, and found it wasn’t enabled on my Windows server. The error was similar to this: Fatal error: Call to undefined function curl_init() The good news is that PHP libcurl is bundled in the Windows PHP installation by default. It just has to be enabled. What is PHP cURL? The official PHP documentation describes the libcurl libarary as
Hello World in Java This article will run through the installation of Java JDK, and the creation of the traditional “Hello World” program in Java. These steps are for Windows 10 Pro 64-bit. Install Java JDK Download the latest Jave SE JDK from Oracle. I’m using version jdk-8u121-windows-x64. Run the installation. You can accept all the defaults, or review them and change as needed. I installed to a custom directory C:\Dev\Java\.
1. Install remote-sync package (local) We can use the remote-sync package to connect to an Ubuntu remote server via SCP/SFTP or FTP. Read more about remote-sync here: https://atom.io/packages/remote-sync Open Atom and select File > Settings > Install In the Search Packages text box, type remote-sync and hit enter. Then click Install from the search results. 2. Configure remote-sync (local) For this step we will assume that Atom is being used locally to modify a project folder hosted on a remote server (e.
Today we will go through installing the hackable text editor Atom on Windows 10. Then we’ll install and configure the remote-atom package, which will allow us to edit files stored on a remote Ubuntu server. For these steps I’m using Ubuntu 16 on VirtualBox (remote), all running on a Windows 10 host (local), as described in this previous article. remote-atom uses rmate and SSH port forward to transfer files. Note that rmate does not support opening an entire directory, which is a feature lots of people find useful in Atom.