ubuntu 18.04 修改Apache默认目录 安装是直接运行 sudu apt install apache2 安装之后要修改目录 vi /etc/apache2/sites-available/000-default.conf 我将里面的内容修改成下面 <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to ide…
此教程中使用的相关IP等设置,在你的环境中要做相应修改. 使用之前更新apt-get,因为服务器基本上是一个裸系统 apt-get update;apt-get upgrade; 1 我们使用root账户进行安装,首先切换到root账户,输入命令: sudo su 2 安装 MySQL 5输入命令: apt-get install mysql-server mysql-client 安装过程中需要设置root账户密码,系统会作以下提示: New password for the MySQL ”r…
TeX Live默认目录情况: TEXDIR (the main TeX directory): !! default location: /usr/local/texlive/2015 !! is not writable or not allowed, please select a different one! TEXMFLOCAL (directory for site-wide local files): /usr/local/texlive/texmf…