I wrote a windows desktop tool that is supposed to read / write files to a unix machine. The problem is that I don't have a unix machine to test it on.
Is there something I can install on my windows machine that will mimic a remote unix machine and let me test my application?
Installed VMWare player. In VMWare player installed Lubunto. Works perfectly.
Related
Is it possible to build app from windows for linux target?
Also, is it possible to debug linux target with windows machine?
You may install Windows Subsystem for Linux on Windows 10 (Fall Creators Update and later). Any Linux distribution available from the Microsoft Store would be adequate. Then, add the development environment (compilers, development libraries) to you Linux subsystem, and you may build your project for Linux using the bash shell. This would be only slightly more comfortable than installing a Linux virtual machine, but with the inconvenience that GUI programs don't run in WSL. For running and debugging you will need a virtual machine.
I currently have an Ubuntu 18.04 environment. For our course, we need to have Visual Studio, ASP.NET, Microsoft SQL Server and IIS installed. One solution was to install the Windows OS on VMware/VirtualBox, but since Windows OS on a virtual machine is a bit heavy on my laptop, is there any other slightly "light" OS that allows me to install the 4 requirements already mention?
As Lex Li says the IIS is Windows only,VS is only available on Windows and Mac. So you could only use the windows.
Here is a workaround, if you are familiar with the VS code, you could use VS code develop asp.net application, then you could use docker to run the asp.net application with IIS.
More details about how to use vs code in the linux, you could refer to below article:
https://code.visualstudio.com/docs/setup/linux
About how to use vs code to test application with docker, you could refer to below article:
https://medium.com/#agavatar/working-with-docker-in-visual-studio-code-756ea8b32abc
I am working with Essbase installed on a Linux box. I am trying to use SQL and OCI to direct load into my cube. It fails and says that it cannot find libociei.so. Someone suggested that I download and install the Oracle Instant Client on my machine. The catch is that my client machine is windows and Essbase wants a Linux DLL. Why would (and how could) my windows client machine play any role in this? It seems like the Oracle Instant Client needs to be installed on the server where Essbase is. The DLL is a compile on Linux, not Windows! Any thoughts would be appreciated.
Is there any way where we can develop a script that would run on Windows and FTP files from Windows local machine to a Linux server.
I'm not interested in using third party tools like FileZilla or WinSCP at the moment.
On Windows 10 version 1803 or newer, there's sftp.exe built in (from Microsoft build of OpenSSH for Windows). On older versions of Windows 10, it can be installed as an optional Windows feature. On older versions of Windows, you can just extract the ssh.exe from a .zip (latest release), no installation is need.
There's not even any built-in language in Windows that supports SFTP. Neither batch file, PowerShell, JScript nor VBScript support the SFTP natively. You would have to install SFTP library.
Some languages do support SFTP natively (PHP for instance), but you have to install these.
Using a 3rd party tool like WinSCP is more straightforward.
See an introduction to scripting with WinSCP.
See also What's a decent SFTP command-line client for windows?
FileZilla does not support scripting:
How to send a file with FileZilla from command line?
Is it ok to develop ASP.NET web applications on MacBook Pro ?
.NET is only available for Windows. There's the Mono project, which is not affiliated with Microsoft, which aims to create an open source .NET runtime and developer tools, usable on *NIX (including Mac OS X). If you want to develop .NET applications under Mac OS, this is your only choice.
Speaking of a MacBook though, you can install Windows on it using Boot Camp or run it in a virtual machine and develop in Visual Studio like on any other Windows box. And this is ok, I don't think anybody will confiscate your Mac for doing so.
If you have Windows running on the Mac then it is OK.
Another way is to use some .NET IDE for Mac (e.g. MonoDevelop)
New from Microsoft, IDE for Mac, Linux and Windows: https://code.visualstudio.com/Download
The best method to do that would be to install windows 10 with bootcamp and then install .NET . The steps involved are pretty straight forward. Just open bootcamp and create the partition and select the ISO of windows. Once installed, tap the options key on boot to boot to windows. If everything is smooth, you can continue the development, else, just open bootcamp again and delete the partition.
https://www.microsoft.com/en-in/software-download/windows10 - open this on mac to get the legal windows image. This will be valid only for a limited time