nginx reverse proxy

To pass a request to an HTTP proxied server, the proxy_pass directive is specified inside a location. For example: location /some/path/ { proxy_pass http://www.example.com/link/; } This example configuration results in passing all requests processed in this location to the proxied server at the specified address. This address can be specified as a domain name or an IP address.Seguir leyendo

php7 util extensions

apt-get install php7.0-gd php7.0-mysql php7.0-cli php7.0-cgi php-pear php7.0-mcrypt mcrypt imagemagick php7.0-curl php7.0-intl php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl memcached php-memcache php-imagick php-gettext php7.0-zip php7.0-mbstring memcached php7.0-soap

file permissions wordpress

For those who have their wordpress root folder under their home folder: ** Ubuntu/apache Add your user to www-data group: CREDIT Granting write permissions to www-data group You want to call usermod on your user. So that would be: sudo usermod -aG www-data yourUserName ** Assuming www-data group exists Check your user is in www-dataSeguir leyendo

Install And Configure Samba Server In CentOS 7

By SK – September 26, 2014 6992 As you may know, Samba is an open source, and free software suite that provides file and print services to the SMB/CIFS clients. It allows us to share files, folders, and printers between Linux server and Windows clients. Using Samba, we can setup a domain controller on Unix/LinuxSeguir leyendo

Add systemd service to Start Wake On LAN

In a previous tutorial we looked at how you can setup Wake on LAN (wol) on RHEL7 or CentOS7. In this tutorial we take another look at wol by adding a UDEV rule and systemd service, because the ETHTOOL_OPTS is deprecated. Deprecated ETHTOOL_OPTS If we take a look at /usr/share/doc/initscripts*/sysconfig.txt and search for ETHTOOL_OPTS we will findSeguir leyendo