Standard Installation

From Secure Web Gateway

Standard Installation

               The Standard Installation Mode is recommended, and the setup uses mostly pre-configured sub-choices.

Standard Installation 1.png

Network Autoconfigure

Press Yes If you want to use DHCP to automatically configure.

Standard installation 2.png

DNS Search Domain-

Type any domain name here. By default, it will take domain.local

Standard Inastallation 3.png

Language Selection

Choose the language to be used for the installation process. English is selected as the default language. Change it only, if you are not very comfortable with English.

Language Selection.png

Country Selection 

Select your country location which will used to set your time zone. This selection is related to ensure correct time settings of the system. Choose 'other' only if your location is not listed.

Standard Inastallation 4.png

Keyboard layout Selection 

Select the keyboard layout that matches the origin of the keyboard attached to the system.

Keyboard selection.png

Hostname of Your Server-

Integration with your Active Directory Service, requires proper assignment of the Fully Qualified Domain Name.
It is therefore strongly recommended to carefully select the desired hostname for your secure web gateway. The default host name is SWG. You can give any hostname as per your choice other than safesquid.

Standard Inastallation 5.png

Choose the mirror of Ubuntu archive-

Select the country to find a mirror of the ubuntu archive that is close to you on the network to download required packages.

Standard Inastallation Mirror.png
Mirror2.png

You don’t need to add any HTTP proxy here. Leave this blank and press continue.

Standard Installation mirror blank.png

Load Additional Component-

All the required hardware and additional components details will be loaded automatically.

Standard Installation additional.png

Note: If you face any error while installing SafeSquid Appliance Builder (SAB-ISO), you will get debugging logs information by pressing ALT+F4. To return back to previous screen press ALT+F1.

 

Configure the Clock 

Using Yes or No you can configure the clock.You need to scroll down and search your continent and nearby locations time zone.

Clock.png

Setting Up partitions

Installation will proceed with partitioning process required for SafeSquid automatically.

Setting partition.png

Press Enter for Disk partitioning.

Standard Inastallation 6.png
Standard Inastallation 7.png

Installation of base system 

Installation will automatically install the base system. You have to wait for some time to finish the process completely.

Installation of base system .png

Error in Installing Base System-

When the Installation step failed while installing base system then in Ubuntu installer main menu select Install the base system and press enter.

It will start installing base system from beginning.

Standard Inastallation 8.png

Configuring the apt 

Installation will proceed with configuring apt packages one after the other in this part.

Configuring the apt.png

Select and install software

Installation process will complete the OS installation in this part.

Select and install software.png

Error in Install software-

When installing software, the installation step failed then press continue.

Standard Inastallation 9.png

Then select theSelect and Install Software and pressenter. It will start installing software from beginning.

Standard Inastallation 10.png

Grub Boot Loader-

Standard Inastallation 11.png

Finishing installation

Final process of finishing the installation is the last step where preseed file will be executed.

Finishing installation.png

At the end, the system will reboots itself and goes through some system initialization. Afterward, a welcome screen will be appeared with SafeSquid(Secure Web Gateway) screen.

Note: If you face any error while installing SafeSquid Appliance Builder (SAB-ISO), you will get debugging logs information by pressing ALT+F4. To return back to previous screen press ALT+F1.

SafeSquid(Secure Web Gateway) screen..png

Login to the Server

If you observe the screen by default it will give you username along with the password. You need to enter the same username and password for first login.

  • User name: administrator
  • Password : safesquid
    Name and password.png

You need to reset the password on the first login.

Resetpassword.png

You land into console where SafeSquid SWG will be seen as shown below after succefully login.

Admin1.PNG

 

Note1:
If you are doing standard installation on Physical machine using USB bootable pendive Link

After installation has been completed with USB bootable pendive and initial login with administrator ( sudo -i )

Run grub command to install grub MBR on first disk /dev/sda

Commands:

grub-install /dev/sda
update-grub
reboot
(Remove the USB bootable pendive)

As soon as you remove the USB bootable pendrive it should display prompt for login.

(Above commands only required to run if it is displaying the blank screen after removing USB bootable pendrive)

Note2: To set up two network cards for static addressing.

First you need to find the name of the card using below command

root@sabproxy:~# dmesg | grep -i network

You can also search for "eth" instead of "network"

In this case we have to set two network cards eth0 and eth1 respectively:

[ 1.165623] e1000 0000:00:03.0: eth0: Intel(R) PRO/1000 Network Connection
[ 1.645478] e1000 0000:00:08.0: eth1: Intel(R) PRO/1000 Network Connection


Command to find network interfaces available on your system:

root@sabproxy:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:29:8c:12:c2
          inet addr:192.168.221.222  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::20c:29ff:fe8c:12c2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:39383 errors:0 dropped:1844 overruns:0 frame:0
          TX packets:20605 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:41922443 (41.9 MB)  TX bytes:1584156 (1.5 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:396 errors:0 dropped:0 overruns:0 frame:0
          TX packets:396 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:47092 (47.0 KB)  TX bytes:47092 (47.0 KB)

In above case eth0 is already configured while installation of SafeSquid Appliance Builder(SAB).

It's time to enable eth1
Edit the file path using below command on console

vim /etc/network/interfaces

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 192.168.223.101
        netmask 255.255.0.0
        network 192.168.0.0
        broadcast 192.168.255.255
        gateway 192.168.1.10


auto eth1
iface eth1 inet static
        address 10.1.0.101
        netmask 255.255.0.0
        network 10.1.0.0
        broadcast 10.1.255.255
        gateway 10.1.0.100

To restart network interface eth1 up

root@sabproxy:~# service network-interface restart INTERFACE=eth1

 

Troubleshooting

  1. ISO installation issues