• Posts

  • Joined

  • Last visited

Reputation Activity

  1. Like
    I'mTO1 got a reaction from thanh_tan in [SOLVED] Broken repositories   
    True, the problem was related to DNS. I've fixed it by adding DNS nameservers as follow:
    $ sudo vi /etc/resolv.conf
    Modify or enter nameserver as follows:
    Thank you once again!
  2. Like
    I'mTO1 reacted to Eng-Shien Wu in Larmbian (LXDE Armbian)   
    [Thanks Igor et al. for all the hard work]
    For those who prefer LXDE, here are the steps to transform the Jessie server to LXDE desktop:
    ## Update distro sudo apt-get update sudo apt-get dist-upgrade -y ## Install LXDE Desktop sudo apt-get install -y xorg lxde lightdm policykit-1 sudo sed -i.bak -e 's/^NotShowIn=GNOME;KDE;$/NotShowIn=LXDE;GNOME;KDE;/' /etc/xdg/autostart/lxpolkit.desktop ## Add Armbian wallpaper umask 022 sudo mkdir -p /usr/local/wallpapers (cd /usr/local/wallpapers; sudo wget https://raw.githubusercontent.com/igorpecovnik/lib/master/bin/armbian01.jpg) sudo sed -i.bak -e 's/^wallpaper=.*$/wallpaper=\/usr\/local\/wallpapers\/armbian01.jpg/' /etc/xdg/pcmanfm/LXDE/pcmanfm.conf sudo sed -i.bak -e 's/^background=.*$/background=\/usr\/local\/wallpapers\/armbian01.jpg/' /etc/lightdm/lightdm-gtk-greeter.conf In addition, I usually add
    ## Lock down SSH (no root login && ssh key-only login) sudo sed -i.bak -e 's/PermitRootLogin yes/PermitRootLogin no/' -e 's/#PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config sudo systemctl restart sshd ## Install Git sudo apt-get install -y git ## Install Armbian monitor sudo armbianmonitor -r BTW, I am fully expecting people to point out that directly sed'ing pkg files is wrong and I really should be doing it another way. :-)