Server :: Run A Script On Host Machine From A Webpage?

Jul 26, 2011

it was possible to run a script (something.sh) on a server when a button on a webpage is pressed. I already have Apache set up and I will set up php if I have to.

View 5 Replies


ADVERTISEMENT

Ubuntu Networking :: Server + KVM. Guest Os Can Reach Wan But Host Machine Cannot?

Oct 13, 2010

I've set up ubuntu server 10.04 x64 with kvm and bridged networking and installed win server 2008 as a guest os. The guest os has full access to the network including lan/wan but the host os can only reach my lan and not the wan. This is true even when the guest machine is powered off?I have to admit that my knowledge of networking, particularly with respect to linux is very flakey but surely if the guest has internet access this should also apply to the host? My only suggestion is an issue with mac addresses but i don't know where to start. Has anybody ran into this problem before?

View 3 Replies View Related

Server :: Host Machine Giving Lag Jerks To Clients Connected

May 25, 2011

I have a VPS from Providerservice and I am their customer for over a year now. They've been great throughout the year. They had awesome support and awesome Network quality. I Host GameServers and since the last month, my Servers have been giving big lag jerks to all the clients connected. Like one big lag jerk every 5 minutes. When such a thing happens, the first thing I usually check is the Network. From 10 different machines, I did MTR traceroutes and there was not even a single packet that was lost so I was sure that the Network is not causing it. I observed my CPU usage, RAM usage, HDD usage and everything was normal but GameServers still lagged. Now today, I reloaded a complete new Debian OS and copied the Game Server files exactly from my other machines.

There was no extra program or software installed on the server, but that didn't help remove the Lag. So now I'm sure its not my VPS that causes it. Such a thing happened with me before. No Network packets were being lost and my VPS showed CPU/Ram/HDD to be normal. I asked my Provider and they said one of our user is spiking the CPU with a large number of SQL queries and that's why your lagging. But I talked to this company, they've checked their Host machine and they see nothing wrong with it. According to them, everything is normal at the Host machine. So we are short of ideas on what to do and that's why I'm here to take some expert opinions, the following things are for sure :

-> My Game Server files are exactly as I run on other machines without Lag and even on the current machine 1 month ago without Lag.
-> The VPS itself is not causing the Lag.
-> I've checked Network and no packets are loss, not sure about any difference between ICMP or UDP packets since the game is UDP.
The most probable thing is the Host machine itself. This usually happens when the Game Server falls out of resources and gets stuck.

View 3 Replies View Related

OpenSUSE :: Run LAMP In A Virtual Machine And Access The Web Server Via A Browser On The Host?

Aug 31, 2010

How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?

View 3 Replies View Related

General :: Deploy Windows Server 2008 R2 In Virtual Machine On Host?

Jul 27, 2011

Will there be any issues installing and then subsequently running a Microsoft Windows Server 2008 R2 installation on a VirtualBox VM on a Linux host (Ubuntu 11.04 64-bit)? I require Windows Server 2008 R2 for a course I'm taking, and I dont have any systems to install/deploy it onto.

Host Machine Specs:

Ubuntu 11.04 64-bit
4GB RAM
350GB Disk Space
Nvidia Quadro system

View 2 Replies View Related

Server :: Samba Setup - Windows 7 Host, CentOS Machine Using VirtualBox

Jun 23, 2010

I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines?

[URL]

View 1 Replies View Related

Ubuntu Servers :: Webpage Can't Be Viewed On Local Host?

Mar 7, 2010

I have tried to set up the desktop version of the server . In my apache2.conf file I have changed the following lines-

Code:
# Include the virtual host configurations:
#Include /etc/apache2/sites-enabled/
Include /home/www/websites/
Yes I do keep the default values commented out

In my virtual host file I have made the following changes to the DocumentRoot, and to one of the <Directory>; the rest of the file doesn't appear here as nothing was changed.

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
# DocumentRoot /var/www

[Code]....

View 7 Replies View Related

General :: How To Configure Serial Port Of Virtual Machine With Host Machine?

Jul 29, 2009

I successfully installed the virtual box on my fedora 8 system, and also created a virtual machine with windows xp OS, it works nicely, I try to configure the serial port of my virtual machine and try to configure the path for the port "screen shot are attached" it gives me the error message also the "screen shot are attached" for your review.Is kind of mistake is going on during the path setting, and how to set the path for configuring the serial port of my virtual machine so that I can use the hyper terminal tool of windows.

View 4 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

View 2 Replies View Related

Server :: Apache2 Virtual Host Defaulting To Default Host

Oct 30, 2009

Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.

View 1 Replies View Related

Ubuntu :: How To Host Website On Own Machine

Sep 22, 2010

I've heard that all one needs to do to host a website is to install apache2 and then create my own webpages in /var/www. Like I could start out putting a file "index.html" in /var/www and it would show up on the web.If this is true, what would my website address be on the web?

View 6 Replies View Related

General :: Get Unique Host Id Of Machine C/c++?

Feb 5, 2011

I am looking for c/c++ code (no third party lib dependency) to get the physical address of ethernet card on mother board.Most of them suggests to use the linux commands and process the output. For example "/sbin/ifconfig eth0".The problem with above command is that when you run this on a linux variant which is running using VirtualBox on windows host, it's not returning the correct mac address. In this case the correct mac address is the one set for individual virtual machine."/sbin/ifconfig eth0" works fine when linux variant is installed normally.There is another case when linux variant is installed normally and if you install virtualization apps such as VirtualBox or VmPlayer, they create a virtual adepter for their own use. In that case running "/sbin/ifconfig" returns all the adepters. (physical and virtual)

View 1 Replies View Related

General :: Ssh From Virtual Machine To Main Host?

Mar 17, 2011

ok how do you add a rule which allows a virtual machine to connectto ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure

View 3 Replies View Related

Fedora :: Allows A Virtual Machine To Connect To Ssh On The Main Host?

Mar 17, 2011

you add a rule which allows a virtual machine to connect to ssh on the main fedora host?so connecting from a virtual machine to the main fedora host installation? I think i have to use an iptables command but not really sure

View 3 Replies View Related

Ubuntu Networking :: After Upgrade, Machine Accessible By Ip, Not Host Name?

May 14, 2010

I have just upgraded to 10.04 (not ideal I know, thought I would give it a go). Now the machine is only accessible via its IP, not host name. I reinstalled Samba, but still not working

View 1 Replies View Related

Ubuntu Networking :: Connecting A Virtual Machine To A Host Via NFS

Jul 7, 2011

I am currently running ubuntu on a qemu-kvm virtual machine, and the host is fedora. I would like to mount a folder of the host machine on my VM, but never succeeded. The result of the command is :

root@armnlib-kvm:~# mount -v 192.168.1.10:/nfs /nfs
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Thu Jul 7 06:02:43 2011
mount.nfs: text-based options: 'addr=192.168.1.10'

[Code]....

View 2 Replies View Related

Server :: Run CGI Script From Webpage?

Jan 13, 2011

I removed CYGWIN and installed a Ubuntu 10.10 64bit virtual box and now I have it running, but I still can't get it to run my CGI script from my webpage that i have on Ubuntu platform. I was wondering if there was a certain way that I need to install apache or whatever to get it running correctly.

View 6 Replies View Related

General :: Virtual Machine - Connect To Guest From Host PC Using Putty?

Feb 6, 2010

How can I connect to Linux (which is in a VM) from the host PC using putty? I can ping the 192.168.1.108 from my host PC. And there is sshd process running on Linux. I choose the SSH to connect, but gives error.

View 5 Replies View Related

Ubuntu Networking :: Can't Get Ssh Into A Virtual Machine To Work - Host And Guest

Jan 28, 2010

I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:

[Code]....

View 7 Replies View Related

Ubuntu Servers :: Image-virtual: For Host Machine Or Guest OS?

Dec 2, 2010

I couldn't find a clear answer to this, but is the linux-image-virtual package for host machines that will contain VMs, or a VM-oriented kernel for guest OS (ubuntu)? I have some guest VMs running on Microsoft's Hyper-V, and was looking for some further optimizations.

View 3 Replies View Related

Ubuntu :: Get Other Users On The Same Host Machine Access To Those Virtual Machines Within VB?

Jul 9, 2011

I've installed VirtualBox OSE and have a couple of guest OS setup. I am running Ubuntu 11.04 and VBOSE version 4.x (the most current). Now this installs the guest OS virtual harddrives to a folder in my home directory. How do I get other users on the same host machine access to those virtual machines within VB? Currently logging in as another user and going to Applications/Accessories/VirtualBox OSE ... the list of guest machines is empty save of course on my login.

View 3 Replies View Related

Software :: Use Traceroute To View Hop Count Between Machine And A Specified External Host

Nov 3, 2010

I'm trying to use traceroute to view hop count between my machine and a specified external host but no matter what I give to it, it provides me the same output:

[Code]...

What am I doing wrong? Should I be disabling DNS caching? Is there a property I haven't set correctly? Just a small FYI, but I dual boot this computer with Win7 and it's tracert works fine. UPDATE: I also ran the command from a different network and it worked fine. I'm assuming I need a port forward then?

View 4 Replies View Related

Slackware :: Share Files Between A Host And A Windows Machine In VirtualBox?

Aug 18, 2010

What is the best way to share files in virtualbox between host/machine I thought of trying usb but the devices are all greyed out. I know the fix for this but I have to search for it, permission problem I think? Or is there a more elegant way

View 4 Replies View Related

CentOS 5 :: Accessing The Web Application Running In VirtualBox From Host Machine?

Feb 11, 2009

I installed Tomcat5.5.23 on CentOS5.2 running on Sun xVM Virtual Box2.1.2. When i try to view Tomcat( Running in Vitual Centos)'s home page in the web browser of Host( XP sp2) am getting the "Connection Time out" error.. How to resolve this problem.

View 2 Replies View Related

Server :: Access The Webpage Created Through Ftp?

Mar 20, 2010

i configured ftp in my server.i just want to access the web page created in server through ftp.ya i can able to access. but the problem is ,it,s showing all the files and folders of the server like Desktop,Documents etc.....

But its just need to show only the site files such as index.html and its sub folders.

i think the problem is because of logging in to the server through ftp as normal user,which is created in server. so i think if we login as ftp user we can able to access only the website files.

how to create ftp users.

View 4 Replies View Related

Server :: Image Not Displaying On Webpage?

Mar 15, 2011

I'm using the "Beginning PHP5, Apache, MySQL Web Development" book from WROX to teach myself these processes. I'm a retired programmer and trying to keep my brain active. I've been able to get through most of the process and get things to work. But getting a picture upload and then display it is killing me. The picture is moved from the initial directory and placed in the destination but will not show on the web page, I get a place holder and all the information about the picture, but no pic. The MySQL is processing all the database stuff .I haven't a clue what is not working, Firefox, Apache or what. I'm running Fedora 14.

Here is the code I'm using:

Code:

upload_image.php
<html>
<head>

[code]....

View 11 Replies View Related

Server :: Access The Webpage Through Apache?

Mar 26, 2010

i have already configured a domain in my server. now i have configured multiple local ip addresses,can i configure a domain for each local ip address. is it possible. if possible how can i access the web page through apache.Because already i am accessing the web page for a pre-configured domain from the path /var/www. if i able to create new domain.From where the apache fetches that index.html file, when requested through browser.

View 5 Replies View Related

Ubuntu Servers :: Shared Folders - Transfer File From Host Machine?

May 27, 2010

I have ubuntu server as a guest in virtualbox and xubuntu as my host os. I have a shared folder on my host that can be accessed by my network. I'm trying to use my server without the need to install a desktop, so how would i transfer a file from my host machine to my ubuntu server guest?

View 5 Replies View Related

Ubuntu Servers :: Multiple Websites On Single Host Machine Without Virtualisation

Jun 1, 2010

I have this intra net server project going on and now I moved to 10.04 however there are still some things that I would like to see clarification and instructions on. I am interested to set up multiple parallel websites for my apache server, however I am not sure how to do this exactly. Now I have solid address rivera.wippies.net and port 80 redirecting to my server. What I would like to get done is that I get multiple independent of each other websites for my server I was thinking of making websites like this

/var/www/site1 (which would be as rivera.wippies.net)
/var/www/site2 (which would be as rivera.wippies.net/othersite)
/var/www/site3 (which would be rivera.wippies.net/secondothersite)

etc, so that I have multiple "individual" websties for my server. Requirements would be that each of these websites could have SSL encryption as needed available too, since some of the website could have confidential information.

View 9 Replies View Related

Applications :: Scp Copy A Directory And Its Contents From A Remote Machine To Local Host

Oct 8, 2010

For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.

Here is what I have tried:

scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures

scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder

I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved