Problem Tentang Hostname saya
#1
Sya kan mau ganti hostname ,
Code:
root@bt:~#sudo nano etc/hostname
lalu ada pesan
Error writing etc/hostname: No such file or directory

hostname nya tetap terganti,
Tapi pas ane ketik :
Code:
root@abdullah:~#sudo apt-get install
Trus ada pesan
sudo: unable to resolve host abdullah

n juga ada pesan
sudoError writing etc/hostname: No such file or directory
sudoError: command not found

Apa aq yg salah ato apa nih kak?

#2
untuk etc/hostname masih salah dalam hal penamaan ... kurang slash tuh...
harusnya

/etc/hostname

nah sedangkan untuk edit file yang benar .,.

gedit /etc/hostname

nah ganti bt dengan :

abdullah ( #serah nama ente maunya ap )

gedit /etc/hosts

127.0.0.1 localhost
127.0.1.1 abdullah ( #samakan dengan file pada /etc/hostname )

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

fix kan ? Tongue
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#3
bang zee saya juga problem nih dengan ini pas saya masukin kode
/etc/hostname
nah perrmison denied bacaanya..
T.T
gmn nih bang zee mohon bantuanya
setiap mau donlot ada tulisanya
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

mohon pencerahaanya Big Grin
let's visit Technomorphosa Heart

#4
owh .. klo pake user ente pake aja
sudo /etc/hostname

ntari di mintain password ya,..

dan juga

sudo apt-get install
sudo wget

FOLLOW @DutaLinux
for more question and sharing about security and Opensource only






Users browsing this thread: 1 Guest(s)