本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
一、概述在k8s里面部署kafka、zookeeper这种有状态的服务,不能使用deployment和RC,k8s提供了一种专门用来部署这种有状态的服务的API--statefulset,有状态简单来说就是需要持久化数据,比如日志、数据库数据、服务状态等。statefulset应用场景:稳定的持久化存储,即Pod重新调度后还是能访问到相同的持久化数据,基于PVC来实现稳定的网络标志,即Pod重新调度后其PodName和HostName不变,基于Headless Service(即没有Cluster IP的Service)来实现有序部署,有序扩展,即Pod是有顺序的,在部署或者扩展的时候要依据定义的顺序依次依次进行(即从0到N-1,在下一个Pod运行之前所有之前的Pod必须都是Running和Ready状态),基于init containers来实现有序收缩,有序删除(即从N-1到0)statefulset组成:用于定义网络标志(DNS domain)的Headless Service用于创建PersistentVolumes的volumeClaimTemplates定义具体应用的StatefulSetStatefulSet中每个Pod的DNS格式为statefulSetName-{0..N-1}.serviceName.namespace.svc.cluster.local,其中 0..N-1为Pod所在的序号,从0开始到N-1serviceName为Headless Service的名字statefulSetName为StatefulSet的名字namespace为服务所...
目前ssrpanel还处于持续更新的状态,作者正在添加更多的新功能,所以日后这款面板应该也是无比强大。那么现在就进入今天的正题吧,首先准备一台VPS或者服务器,系统选择CentOS6/7X64,使用Xshell登录到你的机器内。首先安装宝塔WEB面板:宝塔一键安装代码yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh安装完毕后新建一个LNMP环境,PHP版本要选择7.1,另外作者推荐MySQL使用5.7版本,但由于本人这台VPS内存小于2G,所以我还是选择5.5。实际上使用5.5也没出现什么问题,其他组件就默认即可。环境安装好后,新建一个网站,如图:输入你的站点域名,以及创建一个FTP,接着点击提交:点击软件管理-PHP7.1后面的设置按钮,找到禁用函数这块,将含有proc开头的函数都删除掉,当然你也可以直接删除全部这些被禁用的函数:重启PHP:回到Xshell中,进入到你的站点根目录,路径类似于:进入站点根目录cd /www/wwwroot/你添加的站点域名下载ssrpanel源码:一键Git源码git clone https://github.com/ssrpanel/ssrpanel.git进入到ssrpanel目录:进入ssrpanelcd ssrpanel安装相关依赖:安装依赖命令php composer.p...
重装系统后,oracle11g/12C数据库恢复(原oracle安装目录还在)安装与之前同版本的数据库,安装目录选择与之前一样。关闭oracle的所有服务。拷贝原oracle_home目录下的database文件夹到现在的目录(最好先将现在的database文件夹进行备份)。拷贝原oracle_base下的oradata、admin、fgtoollogs、flash_recovery_area文件夹,覆盖现在的目录(请先进行备份)。打开服务。运行命令sqlplus / as sysdba;运行命令shutdown运行命令startup恢复成功。
脚本自动处理(推荐)1、远程登录服务器下载脚本 :wget http://downinfo.myhostadmin.net/vps/openssl.sh2、然后执行:sh openssl.sh手工处理方法一、安装openssl依次执行下面命令cd /tmp
wget -c https://www.openssl.org/source/openssl-1.0.2l.tar.gz
tar zxvf openssl-1.0.2l.tar.gz
cd openssl-1.0.2l
./config --prefix=/usr --shared
make -j4 && make install
openssl version -a安装好了显示如下图只能使用openssl1.0.*的版本 ,openssl1.1.0及以上不兼容 ,可查看openssh安装说明使用openssl1.1.*版本编译openssh时会出现下面的错误二、升级openssh依次执行下面命令yum install -y pam-devel
cd /usr/local/src
wget -c https://openbsd.hk/pub/OpenBSD/OpenSSH/portable/openssh-7.5p1.tar.gz
tar zxvf openssh-7.5p1.tar.gz
cd openssh-7.5p1
./configure --sbindir=/usr/sbin/ --bindir=/usr/bin/ --sysconfdir=/etc/ssh --with-ssl-engine --with-pam
make -j4 &am...
部署https后访问提存在安全隐患NET::ERR_SSL_OBSOLETE_VERSION部署https后访问域名出现如下提示:您的连接存在安全隐患此网站使用的安全性配置已过时,这可能会导致您的信息(例如密码、消息或信用卡卡号)在发送至此网站的过程中遭到泄露。NET::ERR_SSL_OBSOLETE_VERSION原因是服务器openssl版本过低,较新版本的浏览器会提示不安全,openssl version -a可查看openssl版本Openssl 1.0.0h支持SSLv2,SSLv3和 TLSv1.0Openssl 1.0.1添加了对TLSv1.1和TLSv1.2的支持Openssl 1.1.1开始支持TLS1.3旧版(openssl1.0.2|openssh7.5)升级参看https://www.west.cn/faq/list.asp?unid=1754升级openssl-1.1.1cd /usr/local/src
wget -c https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar zxvf openssl-1.1.1g.tar.gz
cd openssl-1.1.1g
./config --prefix=/usr --shared
make -j4 && make install
openssl version -a升级openssh8.3p1cd /usr/local/src
mv /etc/ssh /etc/ssh.bak
yum install -y pam-devel
wget -c https://...
Install VNC Server with Gnome display on Ubuntu 18.04 away, 1 year ago 4 5 min read 1881VNC Server is the software used to do VNC (Virtual Network Computing) desktops on Linux environments. If you use the Windows Operating System, you only have to activate Remote Desktop. But on Linux, you have to install VNC Server so you can do remote desktop in real-time.There is much software for VNC servers, but in this article, we will only discuss how to install VNC servers using TigerVNC. For information about TigerVNC, you can directly visit the official site on the page https://tigervnc.org/.Daftar IsiPreparationInstall VNC ServerSystem UpdateInstall Tiger VNCInstall GnomeVNC Password SettingsStartup Script SettingsStart VNC ServerStart Stop ScriptConnect to VNC ServerAnother thingSee if VNC Server is activeSee who is connectedDelete the VNC sessionConclusionPreparationTo follow this article, you must prepare an Ub...
ubuntu配置vnc相关功能,x11vnc,vino,krfb,tightvncserverIntroductionA VNC server is a program that shares a desktop with other computers over the Internet. You will need a VNC server if you want other people to see your desktop. Every VNC server has different strengths and weaknesses and is appropriate for different uses. This page will discuss each of the VNC servers available in Ubuntu, and ways to configure them for most common uses of VNC.Common security optionsThe most important thing when setting up a VNC server is to only let the right people access your desktop. The safest way to do that is usually to have someone sitting at the desktop deciding who gets to use it, but that's not always practical - for example, if you want to log in to your own computer from somewhere else.If you want to confirm each connection manually, you should look for these options:Request access each time - pop a window up asking whether to allow each connection as it comes in.view-only access - ...
Activating the gnome VNC vino-server from the command lineNewsRecommended LinksArchitectureConfigurationX display managerXDMCPExporting_display"Can't open display" Error.XresourcesxrdbUsing xauthXdefaultsFonts in XX11 securityXmingCygwin/XvncvinoTroubleshootingDiagnosing problems with remote X11 sessions via SSHInstalling X11 and Gnome Desktop in RHELTipsHumorEtcIntroductionYou can export display and see X11 session on other machine or via DRAC or ILO interfacesYou do not have access to X11 sessionubutnu 使用命令行激活运行vino-server实现gnome桌面的VNC由于ubuntu desktop 18.04自带的定制了的gnome桌面系统,在该桌面系统下vnc4server和tightvncserver等均不可直接使用,网上现有配置vnc server方法太麻烦,而且还用不起来。实际上Ubuntu Desktop是有桌面共享功能的,只是由于我是最小化安装的而没有被带进来。Ubuntu桌面共享使用的是vino。Ubuntu桌面共享使用的是vino。Ubuntu桌面共享使用的是vino。重要的事说三遍,在ubuntu默认的gnome环境下不要使用vnc4server和tightvncserver,使用vino!解决方法:安装vino。打...
OnlyOffice Community server和OnlyOffice Document server DOCKER安装教程IntroductionDocument Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.FunctionalityDocument EditorSpreadsheet EditorPresentation EditorDocuments application for iOS and AndroidCollaborative editingHieroglyph supportSupport for all the popular formats: DOC, DOCX, TXT, ODT, RTF, ODP, EPUB, ODS, XLS, XLSX, CSV, PPTX, HTMLIntegrating it with Community Server you will be able to:view and edit files stored on Drive, Box, Dropbox, OneDrive, OwnCloud connected to ONLYOFFICE;share files;embed documents on a website;manage access rights to documents.This guide will show you how to install Document Server Docker version to your machine.System requirementsCPU dual core 2 GHz or betterRAM 2 GB or moreHDD ...
总共47页,当前第10页 | 页数: - 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
最新评论