Difference between revisions of "Home ubuntu"
From Wiki2
(Created page with "Ubuntu 12.04LTS 10.0.1.101 static <code> # This file describes the network interfaces available on your system # and how to activate them. For more information, see interface...") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==home ubuntu== | |||
Ubuntu 12.04LTS | Ubuntu 12.04LTS | ||
10.0.1.101 static | sudo halt -p | ||
< | |||
/etc/network/interfaces to make 10.0.1.101 static | |||
<pre> | |||
# This file describes the network interfaces available on your system | # This file describes the network interfaces available on your system | ||
# and how to activate them. For more information, see interfaces(5). | # and how to activate them. For more information, see interfaces(5). | ||
# The loopback network interface | # The loopback network interface | ||
auto lo | auto lo | ||
iface lo inet loopback | iface lo inet loopback | ||
# The primary network interface | # The primary network interface | ||
auto eth0 | auto eth0 | ||
Line 17: | Line 19: | ||
gateway 10.0.1.1 | gateway 10.0.1.1 | ||
dns-nameservers 8.8.8.8 10.0.1.1 | dns-nameservers 8.8.8.8 10.0.1.1 | ||
</ | </pre> | ||
;ruby rails | ;lamp: https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu | ||
:http://10.0.1.101/info.php | |||
;ruby1.9.3 rails4.0.0:https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm |
Latest revision as of 08:59, 17 September 2015
home ubuntu
Ubuntu 12.04LTS
sudo halt -p
/etc/network/interfaces to make 10.0.1.101 static
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 10.0.1.101 netmask 255.255.255.0 gateway 10.0.1.1 dns-nameservers 8.8.8.8 10.0.1.1