RaSor's Tech Blog

April 3, 2012

Lync resources

Filed under: Cloud, Exchange, Lync, Study — rasor @ 11:27 am

With the intension of building Lync business processes using API’s here are some resources.

List of Resources

Refs

Books

Code

Deploy

Sites and bloggers

The end.

March 1, 2012

Linux hosting newbie

Filed under: Deployment, Drupal, Linux, PHP — rasor @ 5:35 pm

Hmmm – trying to get a little head and tail of what you can do, when deploying to a Linux hotel via FTP and WWW.

Apache webserver

The folders that can be reached by FTP are hosted by Apache webserver.

The sites it is hosting can be configured by (differently in each folder, if needed) by a file named .htaccess (like web.config in .NET).

Example: Configure vars for PHP:

php_flag allow_url_include Off
php_flag register_globals Off

Log files

In domain settings of my hotel one can get access to two log files:
  • Error Log – Use it to read HTTP 500 errors in your site.
  • Web Log – Use it to track traffic on your site.

By default the Error Log is disabled and the other enabled.

The Error Log file for a certain site is in the FTP program found as file://logs/myweb.xx error_log . It has no file-extension.

The latest Web Log file for a certain site is in the FTP program found as file://logs/myweb.xx myweb.xx .

PHP

- is a script language like Asp executed by Apache.

To be able to print the current PHP settings create a php script called phpinfo.php:

<?php phpinfo(); ?>

Upload the file and call it: file://myweb.xx/phpinfo.php

Checkout this post http://drupal.org/node/534594#comment-4557372 to see a php script, that reads vars.

Drupal

- is a PHP CMS

Before Installing

You might need to change some php settings on you site in file://myweb.xx/.htaccess

I have set the following:

#might be needed for D6.x
RewriteBase /
#Default at my host: 128M
php_value memory_limit 256M
php_flag register_globals Off
#Default at my host: 16K
#php_value realpath_cache_size 32K
php_value max_input_time 120

After upload and uncompression of package on webhotel

(package might be downloaded from http://drupal.org/project/installation%20profiles?page=1&filters=bs_project_sandbox%3A0&solrsort=ds_project_latest_release%20desc)

In version 6.x you need to write enable ./sites/default/settings.php by copying default.settings.php and do chmod to 777 and default folder to 755 (was 644 and 705).

Now do installation by executing http://myweb.xx/drupal-7.12/install.php

If something goes wrong visit http://drupal.org/Troubleshooting-FAQ and check the errorlog as mentioned above – heading Logfiles.

After Installing

You might get in a situation, where you can’t login. Append “/user/login” to your root-site to get a login form. E.g. http://myweb.xx/drupal-7.12/user/login

Restoring / Moving

http://drupal.org/node/780910

The End

December 27, 2011

Windows links

Filed under: Administration, Dos, Windows — rasor @ 12:28 pm

This post will contain some Windows 7 helpfull stuff

Windows Explorer commands

Dos batch script

Links

  • Link to Administrative Tools : shortcut:%systemroot%\system32\control.exe /name Microsoft.AdministrativeTools

The End

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.