LinuxQuestions.org
Register a domain and help support LQ
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 03-26-2013, 04:28 AM   #1
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Rep: Reputation: Disabled
How do I install a OpenVPN in CentOS?


Hi,

I have looked at different tutorials across the net on how to install a OpenVPN in Linux CentOS but I can't understand any of the instructions given.

So I typed myself some step-by-step instructions that I do understand. This is the type of simplified instructions I do understand.......

Step 1. Go into the Terminal

Step 2. Type "su" (without the quotes) then press ENTER

Step 3. Type your password (you will not be able to see it while you type) then press ENTER

Step 4. Type "yum" (without the quotes) then press ENTER

My question is what is step 5,6,7, etc?

Any help will be much appreciated as I'm really struggling to work Linux out ( I've been a Window user for 8 years.)
 
Old 03-26-2013, 05:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Yeha... step 2 and 4 are wrong :s

There are LOADS of guides out there, not sure what we're supposed to add.

https://www.google.co.uk/search?q=in...n+Linux+CentOS
 
Old 03-26-2013, 05:39 AM   #3
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
Yeha... step 2 and 4 are wrong :s

There are LOADS of guides out there, not sure what we're supposed to add.

https://www.google.co.uk/search?q=in...n+Linux+CentOS
I'm sure those steps are right because it logs me into root shell and yum gives me the list of commands but that is as far as I got. Please correct me if I'm wrong.....

[vmware@localhost ~]$ su
Password:
[root@localhost vmware]# yum
Loaded plugins: fastestmirror
You need to give some command
Usage: yum [options] COMMAND

List of Commands:
 
Old 03-26-2013, 05:47 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
2) it's the root password, not your password, 4) that doesn't actually do anything useful.

But... that's not really the point... there are lots of guides already out there.
 
Old 03-27-2013, 04:44 AM   #5
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
2) it's the root password, not your password, 4) that doesn't actually do anything useful.

But... that's not really the point... there are lots of guides already out there.
Okay thanks for clarifying everything, Cheers mate.
 
Old 04-01-2013, 02:34 AM   #6
TheCorporation
Member
 
Registered: Mar 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Okay thanks guys.

I've followed instructions from the site below...

http://safesrv.net/install-openvpn-on-centos/

but I've run into a problem any ideas?.....



Complete!
[root@localhost vmware]# rpmbuild --rebuild lzo-1.08-4.rf.src.rpm
error: cannot open lzo-1.08-4.rf.src.rpm: No such file or directory
[root@localhost vmware]#
linux TheCorporation is online now Report This Post

Last edited by TheCorporation; 04-01-2013 at 04:14 AM.
 
Old 04-02-2013, 04:53 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
either you didn't download the lzo package at all, as described, or you're not in the same directory as it.

HOWEVER.... I've zero idea why they want you to rebuild lzo. They *may* have good reason, but I don't see one.

I would run

rpm -Uvh rpmforge-release*
yum install openvpn lzo

and then carry on at the next step, the cp one, presuming that worked fine.
 
  


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
openvpn server on centos pendrive Linux - Networking 8 02-07-2013 03:31 AM
Connection to CentOs Server with OpenVPN... Then what? acschnabel Linux - Server 2 09-27-2011 09:45 PM
Openvpn problem OS: CentOS 5.2 mirostz Linux - Newbie 2 03-06-2009 10:34 AM
LXer: OpenVPN on CentOS 5.2 LXer Syndicated Linux News 0 03-05-2009 07:42 PM
OpenVPN issues on CentOS 4.7 sseeker Linux - Server 1 01-31-2009 07:50 PM


All times are GMT -5. The time now is 04:50 PM.

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