Every so often an adage becomes part of your experience. The one for the day was "a friend in need is a friend indeed". I was truly a friend in need and I had a friend indeed in a guy who strangely enough I have never met in person but, I can count amongst one of my closest pals. Greg Whitehead (thats his name) and I met while I was developing the myForum2 online office/conferencing system (Flash Media Server application). He is the PHP guru who I collaborated with to build that and a couple of other systems. Well he saved my Linux newbie arse again, a true friend indeed.
All those who read this little treatise on starting, stopping and restarting Red5 in Linux, you owe this bit of information to him. Okay enough of the waffle.
To begin my distro is Linux Mint (Daryna), Greg is an Ubuntu man. I installed Red5 using the GDebi package installer. Then the 1st hurdle appeared, apparently Red5 was installed successfully but, "Where the Deuce was the damned thing?". As a windows user I expect to see Icons or a start-up link somewhere when I install a service, not in this case. The absence of an install Icon was painfully obvious. After some desperate Googling I managed to find out how to get at the demos, so I could test for the presence of Red5 http://localhost:5080/demos/port_tester.swf. Then the major hurdle, how do I stop the Red5 service. A lenghty session of Googling only brought frustration and desperation. After 3 hours I was irritated and fed up.
Enter Greg the Saviour, and here is the way:
First locate the service by typing the following in your Terminal
cd /etc/init.d
Next type
ls
This will show you all your services. If Red5 is there, you're in business.
To stop Red5, type:
sudo ./red5 stop
If you are successfull you will get the following print out
Stopping Red5 flash streaming server: red5.
To start Red5, type:
sudo ./red5 start
Success will yield the following print out
Starting Red5 flash streaming server: red5.
To restart Red5 type:
sudo ./red5 restart
Successfull you get:
Restarting Red5 flash streaming server: red5.
Thats it folks, if you're new to Linux like moi get ready for the next headache. By the by does any one out there know how I can get my web cam to work in Linux Mint? Once more, thanks G :)
Reading
Add Comment
0 comments:
Post a Comment