从零开始学网站开发——1.开发环境准备
从零开始学网站开发,准备工作,开发环境的准备运行系统环境的准备
系统镜像:
https://mirrors.dgut.edu.cn/ubuntu-releases/20.04.4/ubuntu-20.04.4-live-server-amd64.iso
链接复制到迅雷或者其他下载器下载下来,然后是用virtualbox虚拟机来创建新虚拟机安装系统,可自行是用vmware或者其他的虚拟机都可以,当然直接使用新机器装系统也都可以的。
shell在win下可以xshell或者是finalshell,自己百度下载。
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/db8bfa13571448868b945c516ec4b858~tplv-tt-large.image?x-expires=1969757751&x-signature=ghCw7OF91%2FHgT2sY4uHIEIspmAM%3D根据自身配置选择内存巨细 根据自身配置选择内存巨细
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/712d0140149b4bbaae024b87efe0b8cd~tplv-tt-large.image?x-expires=1969757751&x-signature=9lCOidEtTgKuwuhklKdjNNegcJ0%3D配置硬盘巨细
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/0ef5d4727c2b45ad8f973a6e649c3bac~tplv-tt-large.image?x-expires=1969757751&x-signature=3MWIKdpjq5ctri0wKkvA2jVHyNM%3D上面的步骤设置完成后选择设置虚拟机
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/6f75a30f96a741ad9f1eb7a8748fcf34~tplv-tt-large.image?x-expires=1969757751&x-signature=BkQDT7xTm0kc8jPD7Gr1DxF3HA4%3D关闭软驱启动
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/f623b0f7f62e4e949c369b04370878c3~tplv-tt-large.image?x-expires=1969757751&x-signature=vav2Lk1IFE9wdEpy19jpWc7VEgA%3D选择前面下载的系统镜像ISO 选择前面下载的系统镜像ISO
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/ba59825559ee40f4b1df623e0c97f0af~tplv-tt-large.image?x-expires=1969757751&x-signature=0TbzQ8wWdPJHAZ%2FIgsrWg1yz6uk%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/393d8d72a0a742339ec5cb3e4464d366~tplv-tt-large.image?x-expires=1969757751&x-signature=7MtK%2BeUxfKHbSJLx5nBbekZWLhQ%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/ec55ab46c8b741749f43328b9dbefc5c~tplv-tt-large.image?x-expires=1969757751&x-signature=bJWrPFaf7sSRDkGWsEGID0LYp08%3D网络设置成桥接模式,虚拟机就可以跟本机在同个网段中,然后点击『ok』,然后双击虚拟机启动虚拟机。
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/99232cd939e648078a5ae7c6b189bde0~tplv-tt-large.image?x-expires=1969757751&x-signature=9RS5O1OWx9dMdMmkJcK3pySSdqc%3D选择语言,我们选择中文
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/43576fd69e2c4873ad6b0f2fd68d5f66~tplv-tt-large.image?x-expires=1969757751&x-signature=8qiQ56J7PmZVKWXxVT0HQQg1q8E%3D键盘光标可以上下移动选项,选择第一项安装系统,按回车下一步
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/e9b74f4f97304a8b936ec624779ab6ee~tplv-tt-large.image?x-expires=1969757751&x-signature=8ln8rrKZ8ZeR9g7fdFYry4SvQd0%3D省略一些直接回车的步骤,到这里,虚拟机的ip地点自动获取到了,按tab键到『done』按回车下一步。
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/f6a5e6eda96948f6b6c74c57cc644763~tplv-tt-large.image?x-expires=1969757751&x-signature=fa7aPTWEc7D3DWf3kaNjsVPRmr4%3D硬盘分区,默认不动,下一步
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/601df875cd3b4002a62f8375c6c58a78~tplv-tt-large.image?x-expires=1969757751&x-signature=rqlpPd07n3VX4nfIqd9zGMxrZos%3D硬盘分区
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/88d39cc5a69a44af834c5ff3d8ad0d23~tplv-tt-large.image?x-expires=1969757751&x-signature=ueLk%2BqFEkh3mCkzUhD3W2dnn06U%3D按键盘方向键的下到如图那一项,按回车选择edit
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/fa47503471ad47b1b1cc05da7a6e2c46~tplv-tt-large.image?x-expires=1969757751&x-signature=TxklXKQzaeOwK9KqKXqwxDLbROg%3D移动光标到size那边,输入创建虚拟机的硬盘巨细,现实可用会自动调解,无需担心。
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/709cf91ce65c475a8eda30b787d204b2~tplv-tt-large.image?x-expires=1969757751&x-signature=4kzNw%2BwUvVF1X5kJWn4qtQvqjHY%3D硬盘巨细自动调解好,下一步
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/117c7793503245e7b7279856b1d6711d~tplv-tt-large.image?x-expires=1969757751&x-signature=grEl0okxlJx8RLWZkhROsnEPMXE%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/72f60c06d41a4565904643eda813e0ba~tplv-tt-large.image?x-expires=1969757751&x-signature=iySrIB8XwmMlVbCdxvS4iz5OMyE%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/2057f521941744d792761ebea1baa865~tplv-tt-large.image?x-expires=1969757751&x-signature=CkrjrVZcyzXQcidZbwy3jn7Zeqc%3D输入账号和密码
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/654d642024ed4041870c9095c1b1c158~tplv-tt-large.image?x-expires=1969757751&x-signature=H0%2FD2nST2bHIT59GeWmRqALg9I4%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/8718e5a174244f5c99865e1f4963db0e~tplv-tt-large.image?x-expires=1969757751&x-signature=Q%2BlIhQXtdVRZzqy4b42%2BziIdWtM%3D
移动光标到install那边,按键盘『空格键』选中,安装ssh服务
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/1989a5977e294428a14a6c79fa3e7faa~tplv-tt-large.image?x-expires=1969757751&x-signature=K%2FOHnKPk7wjh%2BWrcIyJ10NqvZ1I%3D直接tab,然后下一步
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/5ee73e34e60245319c7ad64da55d19a7~tplv-tt-large.image?x-expires=1969757751&x-signature=aktoSuwPrZhe7IjFF25ZlpY703A%3D开始安装系统
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/6bb2d2d2388542d1bebebd76e0239078~tplv-tt-large.image?x-expires=1969757751&x-signature=aCtB6SeTY2bEQhCrGJMm6FiX39Q%3D到这里,其实就可以重启系统,但是后台还在更新系统,等待一会
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/ab2dbee0168143feb4c746dc578c9b49~tplv-tt-large.image?x-expires=1969757751&x-signature=RMMDSzFXyxzaDP6H5AVGF0OPblA%3D系统更新和安装完成,选择reboot重启虚拟机
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/17df65ef1ac246e3820c7f8581e85083~tplv-tt-large.image?x-expires=1969757751&x-signature=6hACWKoWEywEp531qypPJCD5%2BJs%3D这里提示按回车键自动退出光盘,按回车,系统重启
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/3d274f10fc874ebdb4d8ff7c4ba8b5d8~tplv-tt-large.image?x-expires=1969757751&x-signature=l4lEOLAQGecT8hkHCrtQbymHvSk%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/55a1680112f2449eb7a0399797f9bd3d~tplv-tt-large.image?x-expires=1969757751&x-signature=teJEsAJ0skMmqioiRKVCFoXffF4%3D启动一会,要是卡着不动,试着按一下回车键,假如跟我界面一样,就可以输入你的账号了
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/74c7427498f64d41bed728f37dab4809~tplv-tt-large.image?x-expires=1969757751&x-signature=gwnQceZrUgLYZt5qP7WBUmfheew%3D输入账号,回车,输入密码,回车
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/388347b8c8234cb6ab6bdf6895f026e7~tplv-tt-large.image?x-expires=1969757751&x-signature=acIDcQCPQ421ZzscgDXO8lFnL6M%3D登录系统乐成,可以看到虚拟机的ip地点
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/66f6644910854bfab1e33fed10d2d09c~tplv-tt-large.image?x-expires=1969757751&x-signature=aSX2Ja5RMTxmmoXstJiRmSx%2FbSY%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/2fa8fad5898c4d89a2e06c90dd3988a7~tplv-tt-large.image?x-expires=1969757751&x-signature=CQsqxVeUhDtPlMU2W%2BHMBZYXhIo%3D
https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/f825891044344f7e97bf6ce7c5ee7853~tplv-tt-large.image?x-expires=1969757751&x-signature=%2FW0SMv7d5YRt8AK5a8dJmZmMO3k%3D
安装好系统后,打开终端,输入:ssh [email protected] ,然后回车,输『yes』回车,然后输入密码(安装的时间自行设置),假如能乐成连上,那么就是证实你的系统已经安装完成。
下一期视频,我们来进行具体的开发环境的安装和配置:主要是nginx+mysql+php的安装配置。
页:
[1]