OpenBSD安装(三)

OpenBSD76编译安装postgresql17 阅读详情
OpenBSD安装(三)

OpenBSD安装(三)

前两篇我们安装了基本的系统,但只有最基本的东西, 像内核源代码, ports tree都没安装!

在安装时我们安装了X, 现在我们配置X-windows, 运行xf86cfg设置!OpenBSD的默认桌面是fvwm.

现在我们给系统添加新用户adduser, 在第一次使用时会有一些基本的设置, 如密码使用什么加密, 有好几种, 我选择了最常用的md5,

首先, 我们开始安装内核源代码, 为以后编译内核作准备!
如果你有CD,则只需要从CD中取出src.tar.gz,cd /usr/src 然后tar xvzf src.tar.gz, 上篇, 我们是从FTP安装的, 因此, 我们要下载两个包:src.tar.gz, sys.tar.gz.
ftp://ftp.ca.openbsd.org/pub/FreeBS...i386/src.tar.gz ftp://ftp.ca.openbsd.org/pub/FreeBS...i386/sys.tar.gz

安装ports tree, 下载ports.tar.gz, 然后copy /usr/ , tar xzvf ports.tar.gz .
ftp://ftp.ca.openbsd.org/pub/FreeBS...86/ports.tar.gz

安装cvsup,
下载cvsup-16.1f.tar.gz, 如果没安装X则下载 cvsup-16.1f-no_X.tar.gz
ftp://ftp.ca.openbsd.org/pub/FreeBS...p-16.1f..tar.gz
pkg_add cvsup-16.1f.tar.gz

编辑cvsup-supfile, OpenBSD里的编辑器是mg, 类似于emacs。
#Defaults that apply to all the collections
*default release=cvs
*default delete use-rel-suffix
*default umask=002
*default host=cvsup.uk.openbsd.org
*default base=/cvsup
*default prefix=/cvsup

#If your network link is T1 or faster, comment out the following line.
*default compress

OpenBSD-all
#OpenBSD-src
#OpenBSD-www
#OpenBSD-ports
#OpenBSD-x11
#OpenBSD-xf4

保存,

# mg cvsup-supfile
# cd /
# mkdir cvsup
# cd
# cvusp –g –L 2 cvsup-supfile 就可升级ports tree等了!
安装软件同FreeBSD下一样, 以后再说说编译内核吧!

主要cvsup站点:
cvsup.uk.openbsd.org]
cvsup.de.openbsd.org
cvsup2.de.openbsd.org
cvsup.hu.openbsd.org
cvsup.fr.openbsd.org
cvsup.ca.openbsd.org
cvsup.usa.openbsd.org
cvsup.kr.openbsd.org
cvsup.no.openbsd.org
cvsup.pt.openbsd.org
anoncvs.de.openbsd.org
rt.fm
skeleton.phys.spbu.ru
cvsup.jp.OpenBSD.org
mirror.osn.de
openbsd.informatik.uni-erlangen.de

OpenBSD-src - The src repository
OpenBSD-ports - The ports repository
OpenBSD-www - The www repository
OpenBSD-x11 - The XFree86-3 repository
OpenBSD-xf4 - The XFree86-4 repository
OpenBSD-all - All OpenBSD repositories
openBSD4.1安装手记(图解) openBSD4.1安装手记(图解)一、准备工作1、下载新版openBSD4.1         地址    ftp://ftp.zedz.net/pub/OpenBSD.snapshot/2、测试环境     虚拟机vm5.5  (单CPU、256M内存、8G硬盘、双网卡)二、开始安装1、把ISO插入到虚拟光驱中,虚拟机中选择从光驱启动,启动后提示安装、升级、返回命令提示符。(如图1)这时按i后 阅读详情

相关推荐

openbsd中文手册

openbsd中文手册 openbsd中文手册

OpenBSD之安装指南

如下图,展示了所有的软件包,默认全选了。如无特殊要求,建议默认即可。我们下载ISO文件中没有包含SHA256.sig,这里不要再默认了,输入yes回车。长篇大论了很多,每一个章节都能看懂是干嘛的,连起来就容易晕。引导启动虚机之后如下图,按照提示一步步来就OK:配置主机名、选择接口(有dhcp的可以选择autoconf,而不是none)、DNS配置、配置root密码、启动sshd。磁盘分区自动完成之后,会让我们选择软件包集合,当然选择cd0,因为我们下载的ISO文件包含了软件包集合。直接干,有问题再回头查。

刘元林的博客 1696

openbsd 安装过程

openbsd 安装过程openbsd 安装过程

虚拟机安装Openbsd

虚拟机安装Openbsd

qq_38978882的博客 1578

openbsd安装过程[归纳].pdf

openbsd安装过程[归纳].pdf

多思计算机组成原理实验:模型机课程设计

计算机组成原理实验教程 基于多思网络虚拟实验系统 张雯雰

Nick的博客 2万+

OpenBSD安装

一、安装文件准备 下载openbsd的iso文件:ftp://ftp.openbsd.org/pub/OpenBSD/5.1/i386/install51.iso(注意自己的cpu架构,选择正确的架构) 下载ports压缩包:ftp://ftp.openbsd.org/pub/OpenBSD/5.1/ports.tar.gz OpenBSD package地址:...

weixin_33733810的博客 885

AI开发提效10倍:从需求到部署的全流程实战指南(附Prompt模板)

用AI开发不是“偷懒”,而是把时间花在更有价值的地方——原来花80%时间写重复代码,现在用AI搞定后,能把精力放在“优化用户体验”“提升系统性能”这些核心工作上,这才是AI给开发者的真正红利。如果你还没开始用AI做开发,建议从“写一个简单接口”“补一段注释”开始尝试,先用起来再优化方法。记住:AI是工具,不是对手,学会驾驭它,你会发现开发效率提升的同时,还能告别无效加班。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 1540

OpenBSD 安装

OpenBSD被誉世上最安全的系统。OpenBSD有最前沿的安全技术,适合于做防火墙和分布式环境下的私有网络服务OpenBSD组每6个月发布一个新的发行版,即每年的5月1日和11月1日发布.你可以在此找到关于开发周期的更多信息。OpenBSD的分发包含许多第三方软件产品,包括: ●Xfree86 4.4.0: ●GCC 2.95.3 ●Perl 5.8.2 ●Apache 1.3.29 ●Open

cafecheng的专栏 2932

单片机OTA升级:Bootloader如何多重校验保障APP完整性?

本文详细介绍了单片机OTA升级中Bootloader如何通过CRC校验、数字签名、版本比对和存储位置检查等多重校验机制保障APP完整性。CRC校验作为快速检测数据完整性的核心手段,结合其他安全措施有效防止设备变砖和安全漏洞,确保远程升级的可靠性。

l3m4n的博客 982

S32K系列之PDB框图详解及PDB触发ADC

可编程延迟模块PDB,PDB可提供从内部或外部触发或可编程间隔信号到ADC硬件触发输入的可控制延迟。 PDB可以选择提供脉冲输出,用作CMP块中的采样窗口。 S32K系列的PDB资源如下表: PDB功能框图 在下图中,以下字母表示的意义: N:PDB通道的总数 n:PDB通道号,范围从0到N-1 M:每个PDB通道的总可用预触发 m:预触发编号,范围从0到M-1 Y:脉冲输出的总数 y:脉冲数...

zz56z56的博客 1万+

[x-cmd] FreeBSD, OpenBSD, NetBSD 安装使用 x-cmd 的方法

x-cmd 在BSD系统的安装与现状 本文介绍了x-cmd在FreeBSD、OpenBSD和NetBSD等BSD系统上的安装方法。目前x-cmd对BSD系统的支持仍在开发中: FreeBSD:可安装但部分模块异常 OpenBSD:需适配tar命令 NetBSD:需准备开发环境 提供了FreeBSD和OpenBSD的具体安装命令,并指出OpenBSD需解决tar解压问题。同时介绍了ssh远程安装方式,以及OpenBSD因使用ksh而暂时采用便携版bash作为运行时的特殊情况。

edwinjhlee的博客 352

30天入门 SAP BTP 开发系列之二:了解 SAP BTP Region 的概念,包含账号申请的详细步骤

SAP BTP 的 Region,实际是一组按地理位置划分的、由 SAP 或合作 Hyperscaler 承载的基础设施栈。这些基础设施栈至少包含多可用区网络、对象存储、计算节点及自动化运维等服务。

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 1481

openbsd安装手册

http://openbsd.csie.nctu.edu.tw/faq/zh-tw/http://mouse.oit.edu.tw/openbsd/http://dev.csdn.net/article/37/article/37/37880.shtmhttp://sunming.c67.zgsj.com/blog/more.asp?name=summertea&id=6http://140.11

FreeXploiT 2910

Orange3实战教程:文本挖掘---主题建模

主题建模通过LDA、LSI或HDP算法分析文档集合,自动发现隐含主题结构。组件输入为文档语料库,输出包括带主题权重的语料库、主题词分布及完整主题数据。不同算法特性各异:LSI允许正负权重但解释性较弱,LDA更易解释,HDP参数复杂需谨慎设置。结果可结合词云、热力图等可视化工具分析主题特征及分布。示例显示如何通过预处理文本、选择算法(如提取5个LDA主题),并利用MDS和箱线图探索主题间关系及关键词分布。

err2008的专栏 368

20、机器人硬件改造与Geomagic Touch设备的运动学和动力学模型

本文详细介绍了机器人CRS 465和255的硬件改造过程,包括数字阶段、模拟阶段、功率阶段及软件实现,并深入研究了Geomagic Touch触觉设备的五自由度与三自由度运动学、微分运动学及动力学模型。文章还探讨了其在虚拟手术、装配等场景中的应用,提出了硬件与模型优化方向,如电源管理改进、信号处理优化、参数校准与自适应控制,并展望了多机器人协作、多传感器融合与智能控制算法的发展前景。

e4f5g6h7的博客 127

OpenBSD安装过程中进行手动分区的详细操作

起因: 为了搭建虚拟网络,决定采用OpenBSD作为操作系统。在安装过程中,发现手动进行分区的操作极难进行,且网络上可以找到的教程大多是翻译官方的说明,没有一步一步很小白的操作说明。几经摸索,终于搞清楚了手动分区的操作,特此记录!!

lggirls的博客 2822

【SpringBoot】1、创建第一个SpringBoot项目

创建SpringBoot项目可以通过两种方式,1、通过访问:https://start.spring.io/,SpringBoot的官方网站进行创建SpringBoot项目;2、通过工具(例如:Idea)创建SpringBoot项目。本次使用开发工具:Idea创建我的第一个SpringBoot项目。 首先,打开我们的Idea开发工具 选择Create New Poject(创建一个新的项目) ...

JACKAL 21万+

OpenBSD安装(一)

OpenBSD安装(一) OpenBSD, NetBSD, FreeBSD是同门三兄弟!OpenBSD以安全著称, 支持的平台很多!现在主要有三个分支:stable, release, current. 每六个月出一个release! 主要版本号是:3.1stable, 3.3release, 3.4 current. 3.4release 11月发行! stable是非常稳定的版本, relea

nmdd的专栏 2747

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

OpenBSD安装(转)

OpenBSD安装(转)   OpenBSD, NetBSD, FreeBSD是同门三兄弟!OpenBSD以安全著称, 支持的平台很多!现在主要有三个分支:stable, release, current. 每六个月出一个re...

cuemes08808的博客 1861

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

OpenBSD区

<br /><br />本节内容:<br />OpenBSD的两个内核配置文件<br />OpenBSD .cshrc for tcsh <br />OpenBSD简单中文汉化<br />解决无权限及sudo的问题<br />CVS源码编译内核<br />OpenBSD如何启动服务<br />使OpenBSD兼容linux和FreeBSD<br />OpenBSD上安装Fictx输入法<br />OpenBSD内核编译和优化<br /><br />OpenBSD的两个内核配置文件<br />1、/usr/s

兼容并蓄终宽阔,若谷虚怀鱼自游 5442

深度学习工具包 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")

OpenBSD 簡介與安裝

1.0 – 介紹 OpenBSD1.1 – 什麼是OpenBSD? 1.2 -? OpenBSD可以在什麼系統執行? 1.3 -? OpenBSD 真的是免費的嗎? 1.4 – 為何我要用到OpenBSD? 1.5 – 誰在維持 OpenBSD的發展與運作? ?1.1 – 何謂 OpenBSD?OpenBSD 計劃產生一個自由有用

2197

openbsd_仔细看一下OpenBSD

当安全性至为重要时,顺理成章地使用与当今安全远程访问标准OpenSSH(Open Secure Shell)产生相同的操作系统。 OpenSSH只是OpenBSD的一部分,OpenBSD是一个从头开始关注安全性的发行版,它的目标是创建一个默认情况下安全的,类似于UNIX®的操作系统。 这种立场与当今的大多数操作系统形成鲜明对比,后者需要大量时间和精力才能使环境更坚固,然后才能上线。 实际上,O...

cusi77914的博客 3978

在openBSD上安装nroff

在openBSD上安装nroff, groff的子集。

皇天惊虞的博客 450

openBSD基本配置

安装后配置我们安装了基本的系统,但只有最基本的东西, 像内核源代码, ports tree都没安装!在安装时我们安装了X, 现在我们配置X-windows, 运行xf86cfg设置!OpenBSD的默认桌面是fvwm。现在我们给系统添加新用户adduser, 在第一次使用时会有一些基本的设置, 如密码使用什么加密, 有好几种, 我选择了最常用的md5。首先, 我们开始安装内核源代码, 为以后编译内

疯狂的鼠标 3130

OpenBSD6.3系统安装记录

2018年3月,在龙芯2f的笔记本电脑逸珑8089A(YEELOONG 8089_A)上,安装了OpenBSD6.2的系统, 安装时,在物理机上进行,但没有将安装过程记录下来,为了将来方便查找记录,现在重新在虚拟机中 再安装一次,并在安装时截图保存了安装记录,本次安装时有了OpenBSD6.3系统,所以此次安装的是 6.3版本的系统,不过安装的过程基本是一致的,下面是大量的截图,是详细的安装...

linkasm/v80的专栏 6312
上一篇: OpenBSD安装(二)
下一篇: OpenBSD 系列(四)
nmdd
博客等级 码龄22年 3粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值