Build monowall in SuSE Environment

Source: Internet
Author: User

1. Create a 10 Gb hard disk lvcreate-N monowall-L 10g xen_suse by using LVM to manage the hard disk in SuSE.

2. Install the configuration file cat monowall-pxe.cfg, copy to the installed machine, execute the XM create monowall-pxe.cfg

name = "monowall" builder = "hvm"  # Virtualization Mode memory = "2048"  # The maximum memory size is 2 GB. disk = [ ‘phy:/dev/xen_ovm/monowall,hda,w‘ , ‘file:/soft/monowall/cdrom-1.34.iso,hdc:cdrom,r‘ , ] # Installation using a cd vif = [ ‘mac=00:00:00:00:00:01,bridge=xenbr0‘ , ‘ mac=00:00:00:00:00:02,bridge=xenbr1‘ , ]  # Configure two virtual NICs device_model = " /usr/lib/xen/bin/qemu-dm " kernel = " /usr/lib/xen/boot/hvmloader " vnc=1   # Enable VNC vncunused=1 # First VNC Port vncpasswd= ‘password‘ # VNC Password timer_mode=0 apic=1 acpi=1 pae=1 vcpus=2 serial = "pty" # enable serial console on_reboot = ‘restart‘ on_crash = ‘restart‘

boot=‘d‘# Starting from a cd

3. Open the graphical installation interface on port 5900 of VNC.

(1) Select 7 to write the image to the hard disk.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/DC/wKiom1PslJyRedJ1AAIGOdZ5_Rs341.jpg "Title =" 001.jpg" alt = "wkiom1psljyredj1aaigodz5_rs341.jpg"/>

(2) After the write is completed, the system will automatically restart and return to the master machine. Use XM destroy "ID" to disable monowall.

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/45/DC/wKiom1PslLfwsL5uAAC86R7YkfI570.jpg" title="11.jpg" alt="wKiom1PslLfwsL5uAAC86R7YkfI570.jpg" />

(3) run the startup profile, cat monowall-vm.cfg, copy to the master machine, execute XM create monowall-vm.cfg

name = "monowall" builder = "hvm" memory = "2048" disk = [ ‘phy:/dev/xen_ovm/monowall,hda,w‘ ,] vif = [ ‘mac=00:00:00:00:00:01,bridge=xenbr0‘ , ‘ mac=00:00:00:00:00:02,bridge=xenbr1‘ , ] device_model = " /usr/lib/xen/bin/qemu-dm " kernel = " /usr/lib/xen/boot/hvmloader " vnc=1 vncunused=1 vncpasswd= ‘password‘ timer_mode=0 apic=1 acpi=1 pae=1
vcpus=2 serial = "pty" # enable serial console on_reboot = ‘restart‘ on_crash = ‘restart‘

(4) After the execution is complete, you can remotely configure it through VNC;

Bind an Intranet/Internet Nic

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/DC/wKiom1PslhrwFPE3AAJsj6kwKGA544.jpg "Title =" 21.jpg" alt = "wkiom1pslhrwfpe3aajsj6kwkga544.jpg"/>

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/DC/wKiom1PsllXS4jCtAAIz51184G0374.jpg "Title =" 43.jpg" alt = "wkiom1psllxs4jctaaiz%84%374.jpg"/>

(3) configure the Intranet IP address (whether to configure DHCP as needed)

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/DE/wKioL1Psl5HhtxP_AAGglE3ZxRQ931.jpg "Title =" 123.jpg" alt = "wkiol1psl5hhtxp_aaggle3zxrq931.jpg"/>

The configuration is complete and can be accessed normally.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/DC/wKiom1PslryB-HRLAALWKgzMkQw288.jpg "Title =" 132.jpg" alt = "wKiom1PslryB-HRLAALWKgzMkQw288.jpg"/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.