ifconfig -a
ip addr
/etc/sysconfig/network-scripts/ifcfg-xxx
BOOTPROTO=dhcp
ONBOOT=yes
/etc/init.d/network restart
service network restart
dhclient -v <inf>
mount -t vboxsf drive /drive
systemctl stop|disable|start firewalld
My quick note on setting up my personnel Ubuntu Server nodes. I update this as I ran up with issues setting up any components.
Nice tip to download Oracle JDK
wget --no-cookies --no-check-certificate --header "Cookie: gpwe24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz"
Configure environment
/opt/jdk1.7.079/>
Reference -
Network troubleshooting
List all interfaces, even those are inactive using option all ( -a )
Path for network configuration file - https://gist.github.com/fernandoaleman/2172388
Make sure following options are present.
To restart network use ifconfig <inf> up | down or below command.
To manually get DHCP
Managing Disks
To detect devices and mounting shared partitions use dmesg
Mount virtual box partition
Managing Repositories <a href="http://www.rackspace.com/knowledgecenter/article/install-epel-and-additional-repositories-on-centos-and-red-hat">...
yum
Adding a repo is simply copying file to yum.repos.d/
wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
Install from disabled repo
Enabling a repo
Alt. sudo yum-config-manager --disable rpmforge
Enable Firewall ...
firewall-cmd is utility that writes into iptables
To stop firewalld, run the following command as root:
Iptables
References :-