Hostname

Tagged: 

  • This topic has 24 replies, 6 voices, and was last updated Nov 6-7:59 pm by afghan.
Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #28886
    Member
    worker0

      Heloo friends,
      How i can change hostname of my linux?
      My router shows machine as: antix1,
      When I type hostname in terminal hosts i get: DNS-VPN-server ( I put this name ) but my router show it still as antix1.
      Can someone help me?

      I change hostname by typing hostname DNS-VPN-server and with optpion -b and after restart ig get back to antix1. I changed hostname in /etc/hosts/ file. but still nothing. Please?

      • This topic was modified 3 years, 6 months ago by worker0.
      #28891
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        You need to change /etc/hostname as well as /etc/hosts

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #28894
        Member
        worker0
          Helpful
          Up
          0
          ::

          You need to change /etc/hostname as well as /etc/hosts

          Which file in /etc/hosts/ ?

          To dont open nee thread how to enable ssh on cli version and what is command for copy and paste?

          Command si”sudo nano /etc/hosts” ?

          • This reply was modified 3 years, 6 months ago by worker0.
          #28896
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            The files are called hosts and hostname in /etc/

            sudo nano /etc/hosts

            sudo nano /etc/hostname

            • This reply was modified 3 years, 6 months ago by anticapitalista.
            • This reply was modified 3 years, 6 months ago by anticapitalista.

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #28899
            Member
            worker0
              Helpful
              Up
              0
              ::

              Thank you. Can you tell me how do I copy file from /home/pivpn.ovpn for example to USB drive?

              Thanx in advance

              #28902
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                Doesn’t the file manager (rox or spacefm) see the stick when you plug it in (under /media)?

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #28903
                Member
                worker0
                  Helpful
                  Up
                  0
                  ::

                  Im running CLI version, because I dont know how to “kill” gui. Im using it for VPN and and blocker & DNS cache.
                  and one more question. How to copy filefrom /home/XXX to USB drive.

                  #28907
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    You should have said that in your first post.

                    sudo cp /home/XXX/name_of_file /media/mountpoint

                    where mountpoint is the name of the folder created when you plugin your usb stick.

                    You can also use mc (midnight commander, a cli filer)

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #28908
                    Member
                    worker0
                      Helpful
                      Up
                      0
                      ::

                      There is no Thanks button.Thank you man.

                      How to enable SSH. I must install openssh-server?

                      #28916
                      Forum Admin
                      anticapitalista
                        Helpful
                        Up
                        0
                        ::

                        Yes and if you are running live, remove the disable= cheats at live boot menu.

                        Philosophers have interpreted the world in many ways; the point is to change it.

                        antiX with runit - leaner and meaner.

                        #28936
                        Member
                        worker0
                          Helpful
                          Up
                          0
                          ::

                          Itry core and net version and booth missimg curl command. version 17 has curl command. which wersion of distro have all comands but without GUI or does domeone know how i COMPLETELY kil gui:

                          #28948
                          Forum Admin
                          Dave
                            Helpful
                            Up
                            0
                            ::

                            These seem like pretty basic questions if you intend to install a VPN and dns cache/proxy server. Maybe Dolphin Oracle’s videos about core may help.

                            • This reply was modified 3 years, 6 months ago by Dave.
                            • This reply was modified 3 years, 6 months ago by anticapitalista. Reason: shrunk video

                            Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

                            #28951
                            Forum Admin
                            anticapitalista
                              Helpful
                              Up
                              0
                              ::

                              curl is included on antiX-19 core, but not on net.

                              apt-get install curl

                              Philosophers have interpreted the world in many ways; the point is to change it.

                              antiX with runit - leaner and meaner.

                              #28952
                              Member
                              worker0
                                Helpful
                                Up
                                0
                                ::

                                curl is included on antiX-19 core, but not on net.

                                apt-get install curl

                                technically it is not included ifI must install it after installing OS

                                There is no Thanks button.Thank you man.

                                How to enable SSH. I must install openssh-server?

                                So antix 17 core have less commands installed than antix19

                                17 Core have instaled curl,ping etc. and antix 19 CORE

                                EDIT: If I install antix base 19, can I how to stop andstart gui and get back to terminal?

                                • This reply was modified 3 years, 6 months ago by worker0.
                                #28955
                                Member
                                worker0
                                  Helpful
                                  Up
                                  0
                                  ::

                                  Mistake fromm quoting and I put one post without quting. Please delete it, I cant or I dont see delete button. THX

                                Viewing 15 posts - 1 through 15 (of 25 total)
                                • You must be logged in to reply to this topic.