ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    OpenVPN server on Ubuntu 12.04

    IT Discussion
    4
    15
    3.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JoyJ
      Joy
      last edited by Joy

      Hi ML People, I was trying to set up the OpenVPN Server on Ubuntu 12.04.5 LTS .
      I follow this steps on how to install the OpenVPN,
      https://www.digitalocean.com/community/tutorials/how-to-install-openvpn-access-server-on-ubuntu-12-04

      I'm trying to install the openvpn package:
      sudo apt-get install openvpn easy-rsa

      But i got this error in return.
      "root@trial:~# sudo apt-get install openvpn easy-rsa
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      E: Unable to locate package easy-rsa"

      I tried googling first before posting here, but i still can't make it work.
      Thanks in advance.
      Edit : I was stuck in this part and help please.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        It's possible that packages for that old system no longer exist, although I feel like we ran into this issue back during that time period as well and it was a common issue. Is there a reason that you are installing 12.04, which is seven versions old?

        1 Reply Last reply Reply Quote 3
        • scottalanmillerS
          scottalanmiller
          last edited by

          See if this works:

          cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/ /etc/openvpn/easy-rsa/
          
          JoyJ 2 Replies Last reply Reply Quote 1
          • JoyJ
            Joy @scottalanmiller
            last edited by

            @scottalanmiller said:

            See if this works:

            cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/ /etc/openvpn/easy-rsa/
            

            Thank you, I will try

            1 Reply Last reply Reply Quote 0
            • JoyJ
              Joy @scottalanmiller
              last edited by

              @scottalanmiller said:

              See if this works:

              cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/ /etc/openvpn/easy-rsa/
              

              I just tried it but no luck.

              1 Reply Last reply Reply Quote 0
              • JoyJ
                Joy
                last edited by

                This is the guide that I'm following
                https://rbgeek.wordpress.com/2012/12/13/openvpn-server-on-ubuntu-12-04-behind-nat/

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Try this and post the output...

                  ls /usr/share/doc/openvpn/examples/easy-rsa/2.0/
                  
                  JoyJ 1 Reply Last reply Reply Quote 0
                  • JoyJ
                    Joy @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    Try this and post the output...

                    ls /usr/share/doc/openvpn/examples/easy-rsa/2.0/
                    

                    0_1451157930743_NOTE.PNG

                    1 Reply Last reply Reply Quote 0
                    • gjacobseG
                      gjacobse
                      last edited by

                      @Joy
                      I've been fiddling around with Ubuntu 12.04 and as @scottalanmiller has mentioned, it's really likely that all the repository is gone. I'm still trying to determine what I can use my C@C box for... other that cloud vapor...

                      Ah well.. I keep hoping,. not not holding out on it.

                      JoyJ 1 Reply Last reply Reply Quote 1
                      • JoyJ
                        Joy @gjacobse
                        last edited by

                        @gjacobse said:

                        @Joy
                        I've been fiddling around with Ubuntu 12.04 and as @scottalanmiller has mentioned, it's really likely that all the repository is gone. I'm still trying to determine what I can use my C@C box for... other that cloud vapor...

                        Ah well.. I keep hoping,. not not holding out on it.

                        Thanks, I don't know if what happen since we installed it OpenVPN few months ago.

                        I saw this post also .
                        http://ubuntuforums.org/showthread.php?t=2170950
                        http://packages.ubuntu.com/
                        Oh well I'll it again later.

                        1 Reply Last reply Reply Quote 0
                        • JoyJ
                          Joy
                          last edited by

                          I used this command : wget https://github.com/OpenVPN/easy-rsa
                          So it working and I'm able to install the openVPN.

                          1 Reply Last reply Reply Quote 0
                          • JoyJ
                            Joy
                            last edited by

                            I was about to create a MySQL database for our Freeradius, but upon entering this command i got this error
                            ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

                            Anyone can you please point me out what is missing here?

                            1 Reply Last reply Reply Quote 0
                            • JoyJ
                              Joy
                              last edited by Joy

                              Is there anyway i can Completely Remove MySQL Ubuntu?

                              To remove mysql completely from your system Just type in terminal

                              sudo apt-get remove --purge mysql-server mysql-client mysql-common
                              sudo apt-get autoremove
                              sudo apt-get autoclean

                              1 Reply Last reply Reply Quote 0
                              • AmbarishrhA
                                Ambarishrh
                                last edited by

                                Can you post your my.cnf details?

                                1 Reply Last reply Reply Quote 0
                                • JoyJ
                                  Joy
                                  last edited by

                                  Hi guys, I already figured out my problem. Thanks to @Ambarishrh

                                  The problem now is " We need to enable the TUN/TAP which can be done from side of VPS Provider.

                                  1 Reply Last reply Reply Quote 2
                                  • 1 / 1
                                  • First post
                                    Last post