“Ubutun”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
无编辑摘要
标签visualeditor-switched
无编辑摘要
 
第1行: 第1行:
=24.04=

*sudo unattended-upgrade #只安装security update(而且是静默模式)
*sudo unattended-upgrade #只安装security update(而且是静默模式)


*去除自动休眠
*去除自动休眠
:sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep. Target
:sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep. Target

*java
:apt install default-jdk

*firefox
:不知道为什么需要snap下的firefox,而且在VNC下无法打开
xhost +
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"

==http服务==
==http服务==
* apt-get install apache2 参见[https://linuxcapable.com/zh-cn/%E5%A6%82%E4%BD%95%E5%9C%A8ubuntu-linux%E4%B8%8A%E5%AE%89%E8%A3%85apache/]
* apt-get install apache2 参见[https://linuxcapable.com/zh-cn/%E5%A6%82%E4%BD%95%E5%9C%A8ubuntu-linux%E4%B8%8A%E5%AE%89%E8%A3%85apache/]
*启动usedir功能: a2enmod userdir
*启动usedir功能: a2enmod userdir
==old library==
*libXp.so.6 (idl7需要),直接copy到/usr/local/lib目录下(/etc/ld.so.conf),然后运行ldconfig
*libg2c.so.0(apt install libg2c0)


===mediawiki===
===mediawiki===

2024年8月20日 (二) 11:44的最新版本

24.04

  • sudo unattended-upgrade #只安装security update(而且是静默模式)
  • 去除自动休眠
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep. Target
  • java
apt install default-jdk
  • firefox
不知道为什么需要snap下的firefox,而且在VNC下无法打开
xhost +
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"

http服务

  • apt-get install apache2 参见[1]
  • 启动usedir功能: a2enmod userdir

old library

  • libXp.so.6 (idl7需要),直接copy到/usr/local/lib目录下(/etc/ld.so.conf),然后运行ldconfig
  • libg2c.so.0(apt install libg2c0)

mediawiki