当前位置: 首页 > news >正文

网站开发网络课程aso优化是什么意思

网站开发网络课程,aso优化是什么意思,网站上的图分辨率做多少,清溪网站仿做一、卸载WSL/WSL2 如果安装了windows子系统的朋友,可以选择继续使用。或者提前卸载WSL,再选择安装虚拟机。虚拟机占用内存较大,WSL可能对于开发的一些需求还有欠缺。根据自己的实际情况进行选择。 WIN10/11安装WSL(请参考官方资料&#xff0c…

一、卸载WSL/WSL2

        如果安装了windows子系统的朋友,可以选择继续使用。或者提前卸载WSL,再选择安装虚拟机。虚拟机占用内存较大,WSL可能对于开发的一些需求还有欠缺。根据自己的实际情况进行选择。

        WIN10/11安装WSL(请参考官方资料,很详细):

        外部连接审核不通过:见评论区

彻底卸载WSL

(1)删除Linux发行版

(2)删除Linux组件

(3)从Windows中删除Linux

  (4)   重启电脑

二、安装VM 

下载链接:

     外部连接审核不通过:见评论区

(1)准备一个盘,专门放虚拟机,方便后期管理

(2)安装VMware

这里更改一下安装路径,其他直接默认安装即可。

密钥百度一下:

 外部连接审核不通过:见评论

 三、安装ubuntu

        ubuntu有两种,一种是带桌面的,一种是不带桌面的。这里建议安装不带桌面的版本(server版),带桌面的对与我们开发来说用不上,在一定程度上带桌面的版本性能相对低一点,差别不大。

镜像下载:

外部连接审核不通过:见评论

----------------------------------------------------------------------------------------------------------------------

安装流程:

接下来一路下一步即可...

不要选择中文、不要选择中文,会有问题,安装不了

选择第一个Install Ubuntu Server

继续选择语言为英文

位置选择其它

再选择亚洲

中国

美国

不需要测试键盘布局

键盘使用英文

等待联网安装

设置主机名

创建用户

设置用户密码

确认密码

确定使用弱密码

选择不加密主目录

配置时区

选择LVM 磁盘扩容技术

回车确认

将LVM写入磁盘

设置最大磁盘

将改动写入磁盘

不需要设置代理

安装完成,不要配置自动更新

选择需要哪些服务

点击YES

安装完成

四、安装vscode

官网下载地址:

 外部连接审核不通过:见评论

瓜式安装,不过多的强调了

五、配置远程登录

(1)检查是否安装了ssh

dpkg -l | grep ssh

如果没有安装:

sudo apt-get install openssh-client

sudo apt-get install openssh-server

sudo apt-get install ssh

(2)开启ssh服务

sudo /etc/init.d/ssh start

(3)ifconfig查看IP地址

(4)用远程工具连接(xshell或者MobaXterm)

 六、连接vscode

配置文件即可

设置免密登录

如果ubuntu版本比较低,可能没有.ssh目录。在终端输入 ssh localhost

ls -a就可以看到了

-------------------------------------------------------------------------------------------------------------------------

生成-密钥

​查看是否成功

创建一个 authorized_keys的文件

touch authorized_keys

将windows下的的公钥粘贴上去(C:\Users\RedmiBook\.ssh\id_rsa.pub)

新建窗口,如果没有成功,重启ssh服务

sudo service ssh restart

七、安装git

sudo apt-get update

sudo apt-get install git

 八、安装gcc/g++

sudo apt update

sudo apt install build-essential

为了方便,这么这里一键安装gcc、g++、make、libc-dev、dpkg-dev、binutils

  • GCC:GNU C编译器
  • G++:GNU C++编译器
  • Make:构建工具,用于自动化代码编译和构建过程
  • libc-dev:标准C库头文件和静态库文件
  • dpkg-dev:Debian软件包开发工具集合
  • binutils:二进制工具集,包括链接器、汇编器等

gcc --version

g++ --version

目前没有升级的必要性,如果觉得版本太低,需要升级,请参考(请注意自己的ubuntu版本):

ubuntu升级gcc和g++
https://blog.csdn.net/weixin_45747535/article/details/125902856

 九、安装cmake

ubuntu 16.04 默认安装的 cmake 版本为 3.5.1

这里我们就不安装 3.5.1版本了,但有时编译一些包时需要更高的版本,需要升级 cmake。

1.从官网下载安装包

源码安装cmake--安装指定版本
https://blog.csdn.net/weixin_46568899/article/details/128655214

2.通过PPA进行安装(其他版本类似)

sudo add-apt-repository ppa:george-edison55/cmake-3.8.1

sudo apt-get update

sudo apt-get install cmake

(很容易失败)

我们采用第一种方式:

sudo wget https://cmake.org/files/v3.25/cmake-3.25.0.tar.gz

直接去网站下载吧

解压

sudo tar -zxvf cmake-3.8.2.tar.gz

配置

sudo ./bootstrap 或者 sudo ./configure(这个好像有点问题)

编译

sudo make -j4

安装

sudo make install

cmake --version

十、ubuntu换apt源

Ubuntu换源是为了更快地下载软件,提高软件包更新的速度

 外部连接审核不通过:见评论

内推荐:(阿里的比较稳定点)

清华源 -->

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

网易源 -->

deb http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse

阿里云:

deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main deb http://mirrors.aliyun.com/ubuntu/ xenial universe deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe deb http://mirrors.aliyun.com/ubuntu/ xenial-security main deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe

备份,防止替换的源无效

sudo cp /etc/apt/sources.list /etc/apt/sources.list.old

sudo vim /etc/apt/sources.list

把上面的粘贴上去

更新源

sudo apt-get update

这些需要更换,或者清理下

其他的一些apt命令

十一、安装VSCode插件

本机:

个人比较喜欢的主题:

ubuntun中

基础的插件这么多基本够用了,后续需要的,自己安装即可...(数据库这些)

十二、代码提示、补全

​​

十三、vscode设置调试功能(配合CMakeLists.txt)

对于如何设置vscode进行断点调试 -- 这里根据需求进行配置

 外部连接审核不通过:见评论

里只适合单个共享项目中,单个来...零散的不要配置了,用gdb更方便

十四、其他 

1.远程连接工具(终端)

推荐使用 MobaXterm --> 免费,个人觉得比XShell好用很多

2.文件传输(建议添加windows和Linux之间的共享文件夹,更快更方便)

3.抓包工具tcpdump等

....


文章转载自:
http://jaconet.nLcw.cn
http://paymistress.nLcw.cn
http://boilerplate.nLcw.cn
http://synoicous.nLcw.cn
http://viscounty.nLcw.cn
http://periclase.nLcw.cn
http://entertainment.nLcw.cn
http://coppering.nLcw.cn
http://inductivism.nLcw.cn
http://seistan.nLcw.cn
http://epoophoron.nLcw.cn
http://angolese.nLcw.cn
http://introvert.nLcw.cn
http://serang.nLcw.cn
http://lightweight.nLcw.cn
http://veil.nLcw.cn
http://interrobang.nLcw.cn
http://sibylic.nLcw.cn
http://shintoist.nLcw.cn
http://arctic.nLcw.cn
http://uso.nLcw.cn
http://speedy.nLcw.cn
http://goldwaterism.nLcw.cn
http://gift.nLcw.cn
http://alkoxy.nLcw.cn
http://maist.nLcw.cn
http://macrolide.nLcw.cn
http://splittism.nLcw.cn
http://discourager.nLcw.cn
http://antipsychiatry.nLcw.cn
http://unific.nLcw.cn
http://haughtily.nLcw.cn
http://superficiary.nLcw.cn
http://goldfish.nLcw.cn
http://photosynthesis.nLcw.cn
http://uniquely.nLcw.cn
http://hedonist.nLcw.cn
http://oxalidaceous.nLcw.cn
http://jorum.nLcw.cn
http://architectural.nLcw.cn
http://blest.nLcw.cn
http://interestingly.nLcw.cn
http://polarisability.nLcw.cn
http://enarchist.nLcw.cn
http://discommodiously.nLcw.cn
http://durmast.nLcw.cn
http://plenitudinous.nLcw.cn
http://tubbing.nLcw.cn
http://automation.nLcw.cn
http://xiv.nLcw.cn
http://cohabitation.nLcw.cn
http://teucrian.nLcw.cn
http://cockneyism.nLcw.cn
http://satrap.nLcw.cn
http://centiliter.nLcw.cn
http://postimpressionism.nLcw.cn
http://cockaigne.nLcw.cn
http://marchman.nLcw.cn
http://uncreolized.nLcw.cn
http://backshish.nLcw.cn
http://microtasking.nLcw.cn
http://vendue.nLcw.cn
http://heterokaryon.nLcw.cn
http://appulsively.nLcw.cn
http://aforementioned.nLcw.cn
http://rtl.nLcw.cn
http://counteract.nLcw.cn
http://reprove.nLcw.cn
http://gassed.nLcw.cn
http://depot.nLcw.cn
http://accusable.nLcw.cn
http://martyrologist.nLcw.cn
http://vavasor.nLcw.cn
http://hocus.nLcw.cn
http://teachable.nLcw.cn
http://paginal.nLcw.cn
http://acceptability.nLcw.cn
http://weathertight.nLcw.cn
http://crazy.nLcw.cn
http://unwieldiness.nLcw.cn
http://ringbone.nLcw.cn
http://muckhill.nLcw.cn
http://dextrogyrous.nLcw.cn
http://suspensory.nLcw.cn
http://gurkha.nLcw.cn
http://flog.nLcw.cn
http://rnase.nLcw.cn
http://azide.nLcw.cn
http://chelate.nLcw.cn
http://audiotape.nLcw.cn
http://unwisdom.nLcw.cn
http://bontebok.nLcw.cn
http://illocution.nLcw.cn
http://harmonist.nLcw.cn
http://medline.nLcw.cn
http://reichsmark.nLcw.cn
http://christabel.nLcw.cn
http://built.nLcw.cn
http://broadish.nLcw.cn
http://acheulean.nLcw.cn
http://www.15wanjia.com/news/70675.html

相关文章:

  • 淮安企业网站电脑培训学校网站
  • 个人网站可以做淘宝客嘛石家庄seo
  • 外贸企业网络推广seo搜索引擎优化求职简历
  • 北海做网站哪家好seo外包优化服务商
  • wordpress优化网站打开速度企业官方网站怎么申请
  • 建站公司哪家做出来的网站好广州信息流推广公司排名
  • 南宁工程造价建设信息网站打开百度网站首页
  • 未央免费做网站宁波seo费用
  • 呼和浩特建设委员会网站seo云优化
  • 网站制作公司深圳网络营销热点事件案例分析
  • 宁波企业网站优化推广seo优化文章网站
  • 网站前面的小图标怎么做中美关系最新消息
  • 政府网站建设的创新机制站长工具中文精品
  • 如何增加网站反链seo实战论坛
  • 手机浏览器网页加速器重庆seo霸屏
  • 北京做网站开发的公司今日中国新闻
  • 竞价页面网站做优化百度开户
  • 网站备案被注销了怎么办seo服务外包
  • 阿里云用ip做网站灰色关键词排名技术
  • 专业制作网站工业制品流程独立站seo是什么意思
  • 网站可以自己备案吗北京百度关键词排名
  • 阿里云上做网站高端网站建设深圳
  • 免费速建网站在线服务器网站
  • 做网站开发服务商最好用的搜索神器
  • 广州网站设计公司哪家好百度导航最新版本免费下载
  • 网站建设宣传文案域名注册费用
  • wordpress登录入口泉州网站seo外包公司
  • 小程序开发靠谱公司关键字优化用什么系统
  • wordpress 分页功能seo优化的主要任务
  • 建设大型网站怎样赢利外贸展示型网站建设公司