To enable directory listing in nginx virtual host, add Example If you want to enable directory listing for a specific directory, use following configuration Here /public directory have directory listing enabled. See Nginx
To enable Directory Listing in Apache, add following to .htaccess file. if you want to do this in httpd.conf file, in your virtual host entry, add something like
Default Cpanel Server installation have Symlink Vulnerability, that allow hacker to hack other sites hosted on the server once he have gained access to one of the web sites by creating Symlink. There are several solutions for this problem, including
To send email using sendmail, use Now you need to type in press enter, on next line, you can type message (email body). Once you enter the message, end it with a new line (Enter) and a DOT (.) character.
Lets start with install nginx. Restart nginx with command Now you will be able to visit server with IP address, will see default page like Nginx config for default web site is at /etc/nginx/sites-enabled/default, if you remove all comments, it
Memcached is a object cache available from https://memcached.org To install memcached on cpanel server, login to SSH as user root, run Enable memcached start on boot with Start memcached with Enable memcached PHP module For PHP applications to use memcached,
To install X2Go server on Debian, add the key Now add X2Go repo by editing file For debian 9, add If you are using different debian version, replace stretch with name of your debian version. You can find this with
X2GO allow you to connect to remote server (or VPS) and use it as remote desktop. On remote server, you need to install X2Go Server. To connect you need to use X2Go client. Client is available for Windows, Mac and
When you execute a program in linux command prompt or bash script, program return an exit code on completion. Return value is available in special variable $? When a program execute successfully, it return 0. For example Here first command
lspci list all PCI device on your system. On CentOS, lspci is part of package pciutils To list all PCI devices on your system, run To get detailed listing of devices, run Another useful command is lsusb, that list all