【ubuntu配置docker的阿里云镜像加速器】教程文章相关的互联网学习教程文章

ubuntu下postgreSQL安装配置

一、安装并配置,并设置远程登陆的用户名和密码1、安装postgreSQLsudo apt-get updatesudo apt-get install postgresql-9.4在Ubuntu下安装Postgresql后,会自动注册为服务,并随操作系统自动启动。在Ubuntu下安装Postgresql后,会自动添加一个名为postgres的操作系统用户,密码是随机的。并且会自动生成一个名字为postgres的数据库,用户名也为postgres,密码也是随机的。2、修改postgres数据库用户的密码为123456打开客户端工具(...

lua redis接口 (在ubuntu16.04 环境下配置lua-redis开发环境)【代码】

目前成功的lua版本是5.1, 根据网络上的资料显示 lua5.1能够支持 lua-socket安装lua及相关软件:#安装lua5.1sudo apt install lua5.1#安装lua-socketxiangg sudo apt install lua-socket sudo apt install lua-socket-dev#安装lua-redis相关 sudo apt install lua-redis sudo apt install lua-redis-dev安装redis及相关软件:#安装Redis服务 sudo apt install redis-server#安装redis客户端及工具 sudo apt install redis-tool测试...

Ubuntu 下 rabbitmq集群配置

1,执行在host文件中配置主名字 192.168.1.21 <span style="font-family: Arial, Helvetica, sans-serif;">platform-api1</span>192.168.1.22 <span style="font-family: Arial, Helvetica, sans-serif;">platform-api2</span> 2,分别启动21,22 rabbitmq服务3,,将集群的cooke设置一直,在21上执行下面的命令,将内容copy到22上sudo vi /var/lib/rabbitmq/.erlang.cookie4,执行命令rabbitmqctl join_cluster rabbit@platf...

Ubuntu16.04下配置pip国内镜像源加速安装【转】

本文转载自:https://blog.csdn.net/yucicheung/article/details/79095742问题描述基于国内网速的问题,我们直接pip安装包通常速度非常慢,而且经常会出现装到一半失败了的问题,既然这样,我们就要充分利用国内镜像的力量,节省时间,明显提高pip安装的效率.以下是我的操作分享,一共分为永久置换和暂时置换两种方法.国内镜像源列表豆瓣(douban) http://pypi.douban.com/simple/ (推荐) 清华大学 https://pypi.tuna.tsinghua.edu.cn/simp...

64位ubuntu下用code::blocks IDE配置opengl开发环境【代码】【图】

http://jingyan.baidu.com/article/c74d60007d104f0f6b595d6d.html样例程序:#include <GL/glut.h>#include <stdlib.h>void init();void display();int main(int argc, char* argv[]){glutInit(&argc, argv);glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE);glutInitWindowPosition(0, 0);glutInitWindowSize(300, 300);glutCreateWindow("OpenGL 3D View");init();glutDisplayFunc(display);glutMainLoop();return0; }void init() {...

ubuntu之jupyter notebook配置【代码】【图】

ubuntu之jupyter notebook配置安装jupyter:前提:安装pippip install jupyter jupyter notebook 配置:生成配置文件:jupyter notebook --generate-config 创建密码:ipythonIn [1]: from notebook.auth import passwd In [2]: passwd() Enter password: ****** Verify password: ****** Out [2]: ‘sha1:...‘ 保存out后面的密钥;修改配置文件:vim ~/.jupyter/jupyter_notebook_config.py 在该文件中做如下修改或直接在文件尾端...

Ubuntu下Mongodb的配置和使用【代码】

今天实验了mongodb在unbuntu下的使用//首先安装mongodb sudo apt-get install mongodb-server sudo apt-get install mongodb-client搭建mongodb的简单服务新建一个文件夹mongod_simple 中包含以下四个文件binconf datalog//在文件conf 文件夹下新建一个mongod.conf 文件 port = 12345 //端口号 depath = data //数据存贮的目录 logpath = log/mongod.log //日志文件的路径 需要指明实际的文件 fork =true ...

Ubuntu配置vim支持Python编程

如未安装vim,使用下面命令安装:sudo apt-get install vim在用户目录下创建.vim目录,其下创建bundle目录:mkdir .vim\bundle安装Bundle/Vundle:git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle创建或编辑用户目录下的.vimrc文件,添加如下内容:set nocompatible set rtp+=~/.vim/bundle/vundle/ call vundle#rc()" let Vundle manage Vundle " required! Bundle 'gmarik/vundle'" The bundles you insta...

Ubuntu 服务器上面--安装和配置mysql 【转】【图】

更新源列表打开"终端窗口",输入"sudo apt-get update"-->回车-->"输入root用户的密码"-->回车,就可以了。如果不运行该命令,直接安装mysql,会出现"有几个软件包无法下载,您可以运行apt-get update------"的错误提示,导致无法安装。安装mysql打开"终端窗口",输入"sudo apt-get install mysql-server mysql-client"-->回车-->输入"y"-->回车-->在"软件包设置对话框"中输入mysql中"root"用户的密码-->回车-->再输一次密码-->回车,...

Vmvare + Ubuntu 16.04环境搭建 + 相关软件安装配置笔记【深度学习】【图】

前言由于学习与工作的需要,加上之前配置好的vmmachines都损坏了,我就重新弄一个ubuntu虚拟机,配置一下环境,给自己留个记录1、文件 原文:https://www.cnblogs.com/jerrybaby/p/8425805.html

puppet 详细使用(2)module模块配置ubuntu local repository【代码】

1).get puppet module to install apt-cacher-ngpuppet module install markhellewell-aptcacherngthen,edit nodes.pp and put the ‘aptcacherng’ class into the repo nodeclass {‘aptcacherng‘:}2).apply to all clientscreate a manifest file including these codes as below on puppet master which will share the configuration on all others machines,then these machines will use the local repository as proxy to...

64位ubuntu14.04配置adb后提示没有那个文件或目录

1.配置完adb环境变量后在终端输入adb:ameyume@ameyume-HP-450-Notebook-PC:~$ adb/home/ameyume/adt-bundle-linux-x86_64-20140702/sdk/platform-tools/adb: 没有那个文件或目录原因:由于是64位的linux系统,而Android SDK只有32位的,需要安装一些支持包才能使用。安装:ameyume@ameyume-HP-450-Notebook-PC:~$ sudo apt-get install ia32-libs[sudo] password for ameyume: 正在读取软件包列表... 完成正在分析软件包的依赖关...

ubuntu系统安装和配置【代码】【图】

1.分区信息1.1 /boot分区 这个分区包括了操作系统的内核和在启动系统过程中所要用到的文件。假设有了一个单独的/boot启动分区,即使基本的根分区出现了问题,计算机依旧可以启动。这个分区的大小不用太大1G足矣。1.2 /home分区(推荐) 这个分区主要放用户自己的私人数据。假设有了一个单独的/home分区,当系统出现故障或者须要又一次安装系统的情况仅仅须要格式化根分区。从而保留/home内数据。1.3 /swap交换分区(推荐...

ubuntu14.04配置静态IP地址

1. 找到文件并作如下修改:vim /etc/network/interfaces修改如下部分:# interfaces(5) file used by ifup(8) and ifdown(8)auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 192.168.108.50gateway 192.168.108.2 #netstat -r 命令或者 nm-tool 查看现有的netmask 255.255.255.0#network 192.168.0.0broadcast 192.168.108.255 #广播地址,可以通过ifconfig查看现有的。配置完成之后重启网络:sudo /e...

Ubuntu 12.04 DNS服务器的配置方法【代码】【图】

Bind是一款开放源码的DNS服务器软件,由美国加州大学Berkeley分校开发和维护的,全名为Berkeley Internet Name Domain它是目前世界上使用最为广泛的DNS服务器软件,支持各种unix平台和windows平台。一、安装bind1、检查是否已安装bind# dpkg -l |grep bind2、安装bind9# apt-get install bind9再次检查,现在已经安装成功了。root@nfsserver:~# dpkg -l |grep bind ii bind9 1:9.8.1.dfsg.P1-4ubuntu0...