Saturday, May 24, 2014

Proxmox Note

For Booting up FreeBSD OS

Hello forum

I've successfully installed pfsense 2.0 beta4 on a kvm virtualized environment running on AMD processors.

Problem:
Just like FreeBSD 8.1, pfsense 2.0 crashed on me with fatal trap 9 in early boot stage.
(64 bit FreeBSD 8.1 crashed with fatal trap 12 ... )

Fix:
Choose "7. loader prompt" on boot menu.
Code: [Select]
set hw.mca.enabled=0
boot

After successfull install, add hw.mca.enabled=0 to /boot/loader.conf.
Code: [Select]
echo "hw.mca.enabled=0" >> /boot/loader.conf
...has to be applied again after every upgrade of pfsense.

successfully tested on cloudsigma.com and elastichosts.com .

Sunday, October 27, 2013

FreeNAS - Empty Plugins - "No entry has been found"

Empty Plugins for FreeNAS 9.1 for me i put Network -> Global Configuration nameserver1 8.8.8.8 nameserver1 8.8.4.4 Hi guys, same problem , Plugins list empty, (freshly installed FreeNAS-9.1.1-RELEASE-x64 (a752d35)) fix for me was: Network -> Global configuration fill in your IPv4 Default Gateway not only gateway have to put in Network > Global Configuration NameServers (DNS) too after that and few reboots it works !! Source: http://forums.freenas.org/threads/why-dont-i-have-any-plugins-available.14515/ http://forums.freenas.org/threads/no-entry-has-been-found-after-failed-attempt-to-add-plugin.14000/ keywords: FreeNAS empty plugins, No entry has been found, No available Plugins.

Tuesday, October 22, 2013

Alcatel-Lucent OS6850-24

  • VLAN
    • ADD
      • ACCESS PORT
      • -> VLAN [ID] port default [port / slot] 
        example> vlan 1792 port default 2/13
      • TRUNK PORT
      • -> VLAN [ID] 802.1q [port/slot] 
        example> vlan 1792 802.1q 2/13
    • REMOVE
      • ACCESS PORT
      • -> VLAN [ID] no port default [port / slot] 
        example> vlan 1792 no port default 2/13
      • TRUNK PORT
      • -> VLAN [ID] no 802.1q [port/slot] 
        example> vlan 1792 no 802.1q 2/13




  • SHOW

    • -> Show VLAN port [port/slot]
      example> show vlan port 2/13


    • PORT
      • ADD ALIAS
      • -> interfaces [slot/port] alias "description"
        example> interfaces 1/20 alias "WIRELESS AP"


    • COMMIT CHANGE
      • -> write memory
      • -> copy working certified
      • -> copy flash-synchro
      • OR

      • -> write memory
      • -> copy working certified flash-synchro

    Friday, October 7, 2011

    CSS - drop down menu tag

    select {
    font-family: Verdana, Arial, sans-serif;
    font-size: 0.8em;
    }

    Magento - Change Price Color

     in styles.css

    about line 806

    /* Old price */
    .old-price { margin:0; }
    .old-price .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
    /*.old-price .price { font-weight:bold; font-size:13px; color:#396f00; text-decoration:line-through; }*/
    .old-price .price {
        font-weight:bold;
        font-size:13px;
        color:#333;
        text-decoration:line-through;
    }



    /* Special price */
    .special-price { margin:0; }
    .special-price .price-label { font-size:11px; font-weight:bold; text-transform:uppercase; white-space:nowrap; color:#000; }
    .special-price .price {
        font-size:13px;
        font-weight:bold;
        color: #C00;
    }

    Thursday, October 6, 2011

    Install PHP 5.3.8 / IIS6 on Windows Server 2003



    PHP Require FastCGI 
    http://www.iis.net/download/FastCGI

    1. Install FastCGI







    2. Download PHP Installer for Windows













    Setup PHP 5.3.8 on Windows 2003 II6  Tutorial - http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/


    Install MySQL 5.5.15 on Windows Server 2003



    1.Install .Net Framework 4.0  - Required to install Mysql


    http://www.microsoft.com/download/en/details.aspx?id=17851









    2. Install MySQL Installer from

    http://dev.mysql.com/downloads/installer/












    3. If you get the Port 3306 already in use.

    Stop the MySQL55 Services and then continue with the configuration of install








    4. Create a Local Admin Other than the root
    mysql> CREATE USER 'admin'@'localhost' IDENTIFIED BY 'some_pass';
    mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
        ->     WITH GRANT OPTION;
    
    
    5. Then Create a User that can be used from any computer with a wildcard
     mysql> CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
    mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'
        ->     WITH GRANT OPTION;
    
    
    6. To Show All Users
    mysql>  select User from mysql.user;
     

    7. To Delete Users
    mysql> DROP USER 'jeffrey'@'localhost';


    8. To Clear index auto increment count to start from 0 again:

    Run a query: ALTER TABLE tablename AUTO_INCREMENT = 1