AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-656403

Vivek Sharma's questions

Martin Hope
Vivek Sharma
Asked: 2020-01-15 00:10:05 +0800 CST

想了解/usr/bin/sudo的这个权限

  • -2

在将权限更改为 /usr/bin/sudo 的 777 后运行命令sudo -s时出现以下错误

sudo:/usr/bin/sudo 必须由 uid 0 拥有并设置 setuid 位

我通过以下过程解决了这个问题:

在(恢复模式)中选择您的操作系统版本,然后按 Enter 键。

例如:Ubuntu 14.04(恢复模式)

它会给你带来另一个屏幕。现在选择“Drop to root shell prompt”,然后按 Enter。

它将在屏幕底部加载命令行。

现在运行以下每个命令。

mount -o 重新挂载,rw /

挂载-全部

chown root:root /usr/bin/sudo

chmod 4755 /usr/bin/sudo

重新开始

现在,我只想了解为什么它不能在 /usr/bin/sudo 上使用 777 权限

请解释一下,提前谢谢。

command-line sudo
  • 2 个回答
  • 1893 Views
Martin Hope
Vivek Sharma
Asked: 2019-06-25 08:10:54 +0800 CST

需要通过命令设置休眠设置

  • 1

我需要通过带有或不带有 d-conf 的命令来解决这个问题,因为我每次准备新系统时都需要它。

怎么做?

command-line hibernate 18.04
  • 1 个回答
  • 46 Views
Martin Hope
Vivek Sharma
Asked: 2019-06-20 05:03:56 +0800 CST

使用 Ubuntu 启动时戴尔 G3 出现问题

  • 1

我购买了一台新的戴尔 G3 笔记本电脑,该系统配备了 Windows 10,当我删除 Windows 并以不同方式安装 Ubuntu 时,它无法启动,只出现以下错误:

未找到可启动设备。请按任意键重新启动。

我所做的是:

  1. 我在传统模式下安装了 Ubuntu。
  2. 我卸下了 HDD,并在现有 SSD 的同时添加了一个额外的 SSD,但我无法使用这两个磁盘启动。
  3. 我移除了额外的 SSD 并尝试仅使用现有 SSD 启动并得到相同的错误。
  4. 我用 RUFUS 做了一个可启动的并安装了 Ubuntu 19.04,它可以工作,但每次启动时都会挂起
  5. 我也无法使用分区安装,然后我不得不使用擦除磁盘并安装 Ubuntu选项。

如何在这台机器上安装 Ubuntu?

grub2 boot ssd partitioning 19.04
  • 1 个回答
  • 214 Views
Martin Hope
Vivek Sharma
Asked: 2018-12-28 21:45:31 +0800 CST

检测到 Ubuntu 16.04 有线和无线连接,但无法访问互联网

  • 0

[ https://superuser.com/questions/756145/ubuntu-14-04-wired-connection-detected-but-no-internet-access][1]

我检查了上面链接和 ping 中的答案,但我得到:

3个包发送,0个接收,100%丢包,时间2016ms

networking network-manager 16.04
  • 1 个回答
  • 139 Views
Martin Hope
Vivek Sharma
Asked: 2018-10-31 11:40:00 +0800 CST

无法在 Ubuntu 18.04 上将最新的 Firefox 浏览器添加到收藏夹

  • 5

我已经下载了最新的 Firefox tar.bz2 文件并在主目录中解压,我将它添加到收藏夹中。但是当我启动它时,它会显示旧版本。

如何在收藏夹中添加最新版本以直接从扩展坞启动它?

firefox gnome-shell ubuntu-dock 18.04 favorites
  • 4 个回答
  • 3081 Views
Martin Hope
Vivek Sharma
Asked: 2018-09-19 20:01:54 +0800 CST

电池电量不足时系统正在关闭(Ubuntu 18.04)

  • 5

当电池电量不足时,我的系统正在关闭,

我也在下面的链接中找到了这个:

https://help.ubuntu.com/stable/ubuntu-help/power-lowpower.html.en

我需要将其设置为挂起或休眠选项。

有没有办法做到这一点?

power-management hibernate 18.04
  • 1 个回答
  • 2945 Views
Martin Hope
Vivek Sharma
Asked: 2018-04-12 12:07:20 +0800 CST

无法连接某些 Wifi

  • 0

在此处输入图像描述我无法连接到 HP Notebook 15 的 Ubuntu 16.04 中的宽带 Wifi,但我能够将它与 Window 和 Android 手机连接。

以下是有关我的 Wifi 驱动程序和硬件的信息。

lspci

00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Processor Thermal Subsystem (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3)
00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI 
Express Fast Ethernet controller (rev 07)
0d:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe 
Wireless Network Adapter

rfkill 列出所有

0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

unname -r

4.13.0-37-generic

nmcli 开发 wifi 列表

 SSID     MODE   CHAN  RATE       SIGNAL  BARS  SECURITY 
 vivek_m  Infra  1     54 Mbit/s  62      ▂▄▆_  WPA2

有时

nmcli 开发 wifi 列表

 SSID     MODE   CHAN  RATE       SIGNAL  BARS  SECURITY 
 vivek_m  Infra  1     54 Mbit/s  62      ▂▄▆_  WPA2     
 pg 1     Infra  6     54 Mbit/s  24      ▂___  WPA2 

目前我无法与 pg1 连接,而其他 pg2 未显示在列表中,而我同时使用 pg2 与 android 连接,

有时 pg2 连接在 wifi 列表中可用,但不在命令列表中,请检查屏幕截图,它列在灯棚的 wifi 列表中,当我点击它时,它给了我一个错误:

(7) The access point /org/freedesktop/NetworkManager/AccessPoint/109 was
not in the scan list.

sudo lshw -c 网络

 network               
   description: Ethernet interface
   product: RTL810xE PCI Express Fast Ethernet controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:07:00.0
   logical name: enp7s0
   version: 07
   serial: 70:5a:0f:97:e8:cc
   size: 10Mbit/s
   capacity: 100Mbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet         physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=r8169    driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12     latency=0 link=no multicast=yes port=MII speed=10Mbit/s
   resources: irq:43 ioport:4000(size=256) memory:c5000000-c5000fff    memory:c5100000-c5103fff
  -network
   description: Wireless interface
   product: RTL8723BE PCIe Wireless Network Adapter
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:0d:00.0
   logical name: wlp13s0
   version: 00
   serial: 44:1c:a8:73:7d:25
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=rtl8723be driverversion=4.13.0-37-generic firmware=N/A ip=192.168.43.204 latency=0 link=yes multicast=yes wireless=IEEE 802.11
   resources: irq:16 ioport:3000(size=256) memory:c3000000-c3003fff

配置文件

enp7s0    no wireless extensions.

lo        no wireless extensions.

wlp13s0   IEEE 802.11  ESSID:"vivek_m"  
      Mode:Managed  Frequency:2.412 GHz  Access Point: CC:61:E5:42:7B:63   
      Bit Rate=72.2 Mb/s   Tx-Power=20 dBm   
      Retry short limit:7   RTS thr=2347 B   Fragment thr:off
      Power Management:on
      Link Quality=52/70  Signal level=-58 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:1701   Missed beacon:0

请让我知道是否还有其他需要在这里回答并帮助我连接以连接此 Wifi。

谢谢。

networking wireless drivers hp
  • 1 个回答
  • 906 Views
Martin Hope
Vivek Sharma
Asked: 2018-02-08 10:12:00 +0800 CST

数据库备份

  • 0

我想备份 /opt/lampp/var/mysql 中可用的 Xampp 数据库,但我做不到。我使用了以下命令

/opt/lampp/htdocs/vivek.s$ sudo mysqldump -u root -p vive.se > 07feb.sql

和

/opt/lampp/htdocs/vivek.s$ sudo mysqldump -h root -u root -p vive.se > 07feb.sql

结果是一样的

bash:07feb.sql:权限被拒绝

然后我用

须藤-s

sudo mysqldump -u root -p vive.se > 07feb.sql

结果是

sudo:mysqldump:找不到命令

它在/opt/lampp/htdocs/vivek.s​​中创建了一个名为07feb.sql的空文件

当我看到我的朋友使用相同的命令并且他得到了 95 MB 的数据库备份时,出了什么问题。我应该尝试什么。

谢谢

mysql lamp database xampp 16.04
  • 1 个回答
  • 446 Views
Martin Hope
Vivek Sharma
Asked: 2018-02-03 20:33:08 +0800 CST

格式化时需要保存数据

  • 0

我通常创建 5 个分区(/、/boot、/opt、/home、Swap)来安装 Ubuntu 16.04。我想在再次格式化时保存/home和/opt/lampp的数据。我现在通过在其他磁盘中进行备份来做到这一点。

有没有其他方法可以在没有任何其他磁盘的情况下在系统中进行备份。

当我使用可启动 USB 登录系统时,是否有其他方法可以在没有任何其他磁盘的情况下在系统中进行备份。

format boot partitioning backup lamp
  • 1 个回答
  • 319 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve