LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2013, 03:58 PM   #1
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Rep: Reputation: Disabled
Exclamation Start Hamachi on the boot


Hey guys,

I'm running CentOS 6.4 and just installed Hamachi on the system. How can I make it to start when my server is booting?

Thanks,
Larry
 
Old 09-10-2013, 08:50 AM   #2
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 262

Rep: Reputation: 54
I am not familiar with Hamachi, but I believe you can run something similar to:

Code:
chkconfig add hamachi
 
Old 09-10-2013, 09:12 AM   #3
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Should be hamachi installed as a service to be added with chkconfig?
 
Old 09-11-2013, 09:09 AM   #4
lemonslol
LQ Newbie
 
Registered: Feb 2012
Distribution: Gentoo
Posts: 17

Rep: Reputation: Disabled
Put the script in:

~/.config/autostart and make sure to chmod +x it.
 
Old 09-11-2013, 09:12 AM   #5
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Hi lemonslol,
Can you provide an example of the script, please?
 
Old 09-11-2013, 09:18 AM   #6
lemonslol
LQ Newbie
 
Registered: Feb 2012
Distribution: Gentoo
Posts: 17

Rep: Reputation: Disabled
What distro are you using?
 
Old 09-11-2013, 09:22 AM   #7
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
CentOS 6.4
 
Old 09-11-2013, 09:27 AM   #8
lemonslol
LQ Newbie
 
Registered: Feb 2012
Distribution: Gentoo
Posts: 17

Rep: Reputation: Disabled
http://www.techotopia.com/index.php/...tions_on_Login
 
Old 09-11-2013, 09:39 AM   #9
larrybg
Member
 
Registered: Aug 2013
Posts: 31

Original Poster
Rep: Reputation: Disabled
Oh, that is something different - "The programs that get started when a user logs in are configured.."
The thing is - I need to start Hamachi without user interaction on the computer boot.
Hamachi does already starts when user logs in, and I run this box as a server, so when unexpected or required reboot occurs I want to make sure I still have remote connection to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hamachi: /lib/libdl.so.2: version `GLIBC_2.4' not found (required by hamachi) hamac ted_chou12 Linux - Software 1 06-11-2013 02:42 AM
starting hamachi on boot with rc.local ted_chou12 Linux - Software 1 05-29-2013 01:43 PM
[SOLVED] hamachi /usr/share/hamachi/hamachid: cannot execute binary file ted_chou12 Linux - Software 1 05-27-2013 11:25 AM
Aye Hamachi! Jack of Spades Linux - Networking 0 10-03-2007 04:30 PM
Hamachi AnRkey Linux - Networking 3 01-17-2006 11:36 AM


All times are GMT -5. The time now is 07:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration