Linux_Best Practice_04_Ubuntu 18.04

1. network setup

  • open up "network"  -> manually set IP.
  • To check -> ip address

2. proxy setup

  • open up "network"
  • set to lasproxy.is.ad.igt.com 9000

3. Disply -> Resolution

4. responsory setup

Creating  an Apt Proxy Conf File

Apt loads all configuration files under /etc/apt/apt.conf.d. We can create a configuration specifically for our proxy there, keeping it separate from all other configurations.

  1. Create a new configuration file named proxy.conf.

    sudo touch /etc/apt/apt.conf.d/proxy.conf
  2. Open the proxy.conf file in a text editor.
    sudo vi /etc/apt/apt.conf.d/proxy.conf
  3. Add the following line to set your HTTP proxy.
    Acquire::http::Proxy "http://user:password@proxy.server:port/";
  4. Add the following line to set your HTTPS proxy.
    Acquire::https::Proxy "http://user:password@proxy.server:port/";
  5. Save your changes and exit the text editor.

Your proxy settings will be applied the next time your run Apt.

do apt upgrade/update to solve not found issue. 

原文地址:https://www.cnblogs.com/tlfox2006/p/10433435.html

时间: 2024-08-01 21:26:40

Linux_Best Practice_04_Ubuntu 18.04的相关文章

Ubuntu 18.04修改ip步骤

Ubuntu 18.04修改ip步骤: 注:配置/etc/network/interfaces已无用 vi /etc/netplan/50-cloud-init.yaml network:ethernets:eno1:addresses: [10.0.0.2/24]dhcp4: nogateway4: 10.0.0.1 :wq 注:1.":"后要有空格2.Ubuntu 18.04的网卡名已改为eno1.eno2.... 使配置生效(不需重启服务器): netplan apply 原文地

Ubuntu 18.04 记录

登录后死机,关机时死机的解决方法 更新内核并安装 Nvidia 显卡驱动可解决. 在内核更新为 4.15.18,Nvidia 显卡驱动为 390 时,问题解决. 使用 LiveCD 启动,然后chroot到安装的系统的根分区.然后 sudo systemctl set-default multi-user.target 使系统启动后默认进入字符界面,从而避免登录后进入图形界面时死机. 进入字符界面登录后按照以下方式更新内核并安装 Nvidia 显卡驱动. 更新内核 内核下载地址 uname -s

Set DSL in Ubuntu 18.04

Reference Solutions: Ctrl+Atl+t Type nmcli con edit type pppoe con-name ANY_NAME_OF_DSL_YOU_LIKE, which will open an interactive prompt. Type set pppoe.username YOUR_DSL_ACCOUNT, and so as the password. Type save, enter. Type quit, enter. Finally, yo

Ubuntu 18.04桌面版安装

安装方式:usb启动盘安装. 准备工具:a.启动盘制作工具:rufus  b.ubuntu 18.04 LTS镜像(如果下载慢,可以到国内找资源) 1.制作usb启动盘,直接运行rufus工具(绿色免安装),选择镜像点击开始.根据提示需要下载相关组件.根据提示即可完成.[本人在下载组件时因国外网络不稳定无法下载.可以通过rufus日志,找到需要的组件url自行下载即可使用] 2. 原文地址:https://www.cnblogs.com/yin5th/p/9049009.html

Ubuntu 18.04上CUDA 9.0、cuDNN7.0及Tensorflow 1.8的安装

配置 笔者使用Dell Inspiron 7559笔记本电脑,显卡为NVIDIA GTX 960M. 目标 由于本机显卡仅有nvidia-384驱动包能够良好支持(nvidia-387.nvidia-390包均在本机出现了系统无法登陆等异常),而CUDA 9.1需要驱动至少为nvidia-387,故选择安装CUDA 9.0及cuDNN7.0. TelsorFlow 1.8完全支持CUDA 9.0因此可以使用最新版. 安装显卡驱动 使用apt安装nvidia-384驱动包(实际安装驱动为390):

Ubuntu 18.04 版本中安装mysql 8的方法

安装说明:用的是Ubuntu的麒麟版本18.04 版本最新的. 数据库:是MySQL Community Server 8.0.11 为什么不安装5.7 版本呢? 因为5.7版本的数据库,支持的最高版本是Ubuntu17 所以安装后你就会发现很多办法都废了.是的,我就是这么折腾了一下午.所以千万不要直接使用 这是一个坑. sudo apt-get install mysql-sever 直接在Ubuntu18.04安装------绝对不要这样一定,不要这样. 然后我去网上找了很多信息都没有找到.

Ubuntu 18.04 编译 ijkplayer

Ubuntu 18.04 编译 ijkplayer 1. 配置安装源 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu 2. 配置好安装源后,安装一些组件 $ sudo apt update $ sudo apt install vim openssh-server git curl wget tar unzip $ sudo apt install build-essential openjdk-8-jdk yasm python 3. 下载sd

关于 Ubuntu 18.04 的网络(dchp/dns)

[概述] Ubuntu Server 18.04 中用 netplan 取代了 ifupdown,配置文件在 /etc/netplan/ 目录下,文件格式为 yaml,使配置文件生效的命令为 sudo netplan apply. [典型配置] network:     ethernets: # 静态IP         enp2s0:             addresses:             - 192.168.0.145/24             gateway4: 192.

Ubuntu 18.04 下 emscripten SDK 的安装

Ubuntu 18.04 下 emscripten SDK 的安装 http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html#installation-instructions 需要环境 清华安装源 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu $ sudo apt update $ sudo apt install vim openssh-serv