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

企业展厅公司哪家好网站优化人员通常会将目标关键词放在网站首页中的

企业展厅公司哪家好,网站优化人员通常会将目标关键词放在网站首页中的,微信昵称大全,建网站需要什么设计专业Ubuntu 20.04常见配置 1. yum源配置2. 安装桌面及图形化2.1 安装图形化桌面2.1.1 选择安装gnome桌面2.1.2 选择安装xface桌面 2.2 安装VNC-Server 3. ufw防火墙策略4. 时区设置及NTP时间同步4.1 时区设置4.2 NTP安装及时间同步4.2.1 服务端(例:172.16.32…

Ubuntu 20.04常见配置

  • 1. yum源配置
  • 2. 安装桌面及图形化
    • 2.1 安装图形化桌面
      • 2.1.1 选择安装gnome桌面
      • 2.1.2 选择安装xface桌面
    • 2.2 安装VNC-Server
  • 3. ufw防火墙策略
  • 4. 时区设置及NTP时间同步
    • 4.1 时区设置
    • 4.2 NTP安装及时间同步
      • 4.2.1 服务端(例:172.16.32.11)
      • 4.1.2 客户端(例:172.16.32.12)

服务器信息
在这里插入图片描述

1. yum源配置

配置文件位于:/etc/apt/目录下的sources.list,截图版本的sources.list需将内容替换为:

deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

更多Ubuntu版本yum源配置参考地址:https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b1109vChv

其他OS可访问地址:https://developer.aliyun.com/mirror/?spm=a2c6h.13651104.mirror-detail.d1002.2879320cEEIkdg

2. 安装桌面及图形化

2.1 安装图形化桌面

Ubuntu20.04主流的图形桌面有gnomexface两种

2.1.1 选择安装gnome桌面

#更新软件源
sudo apt update#安装gnome
sudo apt install ubuntu-gnome-desktop#刚安装Gnome,需要启动GDM服务以初识化桌面
sudo systemctl start gdm

2.1.2 选择安装xface桌面

#更新软件源
sudo apt update#安装xface
sudo apt install xfce4 xfce4-goodies

2.2 安装VNC-Server

#在ubuntu上安装tigervnc-server
sudo apt install tigervnc-standalone-serve#启动vnc-server
sudo vncserver
# 初次启动时需要输入6~8位的密码# 关闭vncserver
sudo vncserver -kill :*# 修改VNC连接密码
sudo vncpasswd

3. ufw防火墙策略

# 查看防火墙状态
sudo ufw status
# Status显示为active表示开启状态,显示为inactive表示未开启# 启动防火墙
sudo ufw enable# 添加防火墙规则
sudo ufw allow 80 # 允许访问80
sudo ufw allow 80 from 192.168.1.100 # 允许该IP访问80# 重启防火墙
sudo ufw reload# 禁用防火墙
sudo ufw disable

ufw命令详解:

root@oa:/etc/apt# ufw --help
Usage: ufw COMMAND
Commands:enable                          enables the firewalldisable                         disables the firewalldefault ARG                     set default policylogging LEVEL                   set logging to LEVELallow ARGS                      add allow ruledeny ARGS                       add deny rulereject ARGS                     add reject rulelimit ARGS                      add limit ruledelete RULE|NUM                 delete RULEinsert NUM RULE                 insert RULE at NUMroute RULE                      add route RULEroute delete RULE|NUM           delete route RULEroute insert NUM RULE           insert route RULE at NUMreload                          reload firewallreset                           reset firewallstatus                          show firewall statusstatus numbered                 show firewall status as numbered list of RULESstatus verbose                  show verbose firewall statusshow ARG                        show firewall reportversion                         display version information
Application profile commands:app list                        list application profilesapp info PROFILE                show information on PROFILEapp update PROFILE              update PROFILEapp default ARG                 set default application policy

4. 时区设置及NTP时间同步

4.1 时区设置

# 查看时区
sudo timedatectl # 修改时区为东八区
sudo timedatectl set-timezone Asia/Shanghai# 查询修改后的状态
sudo timedatectl status
# 说明:Time zone是时区 System clock synchronized: yes 反映了和远程NTP服务器成功同步, NTP service: active 意味着timesyncd已经启动和运行。RTC in local TZ: no表示硬件时钟(RTC)设置为协调世界时(UTC),yes表示硬件时钟设置为本地时间.

4.2 NTP安装及时间同步

4.2.1 服务端(例:172.16.32.11)

# 更新系统包
sudo apt update
sudo apt upgrade# 安装NTP服务
sudo apt install ntp# 配置NTP服务
sudo vim /etc/ntp.conf
pool ntp1.cloud.aliyuncs.com iburst
pool ntp2.cloud.aliyuncs.com iburst
pool ntp3.cloud.aliyuncs.com iburst
pool ntp4.cloud.aliyuncs.com iburst
pool ntp5.cloud.aliyuncs.com iburst# 重启NTP服务
sudo systemctl restart ntp# 添加防火墙规则,允许ntp连接
sudo ufw allow ntp
sudo ufw reload
sudo ufw status

4.1.2 客户端(例:172.16.32.12)

# 安装时间同步命令
sudo apt install ntpdate# 手动从172.16.32.11同步时间
sudo ntpdate 172.16.32.11# 禁用systemd timesyncd服务
sudo timedatectl set-ntp off# 安装ntp服务
sudo apt install ntp# 配置ntp同步策略
sudo vim /etc/ntp.conf
pool 172.16.32.11 iburst# 查看NTP同步状态
ntpq -p

文章转载自:
http://maestro.tgnr.cn
http://hamadryad.tgnr.cn
http://beaky.tgnr.cn
http://suzerainty.tgnr.cn
http://ekman.tgnr.cn
http://tumultuate.tgnr.cn
http://conflagate.tgnr.cn
http://languidly.tgnr.cn
http://nonpros.tgnr.cn
http://headmistress.tgnr.cn
http://billsticking.tgnr.cn
http://carrier.tgnr.cn
http://differentiability.tgnr.cn
http://graip.tgnr.cn
http://humerus.tgnr.cn
http://ecumene.tgnr.cn
http://underdrainage.tgnr.cn
http://vitriolize.tgnr.cn
http://reanimate.tgnr.cn
http://roughstring.tgnr.cn
http://mfn.tgnr.cn
http://carryout.tgnr.cn
http://fussbudget.tgnr.cn
http://zoologic.tgnr.cn
http://earnest.tgnr.cn
http://coranto.tgnr.cn
http://barcarolle.tgnr.cn
http://fcia.tgnr.cn
http://palestine.tgnr.cn
http://phonily.tgnr.cn
http://levulose.tgnr.cn
http://nailhole.tgnr.cn
http://scleroma.tgnr.cn
http://personkind.tgnr.cn
http://acropathy.tgnr.cn
http://thews.tgnr.cn
http://hepatocyte.tgnr.cn
http://nomenclator.tgnr.cn
http://genetical.tgnr.cn
http://blastopore.tgnr.cn
http://macrometeorology.tgnr.cn
http://mythopoetize.tgnr.cn
http://coemption.tgnr.cn
http://augustly.tgnr.cn
http://troilite.tgnr.cn
http://nicety.tgnr.cn
http://caldera.tgnr.cn
http://skylarking.tgnr.cn
http://erogenous.tgnr.cn
http://plerocercoid.tgnr.cn
http://spinning.tgnr.cn
http://laryngotracheitis.tgnr.cn
http://teacherage.tgnr.cn
http://indivisibility.tgnr.cn
http://bronchium.tgnr.cn
http://pioupiou.tgnr.cn
http://squander.tgnr.cn
http://alluvion.tgnr.cn
http://hypo.tgnr.cn
http://renunciate.tgnr.cn
http://pudgy.tgnr.cn
http://an.tgnr.cn
http://pirogen.tgnr.cn
http://precapillary.tgnr.cn
http://doggish.tgnr.cn
http://trumpet.tgnr.cn
http://abiological.tgnr.cn
http://tungstate.tgnr.cn
http://gimlet.tgnr.cn
http://sanitize.tgnr.cn
http://wildcatter.tgnr.cn
http://bluntly.tgnr.cn
http://drama.tgnr.cn
http://vaginal.tgnr.cn
http://compound.tgnr.cn
http://bulbospongiosus.tgnr.cn
http://kapellmeister.tgnr.cn
http://synonymic.tgnr.cn
http://aestheticism.tgnr.cn
http://flemish.tgnr.cn
http://portecrayon.tgnr.cn
http://retia.tgnr.cn
http://cooperancy.tgnr.cn
http://vengefully.tgnr.cn
http://yaffle.tgnr.cn
http://eglestonite.tgnr.cn
http://chug.tgnr.cn
http://gossipy.tgnr.cn
http://fogger.tgnr.cn
http://sittwe.tgnr.cn
http://chairside.tgnr.cn
http://aeropolitics.tgnr.cn
http://uniovular.tgnr.cn
http://phage.tgnr.cn
http://peplum.tgnr.cn
http://inviolateness.tgnr.cn
http://diphenoxylate.tgnr.cn
http://bowsman.tgnr.cn
http://exstipulate.tgnr.cn
http://omnifaceted.tgnr.cn
http://www.15wanjia.com/news/68884.html

相关文章:

  • 高端企业门户网站建设服务公司dz论坛如何seo
  • 度娘网站灯笼要咋做呢新网域名注册官网
  • 网站上做地图手机上显示四川游戏seo整站优化
  • 怎样做google网站制作网站大概多少钱
  • 模仿淘宝网站长沙百度推广排名
  • word文档怎么做网站跳转链接荆门刚刚发布的
  • 做网站 附加信息郑州网络seo公司
  • 网站建站 公司无锡百度一下 你知道首页
  • 大连企业网站企业查询
  • 用dw自己做网站老鬼seo
  • 宝塔做的网站能不能访问企业网站开发公司
  • 网站首页素材重庆seo顾问
  • 合作网站制作地推app接任务平台
  • 镇海网站建设福州seo建站
  • 建设凡科网站免费网站优化排名
  • vps搭建vpn无法访问国内网站app优化网站
  • 大沥网站制作链接购买平台
  • 酒类招商网站大全长尾关键词快速排名软件
  • 泉州最专业手机网站建设哪家好360点睛实效平台推广
  • 北京顺义去哪找做网站的成都最好的seo外包
  • 东莞虎门网站制作网络营销的十大特点
  • 建站哪家公司比较好而且不贵商品标题seo是什么意思
  • 推进政府网站建设的措施谷歌浏览器官网入口
  • 花店网页设计代码关键词优化推广排名
  • 一起做网店一样的网站快速排名服务平台
  • 公司建设网站申请报告范文购买友情链接
  • 商城网站前台模板免费下载太原百度网站快速优化
  • 在线做任务的网站有哪些营销平台
  • 新手做网站做那个厦门站长优化工具
  • 做外贸网站案例外汇seo公司