donderdag 24 december 2015

Browser Remote Desktop : Access your computer from anywhere


System:
MINIX NEO Z64 - WINDOWS 10 MINI PC / TV BOX
Windows 8.1
Intel Atom processor with 4 cores. It is a 64bit system with a 32bit OS on top.
Intel processor allows for virtualization.


Upgrade to:
Windows 10 Home

Installed :
RDP Wrapper ( https://github.com/binarymaster/rdpwrap/releases )

- Command Prompt (Admin privileges)
- install.bat
- update.bat

Create Windows Account with a password and Administrator privileges

Installed: ThinRDP : http://www.cybelesoft.com/helps/thinrdp/server/
I've bought a license and it is absolutely worth the investment!

Thin RDP Workstation configuration : Digest account so that it is better secured or even better a NTLM or certificate but that isn't as flexible.

If you setup two accounts one for Windows and one for the thinrdp it is reasonably secure.

You need to port-forward on the router to the system on which you installed the software.


On this system I installed virtual box 5.0 so I could run a 64-bit Oracle Linux with my website on it.




zaterdag 19 december 2015

Joomla 1.5



$ mkdir /var/www/html/joomla

Copy the .zip file to /var/www/html/joomla

Unpack the .zip file:

$ cd /var/www/html/joomla
$ unzip Joomla*1.5*

Make an empty configuration file
$ touch configuration.php

$ cd ..
$ chown apache:apache joomla



$ service httpd restart
$ service mysqld restart


Browse to http://localhost/joomla

The installation page should be showing and the page checks if all the modules
and configuration can be saved.

Use the NEXT button to configure your environment.

Create your database (joomla15) accordingly and/or use a specific database
user for your environment.

admin account credentials should be given.

Finally rename your installation directory:

$ cd /var/www/html/joomla
$ mv installation inst_old


Joomla

Site -> User Manager

Create user (info) and grant it Administrator rights (Not Super Administrator!)

Login with info - user

The site is known as :
http://localhost/joomla

And you can do administration with:
http://localhost/joomla/administrator

CHANGING LOGO

Unfortunately such a basic thing as changing the logo is complicated!

copy mw_joomla_logo.png from the templates:

C:> pscp root@ip:/var/www/html/joomla/templates/rhuk_milkyway/images/mw_joomla_logo.png .

Modify using a program like GIMP, MS Paint

Copy back

C:> pscp mw_joomla_logo.png root@ip:/var/www/html/joomla/templates/rhuk_milkyway/images/.

Now you have to alter the CSS file to match the dimensions of your image.

$ cd /var/www/html/joomla/templates/rhuk_milyway/css
$ vi template.css

Search for div#logo section and change:
width: 298px;
height: 75px;

into your dimensions...


Other TEMPLATE

Download template as ZIP archive.
First you check if this can be installed as an extension:

Extensions=> Install/Uninstall
Try to install the zip archive as a package.

If that fails you can do this:

Upload the ZIP file to the /var/www/html/joomla/templates directory

$ unzip [template].zip

Change owner to apache:apache

$ cd /var/www/html/joomla/templates
$ chown -R apache:apache [template]

Sometimes you need to make a file writable (params.ini)

PAGES
Content -> Article Manager

Create pages using the Article Manager.
In the page you can create links and text.

Menu Editor
With Menu Manager you first create the menu options.
The menu's can be bound to the articles (pages) you created.
  +New
 (Article Layout) -> Select article 

Main Menu -> Menu Items button
Gives you the option to create a menu with the different submenu's 
 (Submenu is done via ALIAS)
  Main Menu  [ Edit Menus ] button
 + New
    Alias 
      Select menu item from the right panel




BANNER

Banner Manager
  Create a Catagory
  Create a Client
  And lastly you can create the Banner by selecting the category and client.

Activate Banner

 Module Manager
   New
    Click (o) Banner
    
Enter the sheet for the information and allow all modules to be bound to the banner.
Make sure that the menu's are ENABLED from the module manager.