0% found this document useful (0 votes)
26 views

Commands in Apache

The document details the installation and configuration of various PHP packages and modules like php7.0-gd, php-xml, php7.0-mbstring, php7.0-mcrypt, and phpmyadmin on a system. It creates configuration files for each module and grants access to the phpmyadmin database before completing the installation.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Commands in Apache

The document details the installation and configuration of various PHP packages and modules like php7.0-gd, php-xml, php7.0-mbstring, php7.0-mcrypt, and phpmyadmin on a system. It creates configuration files for each module and grants access to the phpmyadmin database before completing the installation.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Setting up libjs-jquery (1.11.3+dfsg-4) ...

Setting up libjs-underscore (1.7.0~dfsg-1ubuntu1) ...


Setting up libjs-sphinxdoc (1.3.6-2ubuntu1.2) ...
Setting up libmcrypt4 (2.5.8-3.3) ...
Setting up php7.0-gd (7.0.33-0ubuntu0.16.04.9) ...

Creating config file /etc/php/7.0/mods-available/gd.ini with new version


Setting up php-gd (1:7.0+35ubuntu6.1) ...
Setting up php7.0-xml (7.0.33-0ubuntu0.16.04.9) ...

Creating config file /etc/php/7.0/mods-available/dom.ini with new version

Creating config file /etc/php/7.0/mods-available/simplexml.ini with new version

Creating config file /etc/php/7.0/mods-available/wddx.ini with new version

Creating config file /etc/php/7.0/mods-available/xml.ini with new version

Creating config file /etc/php/7.0/mods-available/xmlreader.ini with new version

Creating config file /etc/php/7.0/mods-available/xmlwriter.ini with new version

Creating config file /etc/php/7.0/mods-available/xsl.ini with new version


Setting up php-xml (1:7.0+35ubuntu6.1) ...
Setting up php-pear (1:1.10.1+submodules+notgz-6ubuntu0.1) ...
Setting up php-gettext (1.0.11-2build1) ...
Setting up php7.0-mbstring (7.0.33-0ubuntu0.16.04.9) ...

Creating config file /etc/php/7.0/mods-available/mbstring.ini with new version


Setting up php-mbstring (1:7.0+35ubuntu6.1) ...
Setting up php7.0-mcrypt (7.0.33-0ubuntu0.16.04.9) ...

Creating config file /etc/php/7.0/mods-available/mcrypt.ini with new version


Setting up php-mcrypt (1:7.0+35ubuntu6.1) ...
Setting up php-phpseclib (2.0.1-1build1) ...
Setting up php-tcpdf (6.0.093+dfsg-1ubuntu1) ...
Setting up phpmyadmin (4:4.5.4.1-2ubuntu2.1) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf

Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version

Creating config file /etc/phpmyadmin/config-db.php with new version


granting access to database phpmyadmin for phpmyadmin@localhost: success.
verifying access for phpmyadmin@localhost: success.
creating database phpmyadmin: success.
verifying database phpmyadmin exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
apache2_invoke: Enable configuration phpmyadmin
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for libapache2-mod-php7.0 (7.0.33-0ubuntu0.16.04.9) ...
root@intranet:/etc/apache2/sites-available# ls
000-default.conf default-ssl.conf intranet.conf mrbs.conf
root@intranet:/etc/apache2/sites-available# cd
root@intranet:~# ls
root@intranet:~# cd /home/tejaswini/
root@intranet:/home/tejaswini# ls
lynx_2.8.9dev8-4ubuntu1_i386 (copy).deb
root@intranet:/home/tejaswini# rm -rf lynx_2.8.9dev8-4ubuntu1_i386\ \(copy\).deb
root@intranet:/home/tejaswini# clear

root@intranet:/home/tejaswini# ls
root@intranet:/home/tejaswini# cd ..
root@intranet:/home# ls
tejaswini
root@intranet:/home# mkdir intranet
root@intranet:/home# chmod +x intranet -R
root@intranet:/home# ls -all
total 16
drwxr-xr-x 4 root root 4096 Jan 24 16:56 .
drwxr-xr-x 23 root root 4096 Jan 24 16:09 ..
drwxr-xr-x 2 root root 4096 Jan 24 16:56 intranet
drwxr-xr-x 3 tejaswini tejaswini 4096 Jan 24 16:56 tejaswini
root@intranet:/home# history
1 vi /etc/network/interfaces
2 service networking restart
3 ifconfig
4 reboot
5 dpkg -i
6 dpkg -i lynx_2.8.9dev8-4ubuntu1_i386\ \(copy\).deb
7 apt update
8 apt upgrade
9 apt install -f
10 exit
11 apt update
12 apt upgrade
13 passwd
14 exit
15 vi /etc/ssh/sshd_config
16 service sshd restart
17 reboot
18 exit
19 ls
20 cd /
21 ls
22 cd etc/
23 ls
24 cd apache2/
25 ls
26 a2enconf
27 a2enmod
28 a2enmod php7.0
29 a2ensite
30 ls
31 clear
32 ls
33 cd sites-available/
34 ls
35 clear
36 ls
37 vi 000-default.conf
38 ls
39 cp 000-default.conf intranet.conf
40 vi intranet.conf
41 cp 000-default.conf mrbs.conf
42 a2ensite
43 service apache2 restart
44 apt install phpmyadmin
45 ls
46 cd
47 ls
48 cd /home/tejaswini/
49 ls
50 rm -rf lynx_2.8.9dev8-4ubuntu1_i386\ \(copy\).deb
51 clear
52 ls
53 cd ..
54 ls
55 mkdir intranet
56 chmod +x intranet -R
57 ls -all
58 history

You might also like