Commands in Apache
Commands in Apache
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