Start TinyOS programming and simulation in Windows - cygwin

I want to start programming nesC for wireless sensor network on TinyOS in Windows environment. So far, I installed Cygwin terminal, and don't know how to install those packages.
To install the package, the command is like " rpm ***" but not sun command in Cygwin, it's Linux based. Is there any one can help?

So if you want to install TinyOS in windows, the simplest way is to run the virtual machine for windows, the steps could be found here:
http://tinyos.stanford.edu/tinyos-wiki/index.php/Use_TinyOS_in_a_virtual_machine

You can try
http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_TinyOS
but I would recommend to use TinyOS in Linux.

Related

QXcbConnection: Could not connect to display Aborted, when installing QT on linux

I am trying to install Qt on a Linux machine remotely from a Windows machine using PuTTY.
When I run the command to install Qt on Linux I get the following error:
~/QT# ./qt-unified-linux-x64-2.0.4-online.run
QXcbConnection: Could not connect to display
Aborted
Please suggest any workaround.
You can use the software repository of that Linux distribution.
For example, if it's Debian or Ubuntu:
sudo apt-get install qtbase5-dev
But if you really want to use the installer (usually, when specific Qt version is needed), then try one of the options:
run an X server on that machine
use the --script option of the online installer (you'll have to write a script like here: https://stackoverflow.com/a/34032216/4742108), it will probably need UI anyways
see if the offline installer has an option to run without UI
refer to here: https://community.nxp.com/message/532966
maybe use the cmd "export DISPLAY=:0" and it works
Try to connect with ssh to the host machine using -X to enable X11 display:
ssh <username>#<ip> -X
aqtinstall is a good option: https://github.com/miurahr/aqtinstall
It's a simple command line tool to download and install any Qt version. It's a fork of my old qli-installer script.

Accessing Mainframe on Linux via an Emulator

Can anyone please provide a detailed process of installing an Emulator on Linux and accessing the Mainframe from it. I have gone through almost all on net and I am unable to get through it.
There are very few 3270 emulators for Linux, including vendor products. The most common one is x3270 which you can install using the standard package installers. For example, sudo apt-get install x3270 on an Ubuntu system.
Try the MVS turnkey system: http://www.bsp-gmbh.com/turnkey/
I also had issues trying to do it "from scratch" but turnkey sets it all up nicely.

shell scripts on windows xp

I am college going student,
I have unix labs as part of my course.
I want to practise shell, perl and some unix commands at home.
Is there any way to it on my xp laptop.
i dont want to intall whole linux OS on my laptop.
is there any way where i can practicse shell scripts, perl scripts and some unix commands frm my windos xp laptop
thanks in advance
regards
vinayak
You can use cygwin to install a Bash shell for you
http://www.cygwin.com/
I think it has Perl that you can choose to install, but if not, you can use:
http://www.perl.org/get.html
Another way is that you can try Virtual Machine and install Ubuntu on it. It can be a lot of fun to see a Linux box running like a real machine on your Windows. A free Virtual Machine program that's good to run Ubuntu is VirtualBox.

Kdevelop in Windows XP

I received a src archive from a friend who develops Qt apps on Linux on Kdevelop IDE. Is it possible to load the Kdevelop project in Windows in some IDE ? Is there a Kdevelop port on Windows without Cygwin/Msys etc ? Are there any workarounds or I should I have to install Linux and take charge?
Update : I visited the page as mentioned in the below answer, but there's no Kdevelop package in the KdeWin installer . See here
KDevelop 4 will also be available on Windows (together with a lot of other KDE4 software). It is currently in beta, but you can download a Windows installer. The installer also lets you install other KDE4 software and should come with the QT development files you will need to develop QT applications.
AFAICT, there is no port to Windows of Kdevelop4 and Kdevelop3 was run with cygwin - which, IMHO, is not really a robust solution.
It would probably be easier, and better, to install a Linux distro in a virtual machine and go at it from there. If you don't need access to Windows, you could just install a Linux on a separate hardrive and/or partition.
Install linux on virtual machine such as vmware or virtual box.

Barebones Linux Server Install

Whats the simplest way to get a barebones linux server installed?
barebones = just enough to get ssh and package manager.
Current I've been using CentOS with server install and removing any packages that I know i do not want installed.
But is there a better way? I just want a simple ssh shell + package management to start with. Hardware is irrelevant since everything is happening in a VM.
Debian Stable net install.
Once you have that installed and up and running, you can apt-get or aptitude install whatever packages you want. That's how I set up my servers.
If you have the time installing Gentoo will give you just want you want and no more.
Arch just
su -c 'pacman -S sshd'
then you have about as barebones as you can get. Pacman its package management system is pretty easy to use and what not also.
You know the guys over at SliceHost have some very nice documentation on setting up Linux VM's. http://articles.slicehost.com/ubuntu-intrepid I am using their service and I found their documentation to be excellent. Particularly in getting a barebones VM up and running. I use their documentation as a reference for setting up iptables firewall and other basic system tasks on other systems. Hope this helps.
JEOS - Just Enough Operating System, an Ubuntu project, should be exactly what you are looking for.

Resources