<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>07_Linux Ubuntu Server - Setting Asas 1 by Murad Isa</title>
      <link>https://padlet.com/murado/linux_setting_asas1</link>
      <description>Beberapa Setting asas : root password, networking, package update</description>
      <language>en-us</language>
      <pubDate>2015-08-01 11:38:45 UTC</pubDate>
      <lastBuildDate>2023-01-21 02:25:44 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Restart network setting : /etc/init.d/networking restart</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998935</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/e87255a6c54c6c4b8fb888d0996f6bc7deb771aa/0e40508920ca3068eb715d116a1c84a4.png" />
         <pubDate>2015-08-16 09:33:06 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998935</guid>
      </item>
      <item>
         <title>Edit network setting : pico /etc/network/interfaces</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998936</link>
         <description><![CDATA[Networking : Manual Setting]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/ca0ee868bd6360e435d01d9089acb7cf3728ce71/0e74249fcea9416393318df0c631a1fb.png" />
         <pubDate>2015-08-16 09:33:08 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998936</guid>
      </item>
      <item>
         <title>Edit network setting : pico /etc/network/interfaces</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998938</link>
         <description><![CDATA[*default setting : dhcp]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/a6e37845482698886243ebb13f2b82b548bb7440/219083496a8a7a4557a20ed034a89ae6.png" />
         <pubDate>2015-08-16 09:33:10 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998938</guid>
      </item>
      <item>
         <title>Edit network setting : pico /etc/network/interfaces</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998940</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/0911421d4c3e838b68d9da0e2ef7d526cd6fd368/22d5b58acb26818d8324008ec942ecf3.png" />
         <pubDate>2015-08-16 09:33:12 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998940</guid>
      </item>
      <item>
         <title>Set root password : </title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998942</link>
         <description><![CDATA[<div>sudo  passwd  root</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/ab3aace8e31e56901ef5bad36e3779e253d12fdb/01ffda433bb81e54823ecf62b8d4ab44.png" />
         <pubDate>2015-08-16 09:33:18 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998942</guid>
      </item>
      <item>
         <title>Package Update : </title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998943</link>
         <description><![CDATA[<div><mark>apt  update;  apt  upgrade  -y; apt autoremove -y; apt autoclean</mark></div>]]></description>
         <enclosure url="" />
         <pubDate>2015-08-16 09:33:22 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998943</guid>
      </item>
      <item>
         <title>Check internet access : </title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998947</link>
         <description><![CDATA[<div>ping  google.com</div>]]></description>
         <pubDate>2015-08-16 09:33:26 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998947</guid>
      </item>
      <item>
         <title>Check Network</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998948</link>
         <description><![CDATA[<div>ip  a</div>]]></description>
         <pubDate>2015-08-16 09:33:29 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998948</guid>
      </item>
      <item>
         <title>Server Info (load, space, memory, ip, packages update)</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998949</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/81d092651e9e527b2bf72d628c89a3daa3f4204c/c0bf2c2546892fb9f6166c99100454a6.png" />
         <pubDate>2015-08-16 09:33:30 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998949</guid>
      </item>
      <item>
         <title>Login Promp</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/65998950</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/68152101/54b3aa7ee806889433e96168c672d60eb54a2f69/fe23671feadce6e381dd34ddf87ea657.png" />
         <pubDate>2015-08-16 09:33:33 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/65998950</guid>
      </item>
      <item>
         <title>Ipv6 Disable</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/78838279</link>
         <description><![CDATA[<div><br> To disable ipv6, open <mark>/etc/sysctl.conf</mark> and insert the following lines at the end:</div><div><strong>net.ipv6.conf.all.disable_ipv6 = 1<br>net.ipv6.conf.default.disable_ipv6 = 1<br>net.ipv6.conf.lo.disable_ipv6 = 1</strong></div><div><br>run command:</div><div><strong><mark>sysctl  -p</mark></strong><br><br>You will see this in the terminal:<br><br></div><pre><mark>net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1</mark>
<br></pre><div>If you see 1, ipv6 has been successfully disabled.</div><div>-----------------------------<br>    </div><div>You can configure Ubuntu to prefer IPv4 over IPv6. This way you will be able to send emails <em>and</em> access IPv6-only sites. Edit /etc/gai.conf and uncomment (delete the '#') the following line:<br><br></div><pre>precedence ::ffff:0:0/96 100</pre><div><br><strong>Surviving a Reboot</strong><br><br></div><div>It turns that after these settings are configured, after a reboot they would disappear and IPv6 would be enabled again.<br><br></div><div>After some research there appears to be a <a href="https://bugs.launchpad.net/ubuntu/+source/procps/+bug/50093">bug in Ubuntu</a> that prevents the sysctl settings from being loaded after a reboot.<br><br></div><div>The workaround for this is to create a new file <strong>/etc/rc.local</strong> and add these contents:<br><br></div><pre><mark>#!/bin/bash
# /etc/rc.local
# Load kernel variables from /etc/sysctl.d
/etc/init.d/procps restart
exit 0</mark></pre><div><br>Save and exit.</div><div>Next we need to make it executable.</div><pre><mark>chmod 755 /etc/rc.local</mark></pre>]]></description>
         <enclosure url="" />
         <pubDate>2015-11-02 22:29:31 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/78838279</guid>
      </item>
      <item>
         <title>Boot to console mode</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/372043429</link>
         <description><![CDATA[<pre><strong><mark>nano /etc/default/grub</mark></strong></pre><div><br>1. Comment the line <strong>GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”</strong>, by adding # at the beginning, which will <strong>disable the Ubuntu purple screen</strong>.</div><div><br>2. Change GRUB_CMDLINE_LINUX=”" to <strong><mark>GRUB_CMDLINE_LINUX=”text”</mark></strong>, this makes <strong>Ubuntu boot directly into Text Mode</strong>.</div><div><br>3. Uncomment this line <strong>#</strong><strong><mark>GRUB_TERMINAL=console</mark></strong>, by removing the # at the beginning, this makes <strong>Grub Menu into real black &amp; white Text Mode</strong> (without background image)</div><div><br>Frun grub update and restart the system. Next time it will come up with terminal mode.<br><br></div><pre><strong><mark>update-grub</mark></strong></pre><div><br><strong>DISABLE GUI</strong><br><mark>systemctl  set-default  multi-user.target<br><br></mark><strong>ENABLE GUI</strong><mark><br>systemctl  set-default  graphical.target</mark></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-07-23 15:22:23 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/372043429</guid>
      </item>
      <item>
         <title>DNS on Ubuntu 18.04</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/372044204</link>
         <description><![CDATA[<div><br>For years it’s been simple to set up DNS on a Linux machine. Just add a couple of entries to <mark>/etc/resolv.conf</mark> and you’re done.<br># Use Google's public DNS servers.<br><mark>nameserver 8.8.4.4<br>nameserver 8.8.8.8</mark></div><div><br>But things change and now it’s not that simple. If you now edit /etc/resolv.conf on Ubuntu you’ll find that the edits are ephemeral. If you restart (or even hibernate) your machine then they’ll be overwritten by default content.<br><mark>nameserver 127.0.0.53<br>search Home</mark></div><div><br>This is pretty simple to fix though.</div><ol><li>Install the resolvconf package:   <strong><mark>apt install resolvconf</mark></strong></li></ol><div><br></div><div>2. Edit <strong><mark>/etc/resolvconf/resolv.conf.d/head</mark></strong></div><div><strong><mark>nameserver 8.8.4.4<br>nameserver 8.8.8.8<br><br>3. </mark></strong>Restart the resolvconf service:  <br><strong><mark>systemctl restart  resolvconf </mark></strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-07-23 15:31:21 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/372044204</guid>
      </item>
      <item>
         <title>NETPLAN (ON UBUNTU)</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/372047425</link>
         <description><![CDATA[<div><br>The method of configuring IP address on Ubuntu 18.04 LTS is significantly different than the older methods. Unlike the previous versions, the Ubuntu 18.04 uses <strong>Netplan</strong> , a new command line network configuration utility, to configure IP address. <br><br>Netplan has been introduced by Ubuntu developers in Ubuntu 17.10. In this new approach, we no longer use <strong>/etc/network/interfaces</strong> file to configure IP address rather we use a YAML file. The default configuration files of Netplan are found under <strong>/etc/netplan/</strong> directory. In this brief tutorial, we are going to learn to configure static and dynamic IP address in <strong>Ubuntu 18.04 LTS</strong> minimal server.<br><br><mark>apt  install  netplan.io</mark><br> </div><div>Configure Static IP Address In Ubuntu 18.04 LTS<br><br></div><div>default network configuration file:<br><br></div><pre><strong>$ ls /etc/netplan/</strong>
50-cloud-init.yaml</pre><div><br></div><pre># nano /etc/netplan/50-cloud-init.yaml</pre><div><br></div><pre>network:
    version: 2
    renderer: networkd
    ethernets:
       ens5:
       dhcp4: no
       addresses: [192.168.1.230/24]
       gateway4: 192.168.1.254
       nameservers:
          addresses: [8.8.4.4,8.8.8.8]</pre><div><br><br></div><pre># This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    eno1:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.0.1/24]
      gateway4: 192.168.0.1
      nameservers:
        addresses: [8.8.8.8, 1.1.1.1]
  wifis:
    wlp58s0:
      dhcp4: yes
      dhcp6: no
      access-points:
        "your-wifi-SSID-name":
          password: "your-wifi-password"</pre><div><br><mark>netplan   try</mark></div><div><br><mark>netplan  apply</mark></div><div><br><mark>netplan --debug apply</mark></div><div><br>CHECK IP:<br><mark>ip  a</mark></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-07-23 15:56:12 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/372047425</guid>
      </item>
      <item>
         <title>HOSTNAME</title>
         <author>murado</author>
         <link>https://padlet.com/murado/linux_setting_asas1/wish/372522892</link>
         <description><![CDATA[<div><mark>hostname<br>hostnamectl<br>hostnamectl   set-hostname    new_name</mark></div>]]></description>
         <enclosure url="" />
         <pubDate>2019-07-29 02:11:02 UTC</pubDate>
         <guid>https://padlet.com/murado/linux_setting_asas1/wish/372522892</guid>
      </item>
   </channel>
</rss>
