Knowledgebase

Setup Angular 4 development

Install node js:

cd /usr/local/src
#wget http://nodejs.org/dist/v[version number here]/node-v[version number here].tar.gz
#tar -zxvf node-v[version number here].tar.gz
#cd node-v[version number here]
#./configure –prefix=/usr/local
#make
#make install

if GCC version error:

sudo curl http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo > /etc/yum.repos.d/slc6-scl.repo
sudo yum install –nogpgcheck -y devtoolset-3

point at new gcc
scl enable devtoolset-3 ‘bash’

 

Devtoolset is located at /opt/rh

Determine which PHP script is emailing on Unix

1. create /var/log/phpmail.log
2. edit /usr/local/lib/php.ini
add
mail.add_x_header = On
mail.log = /var/log/phpmail.log

Cannot share in Windows 10 Workgroup environment

Try the following:

In Services, standard tab, check that the following are started, and automatic
. DNS Client
. Functional Discovery Resource
. SSD Discovery
. UPnP Device Host

Make sure devices have static IP’s. Use netcfg -d to reset the network. When doing this, go thru and reset the tcp/ip settings. Use no spaces, caps for device name.

Bulk remove blank lines

Click CTRL + F
Select “Current document” in “Find in” (You can also select the folder if you have multiple files)
Search in “Source code”
Tick “Use regular expression”
Type “[\r\n]{2,}” (without quotes) in “Find”
Type “\n” (without quotes) in “Replace”
Press “Replace All”

How to access non-wordpress subfolder

Add at the beginning of the .htaccess file:


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/subdirectoryname1/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/subdirectoryname2/(.*)$ [OR]
RewriteRule ^.*$ – [L]

Cannot Send or Receive Email

Check your email settings:

POP3:  Incoming and Outgoing server:  mail.[YOURDOMAIN].com

Username is your full email address, lowercase.  Password is as provided to you.  Outgoing server requires authentication.  Do not use SSL unless you have your own SSL Certificate.

Cannot Send Email

If it is only a sending problem, check the outgoing server port number.  If it is 25, try setting it to 587.

Comments are closed