Category Archives: Ubuntu

Enable root access in Ubuntu

To enable the Ubuntu root account, first we need to set up password for the root user. sudo passwd root Then unlock the root account sudo passwd -u root

Posted in Linux, Ubuntu | Leave a comment

Yum and Apt-Get Command Examples

Ubuntu Update/Upgrade sudo apt-get clean sudo apt-get update sudo apt-get upgrade Redhat / CentOS / Fedora yum clean all yum update yum list updates yum update To install soft sudo apt-get install lxde List all installed packages, enter: # rpm … Continue reading

Posted in Fedora, Linux, Redhat, Ubuntu | Leave a comment

Ubuntu Firewall Command Line Examples

How do I see the current status of my firewall? sudo ufw status verbose How do I open tcp port # 22? To allow incoming tcp packets on port 22, enter: sudo ufw allow 22/tcp Verify it: sudo ufw status … Continue reading

Posted in Linux, Ubuntu | Leave a comment