Tag Archives: ubuntu

Ubuntu upgrade or update a single package using apt-get

Ubuntu upgrade or update a single package using apt-get

I am a new Ubuntu Linux server system administrator. I need to upgrade or update a single package using apt-get command or apt command. How do I update a specific package in Ubuntu Linux? How do I upgrade a single package using apt-get?

The post Ubuntu upgrade or update a single package using apt-get appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Ubuntu 18.04 Setup SSH Public Key Authentication

Ubuntu 18.04 Setup SSH Public Key Authentication

I am a new Ubuntu 18.04 LTS user and I would like to setup ssh public key authentication. How do I set up ssh keys based authentication on Ubuntu Linux 18.04 LTS server? How do I set up SSH keys on an Ubuntu Linux 18.04 LTS server? In Ubuntu 18.04 LTS, how do I set up public key authentication?

The post Ubuntu 18.04 Setup SSH Public Key Authentication appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Ubuntu 18.04 LTS change hostname permanently

Ubuntu 18.04 LTS change hostname permanently

I am a new Ubuntu Linux 18.04 LTS cloud server user. By default my serer name to ‘localhost’ during installation but now I would like to change the computer name to ‘u1804-nixcraft’. Can you tell me how do I I remove localhost and set it to u1804-nixcraft on Ubuntu 18.04 Linux? How do I change the Ubuntu computer name from ‘localhost’ to ‘u1804-nixcraft’? Can you tell me more about Ubuntu Linux change hostname command?

The post Ubuntu 18.04 LTS change hostname permanently appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Linux Kernel /etc/sysctl.conf Security Hardening

Linux Kernel /etc/sysctl.conf Security Hardening

How do I set advanced security options of the TCP/IP stack and virtual memory to improve the security and performance of my Linux based system? How do I configure Linux kernel to prevent certain kinds of attacks using /etc/sysctl.conf? How do I set Linux kernel parameters?

The post Linux Kernel /etc/sysctl.conf Security Hardening appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

How to install FreeBSD 11 on Google Cloud Compute

How to install FreeBSD 11 on Google Cloud Compute

How can I deploy or install FreeBSD version 11.x Unix operating system on the Google cloud engine? Do I need to create my own FreeBSD disk image to start with the Google Cloud Compute?

The post How to install FreeBSD 11 on Google Cloud Compute appeared first on nixCraft.
Halal Vitamins

Powered by WPeMatico

Check how many CPUs are there in Linux system

Check how many CPUs are there in Linux system

I am a new Linux user. How do you check how many CPUs are there in Linux system using the command line option?

The post Check how many CPUs are there in Linux system appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

CentOS 7 Run Script When Network Interface is Up (Network Manager)

CentOS 7 Run Script When Network Interface is Up (Network Manager)

I want to run a shell script or other program immediately after my network interface goes up on a CentOS 7 / RHEL 7 server. I created /sbin/ifup-local, but it is not working on a CentOS 7 box but works perfectly on CentOS 6. I am using NetworkManager with CentOS 7. How do I run ifup-post or ifup-pre scripts?

The post CentOS 7 Run Script When Network Interface is Up (Network Manager) appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico

Ubuntu -bash: do-release-upgrade: command not found

Ubuntu -bash: do-release-upgrade: command not found

I am using Ubuntu Linux 16.04 LTS cloud server. I followed this page to upgrade Ubuntu 16.04 to 18.04 but, I am getting an error that read as ‘ -bash: do-release-upgrade: command not found.’ Why am I not getting the Ubuntu 18.04 upgrade using do-release-upgrade and how do I fix this problem?

The post Ubuntu -bash: do-release-upgrade: command not found appeared first on nixCraft.

Halal Vitamins

Powered by WPeMatico