|
If you have SSH set up, all that is easy... just SSH into the machine you want to control and you can use regular command line commands to restart/shutdown. The alternative to SSH would be to have some sort of remote viewer like VNC, although VNC is not really as flexible as SSH (but it does allow you to view things with a GUI).
To access files, you'll need something like FTP or a Samba share.
|
|
|
|
|
|
Please post your question in one forum only; you already have some suggestions here[^].
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
You can run the system level call play[^].
If you want to do it within your program, you'll have to use ALSA[^] (a low level API) or use something that works at a higher level of abstraction such as PulseAudio[^].
|
|
|
|
|
Hi, guys!
Does anyone know why sometimes gdb tread 'next' as 'continue'?
I tried to debug a generated C++ executable file on linux with gdb, and set a break point in a function 'b myfunction', it inform me that breakpoint setted successfully.
Next, I give the command 'r' to run the program in gdb, and it breaked right at the point 'myfunction', so I started typing 'n' in order to go through whole function, but gdb told me program exited normally!!!
There are many lines in this function, and gdb didn't stop at the first statement of this function, it just went through the left whole program.
Any help would be appreciated
Thanks in advance!
|
|
|
|
|
I haven't used gdb.. but in the MS debugger, if you want to step INTO a function as opposed as just NEXT line, it's a different command. Make sure that's not the case. Also, have you tried setting your breakpoint within the body of the function?
|
|
|
|
|
Hi ,
When I load my calender dynamically my css style classes is not working.When add the styles in line it's working.
Eg.<label id='testlable' name='testlabel' class='test'>Testing css</label> It will not work
But<label id='testlable' name='testlabel' style='color:red'>Testing css</label> It will work.
Please help me load the css as a seperate page.like in the first example.
Thanks
Alex.
|
|
|
|
|
This question might be better in the Web Development[^] forum.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
How do you include your css in your and how do you define the label?
|
|
|
|
|
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>
I just copied this from the first Google result for the search "CSS head link" (it was w3schools.com). You might want to try that next time.
Cheers!
|
|
|
|
|
I have an interesting problem with setting up scheduled jobs.
I need to set up a job that will run at 5pm Eastern time when the server is running GMT/BST. Currently we set it up as 10pm, however as daylight saving comes in a week earlier, it will be running at 6pm eastern for that week. Any idea of an easy way to get around this? Changing the server time zone is not an option.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Add CRON_TZ=US/Eastern in the crontab file. All cron implementations don't support that variable, check man 5 crontab on your server.
|
|
|
|
|
Doesn't look like it, I'll have my sys admin look into it.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
If your cron does not support CRON_TZ (see answer drom markkuk), you may write a small utility or bash script that detects non-matching times. Then add two entries to your crontab file:
10 0 * * * /usr/local/bin/TzMatch && MyCommand
# or must it be 9?
11 0 * * * /usr/local/bin/TzMatch || MyCommand
|
|
|
|
|
Thanks.
It looks like I'll do something like this.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Hey Guys,
I am new to Nutch. I am part of a IR research team & need to create a setup where in I need to crawl Microsoft's Dataset with Nutch. After googling for a while, I didn't get any tutorial or help. Can anyone guide me for the same?
I am using Nutch 1.4 on Ubuntu 11.10 & Eclipse 3.7.
Till now I am able to crawl public network from my Nutch setup integrated with Eclipse...
Is there any tutorial or wiki explaining how I can achieve this - or any other dataset kept on File System? If not, can you help me please....
Thanks in advance.
Cheers!!!
-
Varun
|
|
|
|
|
How do I start Apache as a thread from my process. Does it require any change in the configuration? Can you please guide me through it .
Regards,
|
|
|
|
|
You have to have the rights to do so. In perl I usually use back ticks to execute a command. Just assign the results to a variable. I think you are supposed to use exec, but .... well, I learned the other way
If it moves, compile it
|
|
|
|
|
The exec() call creates a new process and will not be a thread of the program from where I am calling. I am concerned about starting apache as a thread . Can you please give some more info ...
Regards
|
|
|
|
|
Like Peter states, you can't do what you are asking. I didn't search to check out embedding apache, but that's another subject.
Apache is a service. It runs on it's own.
If it moves, compile it
|
|
|
|
|
Short answer: you can't. Apache is multithreaded/multiprocess depending on which MPM is configured. There is no way it can run as a single thread in some other process.
Peter
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
After install Apache web server, you should be done little change in some file like port change(8080) and any other change...Thanks
|
|
|
|
|
Hi All,
I have a requirement where I need to read the .Net framework version number, which is installed and configured in the local machine. I need to do this using a Perl script.
Can someone please help me or provide me some ideas/ functions to do this?
Thanks in advance.
|
|
|
|
|
Whats the illegal path chars in a string? and how do I replace them with something else like a _(underscore)?
Resistance is futile - Data (ST:First Contact)
|
|
|
|
|
See here[^] for Windows.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|