Home u4s Know How


u4s KnowHow

The tips and information, tutorials, and discussions. When  a team work environment is needed.

Display # 
# Web Link Hits
1   Link   Directives suPHP ISPconfig3
When suPHP is used, regular apache2 directives are ignored. Directives have to be redirected to php.ini file. Simple nice clean how to.

Works on ISPconfig3.
2   Link   DNS TXT SPF
Wizard for creating SPF records on DNs, to filter mail traffic.
3   Link   SSMTP
TLS is already activated. Please be aware that SSMTP and TLS are two different things. If you want to use SSMTP too, remove the # in front of the lines:
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
4   Link   VMware server Ubuntu 10.04
Latest How-To that worked.
5   Link   Joomla login & logout based on a status
How to make login button hidden while registered, and make logout button appear.meta_mod
6   Link   Test DNS configuration
To test how well DNS server is working.
Mine is just fine. Any warnings or info that I have is desirable to my application.
7   Link   Test SPF and other
Test and scan variety of server outputs and configurations.
8   Link   LVM
The flexibility that is so desired when comes down to disks, hard drives, an partitions.
9   Link   NFS
Network shares How-To.
10   Link   WebDav
Enable WebDav on Ispconfig3 server.
11   Link   Czech locales support Ubuntu
sudo apt-get install language-pack-cs
That is all that is needed, then enable czech language in gallery 2 and log out/in.
12   Link   ImageMagic GraphicMagic Ubuntu
sudo su
tar xvfz ImageMagicxxxxxx
cd to ImageMagicxxxxx
make install
13   Link   FFmpeg
ffmpeg on Ubuntu
14   Link   RAID choice of the practical and concearned.
Why to sort your preference of RAID in this order, while keeping cost down, and maximum redundancy and speed? Order 10,3,4, and then 5 RAID?
15   Link   Dimentions on the Fly page
Show dimensions on the Fly page in Virtue- mart
Also to change the decimals do this:
$product_length = number_format($db_product->f("product_length"),1)

the number 1 stands for a decimal count egg:1 = 0.1, 2=0.11
16   Link   SEF SEO joomla broken page
Fixing broken site when SEF is enabled.
Situation: Joomla template missing. Pages displayed with no templates.
To correct the problem, when enabling Search Engine Friendly URLs in the Global Configuration, edit the configuration.php file variable $live_site.
The default $live_site variable in configuration.php is
var $live_site = ''
If Joomla is not in the root, then you need to include the folder path
var $live_site = 'http://www.mysite.com/myjoomlafolder'
17   Link   www or not to www
Simplicity and functionality. It is time consuming to try to eliminate www globall. Simple tools allow us to chose what do you like. And who knows what direction the www gonna have? It is sub domain after all.

RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

I modified the code above, not to only
redirect www site to non www site, but also to redirect traffic from .com to .net(.com only purchased to to preserve .com but i use .net for my main use)

So if you type www.com or .com or www.net, you always end up as 301 permanent redirect on plain .net.

Placed in preserveonly.com .htaccess or apache directive in ispconfig 3.
This one redirects is from one TDL to another: www.preserve.com or preserve.com to mainsite.net:

RewriteEngine on
RewriteRule (.*) http://mainsite.net [R=301,L]

Placed in mainsite.net .htaccess or apache directives in ispconfig3.
This one removes the www:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1 [R=301,L]

Use redirect checker to sum it all up:
18   Link   Run vmware and nvidia after kernel upgrade
sudo ./home/user/Documents/computer/VMware/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/vmware-server-2.0.x-kernel-2.6.3x-install.sh
sudo killall Xorg
sudo ./home/user/Documents/computer/Nvidia/NVIDIA-Linux-x86_64-260.19.21.run

Change location to sripts.
Kill X server to install Nvidia.

Ubuntu, Nvidia, VMware
19   Link   Server update MOD discrepenci
When I log in the server, I get message:
# packages can be updated.
# updates are security updates.
But this can't be resolved by any form of update/upgrade commands, like apt-get or aptitude.

Solution is to remove the Mesage Of the Day template.

sudo rm /etc/motd.tail
20   Link   Command line wireless configuration
sudo ifconfig wlan0 up
sudo iwlist wlan0 scanning

sudo nano /etc/network/interfaces:
auto wlan0
iface wlan0 inet static

wireless-essid SSIDHERE
wireless-channel 11
wireless-mode managed
# wireless-rts 2304
# wireless-frag 2304
wireless-key WEPkEyHerE
<< Start < Prev 1 2 Next > End >>
Page 1 of 2