Making FreeBSD as a local development server - linux

I have installed FreeBSD 9.1 release by the help of Virtual Box running on Windows 7.
On FreeBSD, I have installed PHP and Apache using ports.
Now I wish to do all my development from the Windows operating system, transfer the written code via FTP and see the result of my development activity on my Windows browser.
For achieving this I would need to make this FreeBSD installation as a server which can serve the content to my browser on Windows 7.
I have tried to done several changes to /etc/rc.conf but none of them allow me to access the FreeBSD from Windows.
I had tried making the following entries in the /etc/rc.conf
hostname="fbsd.web.in"
ifconfig_em0="inet 192.168.1.222 netmask 255.255.255.0"
"em0" is my network interface which I have check by running the command ifconfig
I have been trying to achieve this for the last 2 days by trying out different configurations but nothing has helped so far.
Just for information I have a wifi network at my place.
Can anyone help me?

Here is a nice tutorial on how to set it up: http://www.jacklmoore.com/notes/development/
Just remember to enable bridged networking in your VM settings.

Related

How to use ec2 instance as personal dev box using intellij as IDE?

I have searched the questions and have not found an answer to this one:
I am developing an existing project (git repo) that runs only on Linux. For the time being I have at my disposal only a windows laptop which I cannot modify. This laptop has Intellij installed and internet access. I cannot, for example, create a Linux VM on this laptop.
Is there a way I can put the project code on an Amazon ec2 Linux instance and build the project on that instance, while viewing and developing the code in Intellij? All compilation and code execution has to be done remotely, on the ec2 Linux instance. I cannot build locally and push from the windows laptop.
2 possible configurations might be:
(1) install intellij on the ec2 instance and x-window in from windows to view the intellij screens;
(2) use the intellij on the Windows laptop and somehow point the intellij to the ec2 instance in order to view, edit, build, and run the project on that instance.
Any ideas are greatly appreciated!
ec2 with enough memory for development is billed / hour. For 32gb RAM it's >$80/month (always online ~450h).
You could use wls 2 under windows. You can install IDEA and use it trough X server like
VcXsrv and access to windows files. It's not the best idea to run full GNOME (even xfce4). Google chrome also works very well
Downsides are:
(still) slow access to drive compared to raw Linux
I cannot configure WSL to access same VPN as in Windows. It simply cuts off internet connection for WSL while I click connect in windows.

Using IE in a virtualbox instance to test a site in VS2015 on my workstation

I have an ASP.net MVC application that I've developed using Visual Studio 2015 Enterprise that is not behaving nicely in IE8, and as much as I'd like to just declare IE8 as unsupported, this is unfeasible from a business perspective at the moment.
So, to test in IE8, I downloaded a VirtualBox containing an instance of windows with IE8 from here.
I've been successful in using this instance of IE8 to connect my organization's dev server (which is running Windows Server 2012r2, IIS 8.5.9600), so I've been able to reproduce the issue. I'd really like to be able to step through what's happening in the debugger, though.
So, I believe I have two options.
Connect to the IIS instance on our dev server using Visual Studio's remote debugging feature.
This is kind of intimidating to me to attempt, because there seem to be a lot of options and I'm unsure how to proceed. It would be nice to be able to figure this out, though, as being able to do remote debugging on the dev server would be very helpful for future development. I tried using the default transport and putting the host for the dev sever in the "qualifier" box in VS, but it just told me the debugger service wasn't running on the remote machine, even though I'm fairly certain it is.
Connect to my local workstation running Visual Studio from virtualbox
This seems like it would be the simplest solution, but I can't figure it out. I tried a few different network modes from virtualbox -- NAT, bridged, and Host-Only, but I could never get the page to load in IE inside the virtualbox. I tried using the ip of my workstation as reported by ipconfig /all (the IP of the normal network adapter for bridged and NAT mode, and the IP of the "Host Only" special adapter in Host Only mode) and the port VS was configured to use. No dice.
Any ideas on how I can move forward with either of these options? Or some third, better option?

Download the Internet Explorer on SUSE-Linux server

I am interested in downloading the Internet Explorer on my SUSE-linux server which is telnet'd from my local linux machine.
I need to install the Wireshark and SNMP browsing tools on the server and would like to therefore have an internet explorer installed on the server.
Please help me with the installation.
Internet Exploder only runs on Windows machines. You might be wanting to install all of this on a Windows Server and then run these tools against a Linux machine, but you're not going to natively be successful loading IE on a Linux Server.
There is an option that I'll mention you can check out Crossover Office from Codeweavers, it's got the ability to run the appropriate WINE drivers and environment so that you could do what you are asking, but there is no guarantee that the overall scheme of running Wireshark will work.

Setting up Rsync to pull from Windows to Linux Box using cwrsync

I have a set of machines, a mixture of Linux and Windows Boxes.
I hav set up rsync to pull from the Linux Machines to a Linux Server box.
I am trying to accomplish the same using cwRsync, to pull to the Linux box from the windows machines. I have downloaded the free version from https://www.itefix.no/i2/content/cwrsync-free-edition and also I have downloaded CopSSH. I have managed to install CopSSH fine and I am able to SSH between the Linux and Windows hosts no problem using keys rather than passwords.
However, for the life of me I can't get this cwRsync working, I've googled the matter to death, and your meant to unzip the directory, configure the environment settings in the batch file then install it. However, there is nothing to install it with! and the reason it isn't working is because it needs to install a windows service for it to run.
Any help would be much appreciated!
As described at itefix web page for the free edition, it allows to initiate rsync from your Windows machine, i.e. client functionality only (push data). Server functionality allowing you to set up an rsync server on Windows to pull data from it is not a part of the free edition.

Windows Server 2003 in vmware wont go online

my host machine is a 64bit Windows 7 Enterprise device. I have vmware player installed and have a virtual machine running XP SP3 for some old fashioned vb6 development. Inside this virtual OS, I can access the internet fine. Virtual Machine Network Adapter is set to NAT.
I also have another virtual machine, running Windows Server 2003 R2 SP2. This is also set to NAT. However, I cannot access the web from inside this machine. Troubleshooting attempted include turning off firewalls, setting the vmware network connections on my host machine to auto retrieve IP & DNS and a long search on google. I found this, http://www.techexams.net/forums/off-topic/27651-vmware-nat-not-working-correctly.html but can't seem to follow the instructions as it's obviously a much older vmware version. (2006!) I also tried disabling "Internet Explorer Enhanced Security Configuration"
Any help would be great. Thanks.
Are you able to connect to your VPS via Remote Desktop? If yes, then check the browser settings for Proxy and see how it connects to internet. If you are using FireFox then you need to follow below steps:
Open Firefox.
Click on Tools -> Options.
Go to Advanced -> Network tab.
Go to Connection -> Settings.

Resources