Lines Matching refs:sudo
190 if ! sudo apt-get install -y ${PKG_LIST}; then
198 sudo mkdir -p "${AT_DIR}"
199 sudo mount --bind "${AUTOTEST_DIR}" "${AT_DIR}"
202 sudo chown -R "$(whoami)" "${AT_DIR}"
212 sudo su -c \
245 sudo mkdir /etc/apache2/run
247 sudo ln -sf "${AT_DIR}"/apache/apache-conf \
251 sudo a2dissite 000-default default || true
252 sudo a2ensite autotest-server.conf
254 sudo a2enmod rewrite
255 sudo a2enmod wsgi
256 sudo a2enmod version || true # built-in on trusty
257 sudo a2enmod headers
258 sudo a2enmod cgid
265 sudo /etc/init.d/apache2 restart
268 sudo apt-get install lxc -y
269 sudo python "${AT_DIR}"/site_utils/lxc.py -s
276 sudo mkdir -p "$APACHE_SSH_DIR"
277 sudo bash <<EOF
279 sudo cp "$CROS_CHECKOUT/$SSH_KEYS_PATH/"* .
280 sudo tee config >/dev/null <<EOF2
285 sudo chown -R "$APACHE_USER:" .
286 sudo chmod -R go-rwx .