Remote coding in linux from windows - linux

I have a ubuntu machine in the same network with my windows laptop. I have a Pycharm Community Edition in my windows machine. I want to use the Pycharm in my windows machine to write Python Scripts which I want to run in Python interpreter present in Ubuntu machine. I am having difficulties installing Samba, as a linux newbie. I get the error that says samba.conf not present.Is there any other alternatives?

Don't bother with Samba. You can configure PyCharm to directly upload changed files to a remote server. I.e., when you save locally on your Windows workstation, it can automatically ftp/sftp the file to a pre-configured location on your remote server. See configuration instructions here:
https://www.jetbrains.com/pycharm/help/creating-a-remote-server-configuration.html

I used this when I set up my LAMP machine a few years ago:
https://www.howtoforge.com/ubuntu_debian_lamp_server

Related

VSCode execute node script on remote linux or windows machine

Using VSCode, is it possible to execute a node.js script on a remote linux or windows system without setting up a full Visual Studio Code Remote Development Environment?
Assume the following:
VSCode installed on client (Windows)
remote system is a virtual machine running on the client. It has access to the project folder (including the script to be executed and the node modules) on the client. Node is installed on the remote system.
Actually I just need something like a launch configuration which executes an SSH command for linux, for windows maybe something else. With these assumptions (shared project folder between remote system and client), is that possible without setting up a full Visual Studio Code Remote Development Environment? I don't need remote editing or debugging.

How to access remote python kernel using VSCode / Spyder

I have a python installation within a virtual environment on an Ubuntu server 18.04. Within the virtual environment I have installed Spyder and iPython and Jupyter.
My requirement is: I need to open a local installation of VSCode or Spyder on a different computer (Windows / Mac / Linux) and run my codes on the virtual environment on the Ubuntu server.
A guide would be highly appreciated!
(Spyder maintainer here) Please take at our documentation to learn how to connect our console to a remote kernel.

Accessing VPS linux hosting like RDP in Windows

Sorry but I'm a newbie in Linux. I have a VPS hosting of CentOS 6. Can I access it like Remote Desktop on windows to see the GUI?
With a hosted Linux machine chances are that id doesn't even have "the GUI" (an X11 server and some GUI environment like KDE or Gnome) installed at all but only supports command line access via ssh.
If you really need GUI instead of command line access then the "classic" option would be VNC. There is a HowTo for this for CentOS at
http://wiki.centos.org/HowTos/VNC-Server
or at
http://www.howtoforge.com/vnc-server-installation-centos-6.5
for example ...

Python Lib to excute remote windows commands from a linux Box without using ssh

This a very basic requirement of our project.
I need to run Windows command from a linux box, without using ssh, as not all the windows boxes have ssh installed by default.
I was searching for some python libs that can do this work?
Links, tutorial, are highly appreciated.
Some alternatives:
http://www.krenger.ch/blog/wmi-commands-from-linux/
http://pypi.python.org/pypi/WMI/ (under wine or a Windows bridge VM)
https://code.google.com/p/impacket/source/browse/trunk/examples/psexec.py

UNIX/LINUX localhost server in a windows machine

I'm using XAMPP for windows to build my website projects, but I need to create a website in a UNIX/LINUX based server, but since I'm using XAMPP it is a Windows based server.
Somebody knows how can I do that in a windows machine, without having to install Linux in my machine?
Thanks in advance!
Install VirtualBox and run a VM of your favorite linux distribution. My suggestion would be Debian or Ubuntu.

Resources