Anda di halaman 1dari 11

Installation of Fedora: a. Create a snap shot before doing configuration and installation on VM. b.

Initial setup under Network Configuration: Static IP: 10.160.118.1 Netmask: 255.255.0.0 Default gateway IP: 10.160.0.1 Primary DNS Server: 10.149.0.21 c. Confirm DNS configuration Settings: Primary DNS: 10.149.0.21 d. Disable SE Linux in cd /etc/selinux vi config change line from SELINUX=enforcing to SELINUX=disabled e. Disable iptables: Command to enter: -Systemctl disable iptables.service -Iptables F Installing DNS: a. Yum install bind Install webadmin, using browser in Linux box at www.webmin.com: 1. 2. 3. 4. 5. Choose rpm to download cd /etc/named.conf rm named.conf rpm ivh webmin-1.620-1.noarch.rpm reboot

Installing DNS: 1. open up browser and go to http://10.160.118.1:10000 (or whatever my ipaddress: 10000) 2. click bind server and choose option 3:

3. create master zone with the following config:

Create two address records: A. blank in Name field:

B. www in Name field:

Create Mail Server Records and enter the following:

Create Zone options based on config in the following:

Create a Slave zone: 1. Log into webadmin for designated Linux box for zone transfers: 2. Delete existing station18.com and create a new one based on the config below:

Stop and start bind after each zone is created. Change Network configuration settings after DNS is created using your Linux IP add as Primary DNS:

Change DNS configuration settings to your linux box IP address:

Do a service network reload and reboot using commands: -service network reload -reboot Make sure bind is working. If not start it up Verify that zones are being transferred by the following command: -ping station18.com

Installing Squid: 1. Add a second network card in VM settings, choose Custom and scroll to VMnet2. Do the same for the client:

2. In setup, add new network adapter under Device configuration, choose new device and choose Ethernet. 3. In network configuration window enter the following:

Note static IP is 192.168.18.1 (i.e. where 18 is my station) and Primary DNS server is 10.160.118.1. gateway is left blank 5. Enter the following commands: -reboot -service network reload

6 and 7. Enter ifconfig to see if both cards are up If not up, then enter if up p3p2 command 8. yum install squid If installing squid doesnt work, then get it from your neighbor by doing the following command: 1. 2. 3. 4. Cd /etc/yum.repos.d Sftp 10.160.117.2 (your neighbors address ) Cd /etc Cd yum.repos.d

5. 6. 7. 8.

Get * Exit Yum install squid Note: If it doesnt work you might have to start bind because it turns off once in a while.

Configure squid.conf in cd /etc/squid based on examples provided on 02/26

To edit firefox in client PC, go to edit, preferences, network, advanced, setting Click on manual proxy configuration http proxy: 192.168.18.1 (squid box address) Port: 3128

Installing LAMP
yum install mysql mysql-server systemctl enable mysqld.service systemctl start mysqld.service mysql_secure_installation ***Follow the Steps yum install httpd systemctl enable httpd.service systemctl start httpd.service ***Clear /var/www/html yum install php systemctl restart httpd.service cd /var/www/html/ nano info.php **Edit <?php phpinfo(); ?> **save and exit

yum search php yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc phpmagickwand php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy yum install php-pecl-apc systemctl restart httpd.service 1. Go to your ip address/info.php to see if php is working. (i.e. 192.168.0.105/info.php or server18.station18.com/info.php) If functioning page should look like this:

2. Create msql database using webadmin.

Anda mungkin juga menyukai