Installing open source web-based software? - web-services

new to working with Web Servers and despite my tedious Googling, I think I am missing some of the most general (obvious?) questions regarding how to install an open source web-based program.
I have a dedicated server running CentOS 6, 32GB of RAM, etc........ I used a SSH Client to install the prerequisites of PandoraFMS. Everything installed finE.
Now what, just upload all the open-source files onto the web server?? That's the part I am not understanding about the general process of installing an open source program using build files, do I just UPLOAD it all to my server, or am I missing something???

You use Yum from the command line. Here is a link to the documentation http://www.centos.org/docs/5/html/yum/sn-managing-packages.html. If you really want a linux box that is easy to use I recommend Ubuntu. Good Luck

Related

Blender on IBM Cloud (Cloud Foundry)

I'm currently developing a web application (Django 2.0) application.
My app will be deployed on IBM Cloud (Cloud Foundry) using python build-pack.
One of my requirements is to install blender.
Everything else is very well, but for blender installation.
What I've tried so far was:
I tried access my app using SSH connection, but surely I don't have root access to apt-get install blender!!
And tried to include blender in packages.json file and push that file using cf push my-app.
But nothing worked for me.
In another shorter question: what is the main approach in Cloud Foundry Apps to install packages like when we use apt-get install in Ubuntu / Debian.
Please correct me if I did anything wrong, or guide me with headlines to solve this problem!!
I see a couple options for you to install packages if they cannot be installed using the regular requirements file (which is the preferred way):
Download the relevant libraries and put them in subfolders of the app before pushing it. The libraries will be uploaded. That is how I would do it.
Once you have an SSH connection, use secure copy (scp) to upload the files and place them in the subfolders where they are expected.
Regarding Blender, the question is what you need in addition to having the code copied over. Does it need a running daemon? Are there more dependencies? You would need to share more information about your specific app to answer that. Maybe, packaging everything as one or more containers and run it on Kubernetes or a combination of Cloud Foundry and Kubernetes is a better way.

File upload Selenium Web driver python in linux machine calling a remote machine

Hi I have scenario that needs to upload a file in a webpage. Actually I know that selenium will not support file upload scenario. But this can be done in python with external libraries such as AUTOIT, PYWINAUTO. But the challenge is i have to run my code in a linux server that is going to call a windows remote machine.
When i tried installing pywinauto in linux server i got an error in importing winreg library. Hence i dont know how to proceed further. Please help me out to solve this scenario.
Both AutoIt and pywinauto are Windows-only libraries (at least for now). If you need to automate file upload on Linux, consider using AT-SPI accessibility (say pyatspi2 package).
If it's a server without X and DBus, I think the question is about remote code execution from Linux to Windows. Good option for the SSH remote execution is Fabric (very pythonic & nice), but using Cygwin or OpenSSH might be an additional challenge for you. There are many other tools like Ansible etc.

How do I install MinGW on a computer with no internet connection?

I'm learning C/C++, for the learning purpose I will be using netbeans-7.4 installed on my window-8 system.
How do I install MinGW without internet connection ?
On the MinGW HOWTO Install the MinGW (GCC) Compiler Suite page, they offer some Manual Installation instructions. These work without an Internet connection if you can get the installation files to your machine by some other means.
You will need a computer with an Internet connection to download the files for MinGW. But as long as you can put those files on, say, a USB thumb drive or other media, you should be OK. Download the files you'll need for your Windows 8 machine on an Internet-connected machine, and then transfer them to your Windows 8 box. This is what us old-timers sometimes jokingly called "sneakernet."
You will also need a tool like 7-Zip or similar (as noted on the page linked above), to unpack the archives you download. So, if you don't have that tool, you will also have to download that installer from an Internet connected machine and transfer it to your machine by thumb drive sneakernet as well.

How Remote Development of C++ works in Netbeans?

Hi we want to use remote development features of netbeans but while trying out on our setup its very slow. I want to understand its feasibility of integrating our build environment with netbeans.
Our setup would be normally:
1. Windows 7 Professional 64bit where we install netbeans
2. RHEL 5.5 64bit linux where we have tools and sources
Normally we directly connect to that machine through PuTTY and use VIM to edit sources and gmake to compile and build projects. Now when I created the "New Remote Project with existing sources" and try to use it It took more time to load the project.
So Can anybody tell me how actually this remote compilation works??
Because we have some GBs of sources here on linux box and I want to know is it possible for smooth development with this big data??
Simple steps. Read this tutorial. You just need a SSH-server on your Linux.
The process is easy, your Netbeans connects to the SSH-server and searches for compilation tools then uses them to build your projects.
The second issue is creating a shared folder that your Windows and Linux able to access to it. I suggest you first create a shared folder on your Windows and use Samba client on your Linux.

Google chrome, native client support and development

I would like to write a small C++ app and run it on chrome using the native client API.
I have a few questions though:
1) I compiled the examples on Ubuntu and ran the code on firefox but can't run it on chrome (using version 5.0.342.7 beta)
Do I need to install something? An extension/plugin?
2) I can't find a single online application I could run? Links anyone, I want to see the power of this thing without having to compile the code locally.
Thanks for your help,
-hbt
PS:
I don't know what's the policy with asking multiple questions. If it's a problem, let me know and I will create multiple threads.
More details:
Already read doc at
http://code.google.com/p/nativeclient/wiki/NativeClientInGoogleChrome
Running with --enable-nac from the command line and I have this error
.mozilla/plugins/sel_ldr_bin.trace: cannot dynamically load executable
I already built and installed sel_ldr
./scons -c --mode=opt-linux sel_ldr
./scons -c --mode=nacl
./scons run_all_tests
./scons --mode=opt-linux npGoogleNaClPlugin
./scons --verbose firefox_install
Works in firefox! not in chrome
Double checked about:plugins in chrome
Native Client Plugin is enabled and pointing to
.mozilla/plugins/libnpGoogleNaClPlugin.so
Please advise
Thanks
Did you launch Chromium with the following parameter --enable-nac.
1) Firefox is not supported now(maybe in the future it will be supported again). It seems that you are not using the latest SDK.
2) You need to use newer Chrome browser(yes Chrome is running nativeclient module now as well). In Ubuntu, you may use the google repository for testing
deb http://dl.google.com/linux/deb/ stable non-free main
deb http://dl.google.com/linux/deb/ testing non-free main
and the package of the chrome in dev channel is named 'google-chrome-unstable'. For more information of google linux repository, refer to: www.google.com/linuxrepositories/
3) Native Client's SDK is separated into nativeclient-sdk. It's easy to use. Here is the guide: http://code.google.com/p/nativeclient-sdk/wiki/HowTo_GetStarted
Have Fun!