Ubuntu

Y7000 (1)安装ubuntu1604遇到的问题

久未见 提交于 2020-12-27 00:58:26
1安装系统 分区的时候 /boot 不再是引导分区 换成 “为系统bois保留的分区” 这个分区取代 /boot 2第一次进系统没有图形界面 在刚开机 ubuntu系统时 按e 在splash后面空格再加nouveau.modeset = 0 或者 nomodeset 3WIFI失效 即wifi模块工作正常,然而每次重启 ubuntu系统 都要重新进行模块移出,故可将该命令设置为开机自启动,方法是在/etc/rc.local文件中添加命令。 su(root一下,提供修改文件权限) gedit /etc/rc.local 打开 #!/bin/sh -e #rc.local #This script is executed at the end of each multiuser runlevel. #Make sure that the script will “exit 0” on success or any other #value on error. #In order to enable or disable this script just change the execution #bits. #By default this script does nothing. #因为使用的是非管理员登录,故在执行sudo命令时要输入密码,方可自动化执行,

联想Y7000安装Ubuntu16.04/Win10双系统,wifi问题,显卡驱动和CUDA10安装

拈花ヽ惹草 提交于 2020-12-27 00:58:14
https://blog.csdn.net/la9881275/article/details/86720752 Ubuntu16.04系统安装 拿到Ubuntu镜像制作装机优盘,这里就不写了。 我的优盘之前已经做成了Ubuntu16.04启动盘,装机一切顺利。 遇到的第一个问题是wifi无法启用,这个问题原本根据其他博客介绍通过禁用联想的ideapad驱动项可以解决,但是Ubuntu16.04这个版本没能给Y7000的无线网卡RTK8822BE安装合适的驱动,因此尝试自己安装,试过集中方案,均告失败,看到有个博客说用Ubuntu16.04.5这个版本可以一切OK,所以考虑换版本 但安装该版本后,wifi虽然能用,但是显卡存在问题,开机进入不了桌面,只显示背景,按ctrl+alt+f1和鼠标操作都没有反应,经过尝试可以通过在开机grub界面,按e, 在“quiet splash”后添加“nomodeset”,之后F10,重新启动正常进入Ubuntu系统。 这里这个参数好像是让系统使用集显。但要注意后面这个参数还需要修改。 让这个设置一直有效的方法是 sudo gedit /etc/default/grub 然后在里面进行修改,之后保存关闭文件,采用下面指令使其生效: sudo update-grub 此外,我还试过Ubuntu16.04其他版本,都有问题。 注意:经过尝试

Y7000 安装ubuntu16.04.6 的tips :禁用nouveau 、Wifi 问题 、nvidia 驱动安装

做~自己de王妃 提交于 2020-12-27 00:23:55
由于最近要跑DeepLearning 所以在自己的Y7000上装一个Ubuntu ,自己碰了好多壁 写下来以防止自己忘掉以便后续再用! 配置:i7-8750H +GeForce GTX 1050Ti 4G 128SSD+1T HDD 选择ubuntu16.04.6 在windows HDD下分出了200G 16.04.6 在选择安装过程中可以直接选择安装 不用自己分区 如果自己分区 选择:   / 192G   swap 8G   不能有/boot分区 然后装好ubuntu后在grub界面 直接按键盘的e,在quiet splash 后加上 nouveau.modeset=0 后按F10 即可进入ubuntu系统 tips1:这里有的博客写到 让永久设置,这里十分不建议 ,以为后面你要装NVIDIA的显卡驱动还要改回来,中间会造成登录界面无线循环登陆而无法进入的问题。 ***禁用nouveau (自带的系统驱动)   在终端下输入: sudo gedit /etc/modprobe.d/blacklist.conf   输入密码后在最后一行加上 blacklist nouveau 。这里是将Ubuntu自带的显卡驱动加入黑名单。   在终端输入: sudo update-initramfs -u # 更新一下内核: 查看是否禁用成功    lsmod | grep nouveau

Docker容器使用问题:Failed to get D-Bus connection

ぐ巨炮叔叔 提交于 2020-12-26 15:51:20
场景 Docker容器安装CentOS Linux release 7.9.2009 (AltArch),运行命令,提示出错 [root@atlas800 init.d]# service mysql start Failed to get D-Bus connection: Operation not permitted [root@atlas800 init.d]# firewall-cmd --zone=public --list-ports Error: DBUS_ERROR: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory 网上说明 原因:在centos7的docker容器里面不能用service启动服务。报这个错的原因是dbus-daemon没能启动。systemctl并不是不能使用。将CMD或者entrypoint设置为/usr/sbin/init即可。docker容器会自动将dbus等服务启动起来。 Docker的设计理念是在容器里面不运行后台服务,容器本身就是宿主机上的一个独立的主进程,也可以间接的理解为就是容器里运行服务的应用进程。一个容器的生命周期是围绕这个主进程存在的,所以正确的使用容器方法是将里面的服务运行在前台。再说到systemd

麒麟信安面向场景化创新,赋能openEuler商业验证

会有一股神秘感。 提交于 2020-12-26 14:59:13
12月24日,由中国电子技术标准化研究院、中国软件行业协会、绿色计算产业联盟主办,华为、飞腾、麒麟信安等操作系统厂商协办的操作系统产业峰会在北京成功举行。湖南麒麟信安科技股份有限公司是openEuler社区理事单位之一,积极参与openEuler社区建设,植根操作系统技术,依托多年的技术优势和创新实践,凝聚力量、挖掘场景,携手openEuler赋能关键行业应用,共同构建开放、多元和包容的软件生态体系。 麒麟信安总裁刘文清参与openEuler社区理事会成立 会议同期,麒麟信安作为华为重点邀请的四家openEuler商业发行版企业代表,操作系统产业峰会麒麟信安专场介绍了基于openEuler的商业版本发布、应用验证以及面向云计算模式下的技术创新成果,受到各界关注。 操作系统产业峰会麒麟信安专场副总裁任启致欢迎辞 麒麟信安起步于湖南麒麟操作系统技术基础,聚焦电力能源等关键领域,专注服务器操作系统的安全可信、稳定可靠、实时高效等行业属性的功能演进,并紧跟云计算技术趋势,开展操作系统虚拟化技术研究。麒麟信安服务器操作系统实现了实际部署量国内领先,麒麟信安“一云多芯”信创云桌面解决方案对国内CPU的支持和实际部署做到了国内领先,对解决Windows应用暂时迁移不到国产操作系统上的刚需,对解决系统“跨域不跨级”的信息交换及安全防护起到有效支撑,深受用户好评。 此次盛会

Cannot install python3-pip on kali linux [closed]

Deadly 提交于 2020-12-26 05:15:23
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 months ago . Improve this question There is an error : it says there is no install candidate for python3-pip 回答1: First you should check if pip3 is installed on your system . To do so run the following : pip3 --version if it's already installed you should get something like : pip 18.1 from /usr

Setting up VTK, with python3.8 and Ubuntu 20.04

折月煮酒 提交于 2020-12-26 04:02:48
问题 I recently updated my system to Ubunutu 20.04, and my python is now 3.8. Since then all my import vtk lines don't work, ModuleNotFoundError: No module named 'vtk' I have tried apt-get python-vtk , pip3 install vtk and pretty much all the standard terminal install commands. Without fail they all are unable to locate the package. I have been searching for ways to sort this out all over the net, but without success. I am familiar with building Kitware (Cmake and Paraivew) stuff from source so I

Setting up VTK, with python3.8 and Ubuntu 20.04

喜你入骨 提交于 2020-12-26 04:02:05
问题 I recently updated my system to Ubunutu 20.04, and my python is now 3.8. Since then all my import vtk lines don't work, ModuleNotFoundError: No module named 'vtk' I have tried apt-get python-vtk , pip3 install vtk and pretty much all the standard terminal install commands. Without fail they all are unable to locate the package. I have been searching for ways to sort this out all over the net, but without success. I am familiar with building Kitware (Cmake and Paraivew) stuff from source so I

Setting up VTK, with python3.8 and Ubuntu 20.04

扶醉桌前 提交于 2020-12-26 04:01:02
问题 I recently updated my system to Ubunutu 20.04, and my python is now 3.8. Since then all my import vtk lines don't work, ModuleNotFoundError: No module named 'vtk' I have tried apt-get python-vtk , pip3 install vtk and pretty much all the standard terminal install commands. Without fail they all are unable to locate the package. I have been searching for ways to sort this out all over the net, but without success. I am familiar with building Kitware (Cmake and Paraivew) stuff from source so I

centos7 搭建openvpn服务器

泪湿孤枕 提交于 2020-12-25 18:16:38
Introduction    OpenVPN是一个开源代码的VPN应用程序,可让您在公共互联网上安全地创建和加入专用网络。相比pptp,openvpn更稳定、安全。   本篇博客主要介绍下面两点:   1. Centos 7下安装与配置OpenVPN;   2. 客户端连接OpenVPN服务器(window 、Ubuntu、 Ios、 Android) Prerequisites    1. 公网服务器IP或者国外VPS及root权限;   2. 由于OpenVPN在默认的CentOS软件库中不可用,需要安装EPEL;   yum install epel-release OpenVPN Server Install    1. 安装OpenVPN   yum install openvpn easy-rsa -y   2. 配置OpenVPN   OpenVPN在其文档目录中有示例配置文件,拷贝该示例配置文件到配置目录   cp /usr/share/doc/openvpn-*/sample/sample-config-files/server.conf /etc/openvpn   修改该示例配置文件。   vi /etc/openvpn/server.conf  稍后我们生成密钥时,Easy RSA的默认Diffie- Hellman加密长度将为2048字节