Difference between revisions of "Install Apache on Ubuntu 22.04"
From Jay's Cafe' Wiki
Jayctheriot (talk | contribs) m |
Jayctheriot (talk | contribs) m |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
*Using the "Bionic" image maintained on virt01: | *Using the "Bionic" image maintained on virt01: | ||
<pre> | <pre> | ||
lxc launch | lxc launch ubu2204 <name of server> | ||
lxc exec <name of server> bash | lxc exec <name of server> bash | ||
sudo -i | sudo -i | ||
Line 8: | Line 8: | ||
apt install wget -y | apt install wget -y | ||
cd /etc/apt/apt.conf.d/ | cd /etc/apt/apt.conf.d/ | ||
wget 192.168.0. | wget 192.168.0.128/02proxy | ||
apt update | apt update | ||
apt full-upgrade -y | apt full-upgrade -y | ||
apt install vim-nox vim-scripts vim-youcompleteme exuberant-ctags bash-completion git apache2\ | 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\ | libapache2-mod-geoip mysql-client postfix mailutils mailutils-mh lynx-common tre-agrep\ | ||
exuberant-ctags imagemagick php inkscape php openssh-server -y | exuberant-ctags imagemagick php inkscape php openssh-server \ | ||
php-bz2 php-curl php-gd php-mysql php-readline php-x* php-zip libapache2-mod-php -y | |||
</pre> | </pre> | ||
Line 23: | Line 24: | ||
Setting up for Wordpress | Setting up for Wordpress | ||
<pre> | <pre> | ||
wget http://wordpress.org/latest.tar.gz | wget http://wordpress.org/latest.tar.gz | ||
cd /var/www/ | cd /var/www/ | ||
Line 32: | Line 31: | ||
cd .. | cd .. | ||
chown -R www-data. html | chown -R www-data. html | ||
chmod -R g+w html | |||
cd /root | |||
wget https://www.webmin.com/download/deb/webmin-current.deb | |||
dpkg -i webmin-current.deb | |||
apt-get install -f | |||
</pre> | </pre> |
Latest revision as of 02:59, 30 May 2023
- Put on a good playlist on Plex
- Using the "Bionic" image maintained on virt01:
lxc launch ubu2204 <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.128/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 \ php-bz2 php-curl php-gd php-mysql php-readline php-x* php-zip libapache2-mod-php -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
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 chmod -R g+w html cd /root wget https://www.webmin.com/download/deb/webmin-current.deb dpkg -i webmin-current.deb apt-get install -f