我见过有人这样做:打开多个终端会话。进入不同机器内的 ssh。选择组广播功能。向每个 ssh 会话发出相同的命令,最终删除广播,向单个终端发出命令,然后再次广播。ubuntu gnome 终端可以这样做吗?我应该安装哪个终端才能获得该功能?
Malkavian's questions
我在 ubuntu 24.04 客户端/主机上安装了 Oracle Sql developer 和 podman。使用 podman 我做了
podman run -d --name oracle-db -p 1521:1521 container-registry.oracle.com/database/free:latest
然后使用另一个命令设置一个简单的密码:
podman exec oracle-db ./setPassword.sh Password1
podman port oracle-db
1521/tcp -> 0.0.0.0:1521
因此,据我了解,现在我应该能够使用 FREE sid 以 SYSDBA 身份连接到 localhost:1521。唉,我一直收到错误 ORA-01017。有人知道我应该如何连接到它吗?
文档在此处https://www.oracle.com/eg/database/free/get-started/和此处https://container-registry.oracle.com/ → databases → free 。我已启动并运行映像,但无法使用 sql 开发人员连接到它。
我在我的 ubuntu vm 中安装了 opensearch 和 opensearch-dashboard。当我尝试使用以下命令找出 opensearch-dashboard 使用的资源时
top -U opensearch
我刚刚得到
Tasks: 125 total, 1 running, 124 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0,2 us, 0,1 sy, 0,0 ni, 99,6 id, 0,0 wa, 0,1 hi, 0,1 si, 0,0 st
MiB Mem : 3665,1 total, 869,7 free, 1745,8 used, 1049,5 buff/cache
MiB Swap: 0,0 total, 0,0 free, 0,0 used. 1606,2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
70188 opensea+ 20 0 5078340 1,4g 22956 S 0,3 39,1 2:19.24 java
我认为这种信息聚合了 opensearch 和 opensearch-dashboard,我怎样才能找出仪表板使用的内存、CPU 和磁盘空间?
我继承了一个 ubuntu 8.10 服务器,它当前作为 samba 服务器和 apache web 服务器运行。我想用 ubuntu 19.10 制作一个新服务器并复制该服务器上的现有配置。我通常从头开始,我从未将 samba 配置为与活动目录集成。smb.conf 中的这个配置就够了吗?
# Global parameters
[global]
workgroup = domain
realm = domain.com
server string = %h NEWSAMBASERVER (Samba %v)
security = ADS
password server = domaincontroller.domain.com
#security = DOMAIN
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
username map = /etc/samba/smbusers
syslog = 0
max log size = 1000
name resolve order = wins host bcast
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
load printers = No
preferred master = No
local master = No
domain master = No
wins support = Yes
invalid users = root
hosts allow = 10.100., 127.
# printing = lprng
# lppause command = lpc hold '%p' %j
# lpresume command = lpc release '%p' %j
我想使用 netplan 更改 ubuntu 19.04 的网络掩码。我编辑了唯一的 yaml 文件,即 \etc\netplan\50-cloud-init.yaml
network:
ethernets:
ens160:
addresses: [10.100.0.78/24]
gateway4: 10.100.0.253
dhcp4: no
nameservers:
addresses: [10.100.0.8,10.100.0.9]
optional: true
version: 2
但如果我给命令 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:50:56:bc:ff:52 brd ff:ff:ff:ff:ff:ff
inet 10.100.0.78/24 brd 10.100.0.255 scope global ens160
valid_lft forever preferred_lft forever
inet6 fe80::250:56ff:febc:ff52/64 scope link
valid_lft forever preferred_lft forever
我希望网络掩码为 255.255.0.0 。网络掩码设置在哪里?
我有一个带有ubuntu 17.10的hp pavilion笔记本,当我使用windows时,我可以运行死岛。在同一台机器上的 linux 下,游戏在第一个等待屏幕时崩溃。例如,如果我使用启动选项 -nologos -safemode 运行游戏,我会得到 Palm 屏幕、带有等待消息的黑屏,然后游戏就崩溃了。我还注意到游戏没有生成任何配置文件,因为文件夹设置:/DI/out/Settings/ 不存在。我仔细检查了游戏文件的完整性。我还可以提供 crash.log 文件(非常长的日志文件),因为我自己无法解决问题。
要解决我在 dota 2 中遇到的 glx 问题,我必须 sudo apt-get install libtxc-dxtn-s2tc0 dota 2 工作正常,死岛不是。
我有以下有趣的实验。我使用live usb在插入intel ss4200-e的usb上安装ubuntu server 12.04 i386和webmin,我想用它制作一个无头samba服务器。webmin 在分区菜单上显示以下情况:
Disk name Total size Make and model Partitions Actions
SCSI device A 7.39 GB Kingston DataTraveler 3.0 3 Identify drive
SATA device B 953.83 GB ATA Hitachi HDE72101 1 IDE parameters | Identify drive
SATA device C 953.83 GB ATA Hitachi HDE72101 1 IDE parameters | Identify drive
SATA device D 953.83 GB ATA Hitachi HDE72101 1 IDE parameters | Identify drive
SATA device E 953.83 GB ATA Hitachi HDE72101 1 IDE parameters | Identify drive
突袭菜单显示:
Device name Status RAID level Usable size Member disk devices
/dev/md0 clean RAID5 (Distributed Parity) 2.60 TB /dev/sdb1 | /dev/sdc1 | /dev/sdd1 | /dev/sde1
然后 \dev\md0 选项卡显示
Device file /dev/md0
UUID fcf48163:7efca14a:7bb08b15:81161d20
RAID level RAID5 (Distributed Parity)
Filesystem status Used in LVM VG volume
Usable size 2794526208 blocks (2.60 TB)
Persistent superblock? Yes
Layout left-symmetric
Chunk size 128 kB
RAID status clean
Partitions in RAID SATA device B partition 1
SATA device C partition 1
SATA device D partition 1
SATA device E partition 1
fstab 看起来像这样:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=437ea85c-1a1a-449f-a87f-e358cce2ba7e / ext2 errors=remount -ro 0 1
# swap was on /dev/sdb5 during installation
UUID=8800da26-a98b-4a6b-aa96-917fc529bfe1 none swap sw 0 0
pvs
PV VG Fmt Attr PSize PFree
/dev/md0 volume lvm2 a- 2,60t 0
例如,如何在启动时将该 /dev/md0 挂载到 /mnt/raidarray 中?
在 lubuntu 16.04 xenial 机器上,我想安装 quake2,更多的是用于测试。然后我想安装一个 quake 2 服务器,但首先要做的事情是:我已经从我的 windows 分区复制到我的 lubuntu 桌面,来自 windows 安装的旧 quake 2 游戏文件夹。所以在桌面上我有一个 Quake2 文件夹,里面有:baseq2、rogue、xatrix 子文件夹。我已经用 apt 安装了 quake2 二进制文件: apt-get install quake2
我想要做的是弄清楚如何让游戏包管理器为完整的 quake2 (baseq2)、reckoning (rogue)、ground zero (xatrix) 制作相关的 deb 文件。
有没有人成功完成它,或者有没有人知道它的语法?
我正在使用 Ubuntu 14.04。当我在 nautilus 中打开特定 DVD 时,出现此错误。
Error mounting /dev/sr0 at /media/user/L'ECO DEL SILENZIO: Command-line `mount -t "udf" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,umask=0077" "/dev/sr0" "/media/user/L'ECO DEL SILENZIO"' exited with non-zero exit status 32: mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
我试图找出问题所在:
dmesg | tail
[ 2158.291448] sr 1:0:0:0: [sr0]
[ 2158.291450] Sense Key : Medium Error [current]
[ 2158.291454] sr 1:0:0:0: [sr0]
[ 2158.291456] Add. Sense: No seek complete
[ 2158.291458] sr 1:0:0:0: [sr0] CDB:
[ 2158.291463] Read(10): 28 00 00 00 02 70 00 00 01 00
[ 2158.291471] end_request: I/O error, dev sr0, sector 2496
[ 2158.291501] UDF-fs: error (device sr0): udf_read_tagged: read failed, block=512, location=512
[ 2158.291505] UDF-fs: warning (device sr0): udf_load_vrs: No anchor found
[ 2158.291508] UDF-fs: warning (device sr0): udf_fill_super: No partition found (1)
Script iniziato su lun 25 gen 2016 08:04:57 CET
cd-drive version 0.83 x86_64-pc-linux-gnu
Copyright (c) 2003, 2004, 2005, 2007, 2008, 2011 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
The driver selected is GNU/Linux
The default device for this driver is /dev/cdrom
Drivers available...
GNU/Linux ioctl and MMC driver
cdrdao (TOC) disk image driver
bin/cuesheet disk image driver
Nero NRG disk image driver
CD-ROM drive supports some nonstandard or degenerate set of MMC
Drive: /dev/cdrom
Vendor : MATSHITA
Model : DVD-RAM UJ880AS
Revision : 1.22
Profile List Feature
Re-writable DVD
DVD+R Double Layer - DVD Recordable Double Layer
DVD+R - DVD Recordable
DVD+RW - DVD Rewritable
DVD-R - Double-layer Jump Recording
DVD-R - Double-Layer Sequential Recording
Re-recordable DVD using Restricted Overwrite
Re-recordable DVD using Sequential Recording
Re-recordable DVD using Sequential recording
Read only DVD - on
CD-RW Re-writable Compact Disc capable
Write once Compact Disc capable
Read only Compact Disc capable
Core Feature
Morphing Feature
Operational Change Request/Notification supported
Synchronous GET EVENT/STATUS NOTIFICATION supported
Removable Medium Feature
Tray type loading mechanism
can eject the medium or magazine via the normal START/STOP command
can be locked into the Logical Unit
Write Protect Feature
Random Readable Feature
Multi-Read Feature
CD Read Feature
C2 Error pointers are supported
CD-Text is supported
DVD Read Feature
Random Writable Feature
Incremental Streaming Writable Feature
Formattable Feature
Management Ability of the Logical Unit/media system to provide an apparently defect-free space. Feature
Restricted Overwrite Feature
DVD+RW Feature
DVD+R Feature
Rigid Restricted Overwrite Feature
CD Track at Once Feature
CD Mastering (Session at Once) Feature
DVD-R/RW Write Feature
Unknown code 33 Feature
Core Feature
Profile List Feature
disk Re-writable; with removable media
Unknown Profile 0 - on
Unknown Profile 8013 - on
Unknown Profile 88 - on
Unknown Profile 24 - on
Unknown Profile 88 - on
Unknown Profile 1900
Unknown Profile 0
Unknown Profile 0
Unknown Profile fdff
Unknown Profile a05c - on
Unknown Profile 88 - on
Unknown Profile 1024 - on
The Logical Unit does not conform to any Profile - on
Non-removable
Unknown Profile 0 - on
disk Re-writable; with removable media
Unknown Profile 0 - on
Unknown Profile 4070 - on
Unknown Profile 188 - on
Unknown Profile 4d - on
Unknown Profile 88 - on
Unknown Profile db00
Unknown Profile 0
Unknown Profile 0
Unknown Profile 8b08 - on
Unknown Profile f0fa - on
Unknown Profile 188 - on
Unknown Profile 1024 - on
The Logical Unit does not conform to any Profile - on
Non-removable
Unknown Profile 0 - on
disk Re-writable; with removable media
Unknown Profile 0 - on
Unknown Profile c0f7
Unknown Profile 88 - on
Unknown Profile 8b - on
Unknown Profile 88 - on
Unknown Profile db00
Unknown Profile 0
Unknown Profile 0
Unknown Profile d300
Unknown Profile f0fa - on
Unknown Profile 188 - on
Unknown Profile 1024 - on
The Logical Unit does not conform to any Profile - on
Non-removable
Unknown Profile 0 - on
disk Re-writable; with removable media
Unknown Profile 0 - on
Unknown Profile c047
Unknown Profile 88 - on
Unknown Profile 38
Unknown Profile 188 - on
Unknown Profile db00
Hardware : CD-ROM or DVD
Can eject : Yes
Can close tray : Yes
Can disable manual eject : Yes
Can select juke-box disc : No
Can set drive speed : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device : Yes
Reading....
Can read Mode 2 Form 1 : Yes
Can read Mode 2 Form 2 : Yes
Can read (S)VCD (i.e. Mode 2 Form 1/2) : Yes
Can read C2 Errors : Yes
Can read IRSC : Yes
Can read Media Channel Number (or UPC) : Yes
Can play audio : Yes
Can read CD-DA : Yes
Can read CD-R : Yes
Can read CD-RW : Yes
Can read DVD-ROM : Yes
Writing....
Can write CD-RW : Yes
Can write DVD-R : Yes
Can write DVD-RAM : Yes
Can write DVD-RW : No
Can write DVD+RW : No
exit
Script effettuato su lun 25 gen 2016 08:05:12 CET
你能帮我找出问题吗?
我设法在 hp pavillion 笔记本上安装了 ubuntu 并对其进行了双重引导。为此,我必须在按下电源后立即按 esc 和 f10,才能访问 bios。在 bios 的引导选项中启用 legacy。然后我很好地安装并配置了 linux(debian ubuntu 和 arch linux)。只要我保留启用传统选项,我就会在启动后得到 grub。我想要实现的是,如果我在 BIOS 中禁用旧版支持,笔记本会提示我使用 grub2。现在,如果我禁用旧版,笔记本电脑将启动 Windows 10 并忽略 grub2。我认为这与 efi 有关,但我有限的知识仅限于此。
我正在使用 ubuntu、lubuntu、kubuntu:
Linux sysop 3.19.0-33-generic #38-Ubuntu SMP Fri Nov 6 18:18:12 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
在具有 Nvidia Ion 卡的 Asus Eee PC Seashell 系列 1215n 上。安装以下软件包后:
sudo apt-get install nvidia-346 nvidia-settings nvidia-prime
lightdm gdm sddm 无法启动。如果我想获得图形环境,我必须:登录 tty,然后执行以下操作:
sudo nvidia-xconfig
startx
有人可以帮我让桌面管理器工作吗?
这里是 /var/log/Xorg.1.log 文件:
[ 32.369]
X.Org X Server 1.17.1
Release Date: 2015-02-10
[ 32.369] X Protocol Version 11, Revision 0
[ 32.369] Build Operating System: Linux 3.19.0-28-generic x86_64 Ubuntu
[ 32.369] Current Operating System: Linux sysop 3.19.0-33-generic #38-Ubuntu SMP Fri Nov 6 18:18:12 UTC 2015 x86_64
[ 32.369] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-33-generic root=UUID=d414642e-6948-440a-a6cd-4fe8cc819dca ro
[ 32.369] Build Date: 11 September 2015 10:30:58AM
[ 32.370] xorg-server 2:1.17.1-0ubuntu3.1 (For technical support please see http://www.ubuntu.com/support)
[ 32.370] Current version of pixman: 0.32.6
[ 32.370] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 32.370] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 32.370] (==) Log file: "/var/log/Xorg.1.log", Time: Sat Nov 14 09:17:13 2015
[ 32.370] (==) Using config file: "/etc/X11/xorg.conf"
[ 32.370] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 32.371] Data incomplete in file /etc/X11/xorg.conf
Undefined Screen "nvidia" referenced by ServerLayout "layout".
[ 32.371] (EE) Problem parsing the config file
[ 32.371] (EE) Error parsing the config file
[ 32.372] (EE)
Fatal server error:
[ 32.372] (EE) no screens found(EE)
[ 32.372] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 32.372] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 32.372] (EE)
[ 32.372] (EE) Server terminated with error (1). Closing log file.
在常规 Ubuntu 15.04 安装中安装 Lubuntu-Desktop 之后,我现在拥有了在登录后自动启动的 Libreoffice-Writer。我记得我在从 Ubuntu 13.04 升级后在 Ubuntu 14.04 中发现了同样的问题,但我不记得如何解决这个问题。什么会导致 libreoffice-writer 在登录后自动打开?有人能帮忙吗?