【Ubuntu】Ubunut上搭建本地源,做离线安装

Ubuntu搭建本地apt源 Ubuntu 搭建本地apt镜像源 阅读详情

一、实验背景

Ubuntu作为最优秀的Linux发行版之一,是初学者入门的不二选择,但Linux有个最大的问题,就是离了网络就废了。

在Windows系统中,安装软件十分方便,下载安装程序,直接setup就可以了。

其实Linux安装软件也非常方便,前提是在联网的情况下,但要是离线安装,就无法享用apt的优势了,而直接使用dpkg安装,各种软件的依赖关系绝对让你头疼。

在某些对安全要求比较严的地方,是没有上网环境的,如果我们要在不能联网的Ubuntu上安装特定的软件包(比如nginx),怎么办?

类比CentOS,聪明如果你,一定想到了将指定的软件包及其依赖先在有网的机器上下载下来,然后拷贝到不能联网的机器,搭建本地仓库(源),执行安装。

那么问题来了:

1. 怎么在有网的机器上将一个特定软件包及其依赖一次性下载下来?

2. 怎么在不能联网的机器,搭建本地仓库(源)?

 

二、实验环境

操作系统: Ubuntu16.04 

serverA   192.168.1.101    能联网

serverB  192.168.1.102    不能联网

 

三、在serverA上制作nginx离线安装包

 

1. 添加nginx官方仓库

 

Official Debian/Ubuntu packages

https://www.nginx.com/resources/wiki/start/topics/tutorials/install

 

#  vim  /etc/apt/sources.list.d/nginx.list

##############################################

deb http://nginx.org/packages/ubuntu/ xenial nginx

deb-src http://nginx.org/packages/ubuntu/ xenial nginx

##############################################

 

# apt-get update

# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  ABF5BD827BD9BF62

 

添加仓库(源)信任的另一种方式

 

#  vim  /etc/apt/sources.list.d/nginx.list

##########################################################

deb       [trusted=yes]      http://nginx.org/packages/ubuntu/   xenial nginx

deb-src  [trusted=yes]     http://nginx.org/packages/ubuntu/   xenial nginx

###########################################################

# apt-get update

列出添加的nginx源中软件包

 

#  ll /var/lib/apt/lists/*nginx*

#  grep -E "Package:|Version:" Package /var/lib/apt/lists/nginx.org_packages_ubuntu_dists_xenial_nginx_binary-amd64_Packages

# grep  -E "Package:|Version:" Package  /var/lib/apt/lists/nginx.org_packages_ubuntu_dists_xenial_nginx_binary-amd64_Packages | awk '{print $2}'

 

# apt-cache madison nginx

# apt-cache policy nginx

 

2. 下载nginx主包及其依赖

 

# mkdir -p /root/nginxDeps

# cd   /root/ngixDeps

# apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances nginx=1.16.0-1~xenial | grep -v i386| grep "^\w" | sort -u

#  apt-get download  $(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances nginx=1.16.0-1~xenial | grep -v i386| grep "^\w" | sort -u)

 

# dpkg-scanpackages . | gzip -9c > Packages.gz

 

 

3.将/root/nginxDeps目录打包,拷贝到serverB离线机器

#  tar  -zcf   nginxDeps.tar.gz     nginxDeps

 

 

四、在serverB利用离线安装包搭建本地源

 

# tar  -zxf    nginxDeps.tar.gz  -C  /tmp

注意:不能解压在/root 目录下,否则会报没有读取权限!

 

# cp /etc/apt/sources.list    /etc/apt/sources.list.bak

# echo  >  /etc/apt/sources.list 

#  vi   /etc/apt/sources.list  

#########################################

deb [trusted=yes] file:///tmp/nginxDeps/    ./

#########################################

 

# apt-get clean all

# apt-get update

 

# apt -y install nginx

 

 

 

还原仓库文件

#   cp  /etc/apt/sources.list.bak   /etc/apt/sources.list

#  rm  -rf  /tmp/nginxDeps

 

如上,我们实现了nginx在Ubuntu上的离线安装,其他软件的安装方法类似,触类旁通,举一反三。

 

六、参考

 

Get Docker CE for Ubuntu

https://docs.docker.com/install/linux/docker-ce/ubuntu

 

How To Build Local APT Repositories?

https://www.centos.bz/2017/07/apt-mirror-deploy-ubuntu-local-repositry

https://odzangba.wordpress.com/2006/10/13/how-to-build-local-apt-repositories

 

How To Install Softwares Offline In Ubuntu 16.04

https://www.ostechnix.com/install-softwares-offline-ubuntu-16-04

https://www.jb51.net/article/99570.htm

 

Is there an apt command to download a deb file from the repositories to the current directory?

https://askubuntu.com/questions/30482/is-there-an-apt-command-to-download-a-deb-file-from-the-repositories-to-the-curr

 

How to list/download the recursive dependencies of a debian package?

https://stackoverflow.com/questions/22008193/how-to-list-download-the-recursive-dependencies-of-a-debian-package

 

How to download all dependencies and packages to directory?

https://stackoverflow.com/questions/13756800/how-to-download-all-dependencies-and-packages-to-directory

 

How To Create A Local Debian/Ubuntu Mirror With apt-mirror?

https://www.howtoforge.com/local_debian_ubuntu_mirror

 

How do I download a package from apt-get without installing it?

https://stackoverflow.com/questions/4419268/how-do-i-download-a-package-from-apt-get-without-installing-it

 

How to Force update from unsigned repository Ubuntu 16.04 ?

https://askubuntu.com/questions/732985/force-update-from-unsigned-repository-ubuntu-16-04

 

How to download .deb package and all dependencies?

https://superuser.com/questions/876727/how-to-download-deb-package-and-all-dependencies

 

Ubuntu 16.04: Download deb package and all package dependencies

https://www.hiroom2.com/2016/08/10/ubuntu-16-04-download-deb-package-and-all-package-dependencies

 

How to list all packages from a repository in ubuntu / debian?

https://serverfault.com/questions/252333/list-all-packages-from-a-repository-in-ubuntu-debian

https://www.linuxuprising.com/2018/11/how-to-list-all-packages-in-repository.html

https://askubuntu.com/questions/220478/how-to-get-list-of-installable-packages-from-repositories

 

THE DEB AND DEB-SRC TYPES: GENERAL FORMAT

https://manpages.debian.org/testing/apt/sources.list.5.en.html

Ubuntu 20.04本地源使用(用apt-get 安装本地包) LINUX本地源的使用——apt-get安装本地包 阅读详情

相关推荐

Ubuntu离线安装软件的方法

ubuntu apt-get方法安装软件都是依赖网络的,而自己下载相应的软件包又可能存在依赖的问题,用这种方法可以在本地建立源,这样不用上网也可以采用apt-get方法安装软件又不用考虑依赖关系的问题

【Ubuntu】Ubuntu上搭建本地源,做离线安装

一、实验背景 Ubuntu作为最优秀的Linux发行版之一,是初学者入门的不二选择,但Linux有个最大的问题,就是离了网络就废了。 在Windows系统中,安装软件十分方便,下载安装程序,直接setup就可以了。 其实Linux安装软件也非常方便,前提是在联网的情况下,但要是离线安装,就无法享用apt的优势了,而直接使用dpkg安装,各种软件的依赖关系绝对让你头疼。 在某些对安全要求比较...

michaelwoshi的博客 2万+

ROS TF坐标转换实战:从零搭建机器人坐标系(附常见问题排查)

本文提供了一份ROS TF坐标转换的实战指南,详细讲解了如何从零为机器人搭建完整的坐标系,并深入解析了TF的原理。内容涵盖静态与动态坐标变换的发布、URDF模型使用、以及Rviz和rqt_tf_tree等可视化调试工具。文章还附带了常见问题排查表,帮助开发者快速定位并解决TF树断裂、数据错位等典型问题。

weixin_29268385的博客 208

Ubuntu系统离线安装资源包

Ubuntu系统离线安装资源包

qq_45699784的博客 1万+

ST7789P3初始化配置

【代码】ST7789P3初始化配置。

zqq_1314的博客 4161

华为OD新系统机试真题 - 操作历史管理器的撤销/重做能力

华为OD机试新系统真题【操作历史管理器的撤销/重做能力】,提供C语言、Java、C++、Python、Go、JavaScript源码实现,并提供完整思路讲解,以及在线OJ模拟做题。华为OD机试真题【操作历史管理器的撤销/重做能力】

qq_45776114的博客 872

ubunut离线redis配置_Ubuntu16.04离线安装redis(单机版)

本教程适用于linux系统无法联网的情况,并且是在root用户下进行安装配置的软件配置Ubuntu版本:16.04Redis版本:4.0.2安装教程判断linux系统中是否有gcc环境在命令行中输入gcc --versiong++ --version若出现以下的提示,则表示linux系统暂未有gcc环境The program 'gcc' is currently not installed. Yo...

weixin_39949776的博客 1375

基于大模型与知识图谱的对话引导意图澄清系统技术解析

本文提出了一种基于知识图谱与大语言模型的意图澄清系统,旨在解决传统RAG模型在跨文档推理和主动澄清方面的不足。系统通过知识图谱驱动的多跳推理机制和链式思维引导的对话流程,实现了动态信息补全和意图澄清。核心创新包括:1)知识图谱构建与节点选择算法;2)标签探索策略与原子事实提取方法;3)主动澄清引擎的工作流程。实验表明,该系统能有效提升复杂查询的准确率,在医疗、金融等领域实现精准交互。关键代码展示了节点选择、标签匹配和事实提取等核心组件的实现细节。

420

ubunut离线redis配置_Ubuntu下 JDK、tomcat、redis离线安装

前言运行环境:Ubuntu14 server 64位准备离线安装包:jdk7u79linuxx64.tar.gz、apache-tomcat-7.0.63.tar.gz、redis-3.2.12.tar.gzJdk安装1、上传jdk7u79linuxx64.tar.gz包到/usr/local/installPackage(installPackage是自定义目录,可随意上传到一个目录下)2、...

weixin_39934063的博客 245

中国石油招标投标网 — 中标候选人爬虫技术分析

复制真实浏览器的 TLS 握手参数(密码套件顺序、TLS 扩展、ALPN 等),绕过基于 JA3/JA3S 指纹的服务端检测。所有 API 请求体使用 RSA-1024 公钥加密,响应体使用私钥解密,HTTP body 全程为密文。库使用 urllib3 的默认 TLS 握手参数,与真实浏览器差异明显,易被 JA3 指纹检测工具识别。密钥隐藏在 CSS 文件中,这是一种隐蔽分发技术,防止简单的密钥抓取。切换次数越多,等待时间越长,最大 60 秒,避免被代理 API 限流。为空,也返回包含基础信息的空行。

猫敷雪 298

备赛电赛学习硬件篇(六):复位电路工作原理

上电复位的工作过程是在加电时,复位电路通过电 容加给RST端一个短暂的高电平信号,此高电平信号随着Vcc对电容的充电过程而逐渐回落,即RST端的高电平持续时间取决于电容的充电时间。在图2的复位电路中,当Vcc掉电时,必然会使RST端电压迅速下降到0V以下,但是,由于内部电路的限制作用,这个负电压将不会对器件产生损害。在上电或复位过程中,控制CPU的复位状态:这段时间内让CPU保持复位状态,而不是一上电或刚复位完毕就工作,防止CPU发出错误的指令、执行错误操作,也可以提高电磁兼容性能。

m0_61022809的博客 6781

ubunut离线redis配置_ubuntu安装redis及简单配置

1.官方下载redis。redis-4.0.10.tar.gz2.上传到服务器,找到上传文件,进行解压#tar zxvf redis-4.0.10.tar.gz#cd /apache/redis-4.0.10/3.安装#make (如果没有安装make apt-get install make)#make install3.对redis进行初始化。#cd utils#./install_serve...

weixin_36230923的博客 948

基于R-CNN深度学习的石头剪刀布手势识别系统:数据集、模型和UI界面的完整实现

本项目的目标是开发一个基于R-CNN深度学习模型的手势识别系统,能够识别石头、剪刀、布三种手势,并通过UI界面让用户能够进行交互。数据集准备与标注:收集包含石头剪刀布手势的图像,并对其进行标注。深度学习模型构建与训练:采用R-CNN模型进行手势的识别和定位。UI界面设计:设计一个简洁的界面,用户可以上传手势图像并进行识别。R-CNN(Region Convolutional Neural Networks)是一个典型的目标检测模型。生成候选区域。

YOLO 880

ubunut离线redis配置_Ubuntu 16.04 安装和配置 Redis

因为发现之前手动安装的 redis 与现有的教程不一样,所以总结统一一下安装的标准步骤。安装依赖项为了获取最新版本的 Redis,我们将从源代码进行编译和安装。下载源代码之前,需要先安装一些编译所需要的软件。我们安装 build-essential 包用于编译功能,安装 tcl 包用于测试编译后的二进制文件。执行下面的命令来安装依赖:sudo apt-get updatesudo apt-get ...

weixin_35990295的博客 350

pytorch实现基本的logistic和softmax回归实验(手动+torch)

前提:不是前馈神经网络,没有隐藏层。 一:Logistic回归实验–人工构造数据集,手动构造模型 要求: 动手从0实现logistic回归,实现二分类,人工构造数据集,并分析loss、训练集、测试集的准确率。(要求从零实现二元交叉熵) 实验过程: 1.1人工构造数据集 1. # #自定义数据---训练集 2. num_inputs = 2 3. n_data = torch.ones(1500, num_inputs) # 数据的基本形态 4. x1 = torch.normal(2 * n_d

qq_37534947的博客 1万+

廖雪峰Python教程[完整版]

廖雪峰的python教程整理的,已经排好版了,而且还是完整的,适合小白

ubunut离线redis配置_如何在Ubuntu 18.04上安装和配置Redis

Redis (远程字典服务器Remote Dictionary Server)是一个开源的内存数据库,用作缓存和消息代理。它也被称为数据结构服务器。它与其他主要数据库的不同之处在于它能够存储高级数据类型(包括地图,列表,集合等),易于使用的界面,对数据进行原子操作以及其他人无法找到的出色性能现有数据库。这就是在本教程中,我们将向您展示如何在Ubuntu 18.04上安装Redis。为什么要使用R...

weixin_39809540的博客 612

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

ubunut离线redis配置_在ubuntu系统下redis的安装、使用、配置修改

原标题:在ubuntu系统下redis的安装、使用、配置修改一、概念Redis就是一个缓存数据库,一个程序不用Redis可以,但应该有其他的缓存。Redis是一个开源的key—value型数据库,支持string、list、set、zset和hash类型数据。对这些数据的操作都是原子性的,redis为了保证效率会定期持久化数据。二、安装在ubuntu系统命令安装:apt-get install r...

weixin_39824898的博客 325

华为的C语言编程规范.pdf

华为技术有限公司内部技术规范。本规范制定了编写C语言程序的基本原则、规则和建议。从代码的清晰、简洁、可测试、安全、程序效率、可移植各个方面对C语言编程作出了具体指导。

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

ubunut离线redis配置_Ubuntu16.04下安装和配置Redis

一、前提条件需要连接互联网,然后执行sudo apt-get update更新软件包二、执行安装命令sudo apt-get install redis-server执行后如下图所示,我们输入y 确认安装并使用空间接下来会执行完成,我们可以看到包括redis的版本信息等,执行service redis status 可以查看redis服务的状态为running,说明安装完成系统自动启动了服务三...

weixin_39628247的博客 106

ubunut离线redis配置_详解 redis 及 Ubuntu 的安装和运行

写作目的了解 Redis 的功能和特点记录安装方法和步骤,方便复查环境:Ubuntu 16.04 LTS redis-4.0.2每个知识点背后都有其原因,深究才会掌握知识的本真一、简介Redis 由 Salvatore Sanfilippo 开发于 2009 年,到今年 9 月 21 号已经发布了 197 个 release 版本,目前最新稳定版是 4.0.2。Redis 是一个开源的使用 ANS...

weixin_35012535的博客 322

Ubunut18.04 离线安装MySQL 5.7.35

上传包名称是:mysql-server_5.7.35-1ubuntu18.04_amd64.deb-bundle.tar。

天外有天,人外有人。 专注品质 不断创新 让精益求精成为习惯 703

ubunut离线redis配置_Ubuntu16.04 Redis 安装配置

前言Redis是常用基于内存的Key-Value数据库,比Memcache更先进,支持多种数据结构,高效,快速。用Redis可以很轻松解决高并发的数据访问问题;作为实时监控信号处理也非常不错。环境Ubuntu 16.04安装Redis服务器端~ sudo apt-get install redis-server安装完成后,Redis服务器会自动启动,我们检查Redis服务器程序检查Redis服务器...

weixin_36409041的博客 187

gcc离线安装 ubuntu 不用编译_Linux 安装GCC讲解(在线和无网离线)

本文主要介绍如何在无网络的环境下怎么离线安装GCC,如果有网,只需要通过命令yuminstallgcc 进行安装就可以了,yum会自动把所有关联的依赖包也一起安装了,一键安装。yum install gcc下面介绍两种离线安装GCC的方案方案一,下载安装包手动安装安装gcc编译环境依赖(真实版本可能有所不同,这无关紧要):安装gcc模块依赖:cloog-ppl、cpp、glibc-devel...

weixin_39974811的博客 562

ubuntu18 apache2 wsgi django pyenv virtualenv 搭建 https websocket 网站

ubuntu18 apache2 wsgi django pyenv virtualenv 搭建 https websocket 网站 @()[websocket, 虚拟环境, ssl] 默认在开发环境已经有网站成品,本文记录网站部署配置,以备后用: https双向认证 :服务器、客户端双向认证,通过安装自签名证书互相验证身份; websocket :使用channels库实现,再套一层ssl增...

范立川的博客 803

ubantu离线安装ansible_Ubuntu16.04下ansible-tower的集成

环境ubuntu 16.04需要安装Kerberos;有一个AD域CLOUD.COM需要集成;域控服务器为ad.cloud.com设置域名解析在ubuntu服务器修改域名解析文件 /etc/resolvconf/resolv.conf.d/basenameserver 192.168.1.234nameserver 223.5.5.5第一行为局域网内DNS解析服务器,通常和AD是一个第二行公共DN...

weixin_35801556的博客 661
上一篇: 【PostgreSQL】CentOS7.x上 PostgreSQL 9.5的安装配置
下一篇: 【parted】关于parted分区时,日志报警告分区对齐问题
HunterMichaelG
博客等级 码龄9年 180粉丝 326原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值