Difference between revisions of "Install Apache on Ubuntu 22.04"

From Jay's Cafe' Wiki
m
m
Line 19: Line 19:
*Enter FQDN of server<br>
*Enter FQDN of server<br>
*Enter "kgtservices.com:26" in SMTP relay host<br>
*Enter "kgtservices.com:26" in SMTP relay host<br>
<pre>*dpkg-reconfigure  tzdata </pre>
<pre>dpkg-reconfigure  tzdata </pre>
*select US then Central
*select US then Central
Setting up for Wordpress
Setting up for Wordpress
<pre>
<pre>
apt install php7.2-bz2 php7.2-curl php7.2-gd php7.2-mysql php7.2-readline  php7.2-x* php7.2-zip libapache2-mod-php7.2 libapache2-mod-geoip -y
apt-get install php-bz2 php-curl php-gd php-mysql php-readline  php-x* php-zip libapache2-mod-php libapache2-mod-geoip -y


wget http://wordpress.org/latest.tar.gz
wget http://wordpress.org/latest.tar.gz

Revision as of 03:41, 20 June 2021

  • Put on a good playlist on Plex
  • Using the "Bionic" image maintained on virt01:
lxc launch Bionic <name of server>
lxc exec <name of server> bash
sudo -i
apt update
apt install wget -y
cd /etc/apt/apt.conf.d/
wget 192.168.0.127/02proxy
apt update
apt full-upgrade -y
apt install vim-nox vim-scripts vim-youcompleteme exuberant-ctags bash-completion git apache2\
     libapache2-mod-geoip  mysql-client postfix mailutils mailutils-mh lynx-common tre-agrep\
     exuberant-ctags imagemagick php inkscape php openssh-server -y 

  • On "Postfix Configuration" select "Satelite system"
  • Enter FQDN of server
  • Enter "kgtservices.com:26" in SMTP relay host
dpkg-reconfigure  tzdata 
  • select US then Central

Setting up for Wordpress

apt-get install php-bz2 php-curl php-gd php-mysql php-readline  php-x* php-zip libapache2-mod-php libapache2-mod-geoip -y

wget http://wordpress.org/latest.tar.gz
cd /var/www/
tar xvzf /root/latest.tar.gz
cd html
mv /var/www/wordpress/* .
cd ..
chown -R www-data. html