<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.twig.es/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Centos_7_with_tomcat_and_Java</id>
		<title>Centos 7 with tomcat and Java - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.twig.es/index.php?action=history&amp;feed=atom&amp;title=Centos_7_with_tomcat_and_Java"/>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Centos_7_with_tomcat_and_Java&amp;action=history"/>
		<updated>2026-05-06T15:08:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.0</generator>

	<entry>
		<id>https://wiki.twig.es/index.php?title=Centos_7_with_tomcat_and_Java&amp;diff=3765&amp;oldid=prev</id>
		<title>George2: Created page with &quot;&lt;source lang=&quot;text&quot;&gt;  # -*- mode: ruby -*- # vi: set ft=ruby :  # All Vagrant configuration is done below. The &quot;2&quot; in Vagrant.configure # configures the configuration version...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.twig.es/index.php?title=Centos_7_with_tomcat_and_Java&amp;diff=3765&amp;oldid=prev"/>
				<updated>2017-08-22T11:13:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;  # -*- mode: ruby -*- # vi: set ft=ruby :  # All Vagrant configuration is done below. The &amp;quot;2&amp;quot; in Vagrant.configure # configures the configuration version...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# -*- mode: ruby -*-&lt;br /&gt;
# vi: set ft=ruby :&lt;br /&gt;
&lt;br /&gt;
# All Vagrant configuration is done below. The &amp;quot;2&amp;quot; in Vagrant.configure&lt;br /&gt;
# configures the configuration version (we support older styles for&lt;br /&gt;
# backwards compatibility). Please don't change it unless you know what&lt;br /&gt;
# you're doing.&lt;br /&gt;
Vagrant.configure(2) do |config|&lt;br /&gt;
  # The most common configuration options are documented and commented below.&lt;br /&gt;
  # For a complete reference, please see the online documentation at&lt;br /&gt;
  # https://docs.vagrantup.com.&lt;br /&gt;
&lt;br /&gt;
  # Every Vagrant development environment requires a box. You can search for&lt;br /&gt;
  # boxes at https://atlas.hashicorp.com/search.&lt;br /&gt;
  config.vm.box = &amp;quot;Centos-7&amp;quot;&lt;br /&gt;
  config.vm.define &amp;quot;tomcat&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  # Disable automatic box update checking. If you disable this, then&lt;br /&gt;
  # boxes will only be checked for updates when the user runs&lt;br /&gt;
  # `vagrant box outdated`. This is not recommended.&lt;br /&gt;
  # config.vm.box_check_update = false&lt;br /&gt;
&lt;br /&gt;
  # Create a forwarded port mapping which allows access to a specific port&lt;br /&gt;
  # within the machine from a port on the host machine. In the example below,&lt;br /&gt;
  # accessing &amp;quot;localhost:8080&amp;quot; will access port 80 on the guest machine.&lt;br /&gt;
  # config.vm.network &amp;quot;forwarded_port&amp;quot;, guest: 80, host: 8080&lt;br /&gt;
&lt;br /&gt;
  # Create a private network, which allows host-only access to the machine&lt;br /&gt;
  # using a specific IP.&lt;br /&gt;
  # config.vm.network &amp;quot;private_network&amp;quot;, ip: &amp;quot;192.168.33.10&amp;quot;&lt;br /&gt;
  config.vm.network :public_network, :bridge =&amp;gt; 'eno1', :dev =&amp;gt; 'eno1', :use_dhcp_assigned_default_route =&amp;gt; true,  ip: &amp;quot;192.168.0.125&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  # Create a public network, which generally matched to bridged network.&lt;br /&gt;
  # Bridged networks make the machine appear as another physical device on&lt;br /&gt;
  # your network.&lt;br /&gt;
  # config.vm.network &amp;quot;public_network&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  # Share an additional folder to the guest VM. The first argument is&lt;br /&gt;
  # the path on the host to the actual folder. The second argument is&lt;br /&gt;
  # the path on the guest to mount the folder. And the optional third&lt;br /&gt;
  # argument is a set of non-required options.&lt;br /&gt;
  # config.vm.synced_folder &amp;quot;../data&amp;quot;, &amp;quot;/vagrant_data&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  # Provider-specific configuration so you can fine-tune various&lt;br /&gt;
  # backing providers for Vagrant. These expose provider-specific options.&lt;br /&gt;
  # Example for VirtualBox:&lt;br /&gt;
  #&lt;br /&gt;
  # config.vm.provider &amp;quot;virtualbox&amp;quot; do |vb|&lt;br /&gt;
  #   # Display the VirtualBox GUI when booting the machine&lt;br /&gt;
  #   vb.gui = true&lt;br /&gt;
  #&lt;br /&gt;
  #   # Customize the amount of memory on the VM:&lt;br /&gt;
  #   vb.memory = &amp;quot;1024&amp;quot;&lt;br /&gt;
  # end&lt;br /&gt;
  #&lt;br /&gt;
  # View the documentation for the provider you are using for more&lt;br /&gt;
  # information on available options.&lt;br /&gt;
&lt;br /&gt;
  # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies&lt;br /&gt;
  # such as FTP and Heroku are also available. See the documentation at&lt;br /&gt;
  # https://docs.vagrantup.com/v2/push/atlas.html for more information.&lt;br /&gt;
  # config.push.define &amp;quot;atlas&amp;quot; do |push|&lt;br /&gt;
  #   push.app = &amp;quot;YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME&amp;quot;&lt;br /&gt;
  # end&lt;br /&gt;
&lt;br /&gt;
  # Enable provisioning with a shell script. Additional provisioners such as&lt;br /&gt;
  # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the&lt;br /&gt;
  # documentation for more information about their specific syntax and use.&lt;br /&gt;
   config.vm.provision &amp;quot;shell&amp;quot;, inline: &amp;lt;&amp;lt;-SHELL&lt;br /&gt;
     yum install -y  epel-release&lt;br /&gt;
     yum  install -y openvpn easy-rsa&lt;br /&gt;
     mv /vagrant/centos-7_tomcat.ovpn /etc/openvpn/client.conf&lt;br /&gt;
     systemctl start openvpn@client&lt;br /&gt;
     cd /usr/local&lt;br /&gt;
     tar xvzf /vagrant/jdk-8u144-linux-x64.tar.gz&lt;br /&gt;
     ln -s jdk1.8.0_144 java&lt;br /&gt;
&lt;br /&gt;
   SHELL&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>George2</name></author>	</entry>

	</feed>