yum provides ifconfigThrough that we can see that the net-tools package installs it. Run:
yum install net-tools…and you should be able to now use ifconfig.
Websites and SEO
yum provides ifconfigThrough that we can see that the net-tools package installs it. Run:
yum install net-tools…and you should be able to now use ifconfig.
sudo yum install nfs-utils nfs-utils-libExamine the package list, and if nothing looks awry hit Y to install. Now edit your fstab and add this line to the bottom to automount the shares:
[ip.of.nfs.server]:[absolute-path-to-share] [absolute-path-to-fedora-mount-point] nfs auto 0 0e.g., in this example:
10.1.1.3:/tank/documents /opt/documents nfs auto 0 0To break this down: the static IP address of the NFS server is 10.1.1.3, the path on the Ubuntu machine to the share is /tank/documents, and the created directory to mount the NFS share to is /opt/documents on the Fedora VM. To mount everything in fstab, run:
mount -aThen navigate to the /opt/documents directory and check that you can read/write onto the NFS share correctly. Reboot the server to make sure everything works OK and you should be done!
systemctl enable sshd.serviceThe next time you boot your SSH server should have started automatically.
yum install [package]Using tmux as an example:
yum install tmux
Loaded plugins: langpacks, refresh-packagekit Resolving Dependencies –> Running transaction check —> Package tmux.x86_64 0:1.8-3.fc20 will be installed –> Finished Dependency Resolution Dependencies Resolved =========================================== Package Arch Version Repository Size =========================================== Installing: tmux x86_64 1.8-3.fc20 fedora 243 k Transaction Summary =========================================== Install 1 Package Total download size: 243 k Installed size: 558 k Is this ok [y/d/N]:You can see that the yum command provides some useful information about the package you have asked it to install. If you are happy with the information provided you can install with “y” or cancel with “n”.
yum updateYou will see a list of the updated packages and a confirmation at the end. On our test system it looks like this:
Transaction Summary ============================================ Install 3 Packages (+ 6 Dependent packages) Upgrade 97 Packages (+157 Dependent packages) Total size: 332 M Total download size: 275 M Is this ok [y/d/N]:If you are happy with the listed upgrades and/or new installations hit ‘y’ to update!