$ gpg -a -export 89DF5277 | sudo apt-key add. Or add this to gpg $ gpg -keyserver -recv-key 89DF5277 Reference If dotdeb failed // fetch and install GnuPG key Install add-apt-repository $ sudo apt-get install software-properties-commonįor PHP 7.2 refers to this link. $ sudo nano /home/nginx-$ sudo chown cbz$ sudo chmod 0444 /home/nginx-$ ls -l /home/nginx-PHPMyAdmin for Nginx Set correct permissions using chmod command and chown command: $ sudo ln -s /etc/nginx/sites-available//etc/nginx/sites-enabled/// Finally test and reload server $ sudo nano /etc/nginx/sites-available/// Append the basic config To create a Virtual Hosts named enter To lock the password for the cbzwww account, enter: $ sudo useradd -c " user " -d /home/nginx-s /usr/sbin/nologin -m cbzwww First create a user named cbzdomain using the useradd command The /etc/nginx/nf is your main nginx config file and /etc/nginx/sites-enabled/default is default config file. $ sudo nano /etc/nginx/sites-enabled/default You can edit it with either vim command/nano command It is defined in /etc/nginx/sites-enabled/default config file. This is known as the root of your web server. By default all HTML/css/images files are stored in /var/www/html/ directory. Or find your public IP address using the ip command/ifconfig command To enable Nginx on boot run the following systemctl command Use the netstat command as follows to verify that port 80 is open Multimedia (ffmpeg) $ deb wheezy main non-freeĪllow apt to trust deb-multimedia key $ apt-get install deb-multimedia-keyring vboxnet0, vmnet1, vmnet8: Virtual machine interface working in bridge mode or NAT mode.ppp0: First Point to Point Protocol network interface which can be used by dial up modem, PPTP vpn connection, or 3G wireless USB modem./li>.wlan0: First Wireless network interface.eth0: First Ethernet network interface.ifconfig command: It is used to display or configure a network interface.netstat command: It is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.ip command: It is used to show or manipulate routing, devices, policy routing and tunnels.
0 Comments
Leave a Reply. |