creating a linux/apache/mysql/php (lamp) virtual machine...

2
Creating a LINUX/Apache/MySql/PHP (LAMP) Virtual Machine (VM) Creating a VM machine Use your Web Browser to go to vm.cs.dixie.edu Login with your CIT user name and password Create a new VM Machine: * Name : SQL * RAM: 512M * CPU: 2 * HD: 16G * VLAN: Use VLAN from ip range Booting your machine: * RAM: 512M * Boot: D Drive * xenial_server Note your server:ID and the BASE IP address Installing LINUX VNC into your machine: www.tightvnc.com * Server: vm.cs.dixie.edu:port * Encryption: default * This part should be done on campus. (only needs to be done once.) English Install Ubuntu Server English United States Detect KB (NO) English (US) English (US) Network Autoconfig Failed (Continue) Configure network manually IP (144.38.base.base+2) Netmask (255.255.255.248) Gateway (144.38.base.base+1) Name Server addresses (144.38.192.2 144.38.192.3) Hostname (flast-sql) Domain (Enter) Full Name (CITUser) User Name (CITUser) Password (CITPassword) Again (CITPassword) Encrypt (NO) Time Zone YES Partition Guided-Use entire disk and setup LVM Disk (Enter) amount of volume (enter) Write Changes (Yes) Installing the system (Be patient) HTTP (Enter) Manage updates (Install security updates automatically) Software Selection - DANGER hitting enter goes on * Use arrows to chose software. * Use space to select software for installation. * Select Basic Ubuntu server OpenSSH server LAMP server (Continue) MySQL root password (CITPassword) MySQL Again (CITPassword) GRUB (YES) Installation Complete (Continue) Power down Machine Restart machine: (Default Settings) Using Putty (On Campus)

Upload: vankhanh

Post on 04-Jan-2019

227 views

Category:

Documents


0 download

TRANSCRIPT

CreatingaLINUX/Apache/MySql/PHP(LAMP)VirtualMachine(VM)CreatingaVMmachineUseyourWebBrowsertogotovm.cs.dixie.eduLoginwithyourCITusernameandpasswordCreateanewVMMachine:*Name:SQL*RAM:512M*CPU:2*HD:16G*VLAN:UseVLANfromiprangeBootingyourmachine:*RAM:512M*Boot:DDrive*xenial_serverNoteyourserver:IDandtheBASEIPaddress

InstallingLINUXVNCintoyourmachine:www.tightvnc.com*Server:vm.cs.dixie.edu:port*Encryption:default*Thispartshouldbedoneoncampus.(onlyneedstobedoneonce.)EnglishInstallUbuntuServerEnglishUnitedStatesDetectKB(NO)English(US)English(US)NetworkAutoconfigFailed(Continue)ConfigurenetworkmanuallyIP(144.38.base.base+2)Netmask(255.255.255.248)Gateway(144.38.base.base+1)NameServeraddresses(144.38.192.2144.38.192.3)Hostname(flast-sql)Domain(Enter)FullName(CITUser)UserName(CITUser)Password(CITPassword)Again(CITPassword)Encrypt(NO)TimeZoneYESPartitionGuided-UseentirediskandsetupLVMDisk(Enter)amountofvolume(enter)WriteChanges(Yes)Installingthesystem(Bepatient)HTTP(Enter)Manageupdates(Installsecurityupdatesautomatically)SoftwareSelection-DANGERhittingentergoeson*Usearrowstochosesoftware.*Usespacetoselectsoftwareforinstallation.*SelectBasicUbuntuserverOpenSSHserverLAMPserver(Continue)MySQLrootpassword(CITPassword)MySQLAgain(CITPassword)GRUB(YES)InstallationComplete(Continue)PowerdownMachineRestartmachine:(DefaultSettings)

UsingPutty(OnCampus)

RunPuTTY(http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)*host144.38.base.base+2

UsingPutty(OffCampus)RunpuTTY*hostssh.cs.dixie.edu*login*fromlinuxpromptssh144.38.base.base+2

UsingwinSCP(OnCampus)RunwinSCPhttp://winscp.net/eng/download.php*host144.38.base.base+2