Strict Standards: Redefining already defined constructor for class wpdb in /var/www/myfoto.se/jbits.se/blog/wp-includes/wp-db.php on line 56
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/myfoto.se/jbits.se/blog/wp-includes/cache.php on line 36
Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /var/www/myfoto.se/jbits.se/blog/wp-includes/cache.php on line 384
Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541
Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541
Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541
Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 541
Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 560
Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659
Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659
Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659
Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 659
Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 684
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/myfoto.se/jbits.se/blog/wp-includes/query.php on line 21
Deprecated: Assigning the return value of new by reference is deprecated in /var/www/myfoto.se/jbits.se/blog/wp-content/plugins/code-highlighter/codehighlighter.php on line 42
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82 jbits.se Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
» Linux
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
Warning: Creating default object from empty value in /var/www/myfoto.se/jbits.se/blog/wp-includes/classes.php on line 407
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
Archive for the ‘ Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/myfoto.se/jbits.se/blog/wp-includes/formatting.php on line 82
Linux’ Category
Posted by jbjorkman on October 22, 2010 under Citrix, Linux
Add the following text to OS Boot Parameters under your VMs Startup options: rw init=/bin/bash
Boot your Access Gateway VPX VM, you'll be presented with a bash prompt.
Run the following to change specified text in the default (english) logonpage:
sed -i 's/User name:/Anv\ändarnamn:/g' /runtime/S0/etc/en/login.html
sed -i 's/Password:/L\ösenord:/g' /runtime/S0/etc/en/login.html
sed -i 's/Welcome/V\älkommen/g' /runtime/S0/etc/en/login.html
sed -i 's/Log On/Logga in/g' /runtime/S0/etc/en/login.html
Remove the OS Boot Parameters and reboot your AG VPX.
Posted by jbjorkman on February 19, 2010 under Linux, Network
tcpdump -s 0 -i eth0 -c 10 -w - -U | tee capture.pcap | tcpdump -n -r -
Full packets are written to capture.pcap, at the same time tcpdump -r decodes the stream to console.
-s 0 (Whole packets)
-w - (Write output to console)
-U (Do not buffer output)
Installing System Management Homepage (optional)
Login as expert on SPLAT and create the following file: echo "Red Hat Enterprise Linux ES release 3 (Taroon)" > /etc/redhat-release
Install the hpsmh package: rpm -ivh hpsmh-2.1.8-177.linux.i386.rpm
Install support files for HPASM
Extract the Splat hpasm supportfiles: tar xzvf splat_hpasm_support_files.tgz splat_hpasm
Copy the IPMI sysconfig file (If your system has an iLO2 Mgmt Controller) cp splat_hpasm/init_scripts/sysconfig_ipmi /etc/sysconfig/ipmi
Copy the IPMI init script for your kernel version (Check with uname –r) cp splat_hpasm/init_scripts/2.4_init_ipmi /etc/init.d/ipmi
Copy the libstdc++-3-libc6.2-2-2.10.0.so file to /usr/lib and set up a link cp splat_hpasm/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++-libc6.2-2.so.3 chmod 755 /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
Enable SNMP
Snmp service enable
Install HPASM
Remove any previous versions if present: rpm -e hponcfg rpm -e cmanic rpm -e hprsm rpm -e hpasm
Install the HPASM package rpm -ivh hpasm-7.8.1-116.rhel3.i386.rpm
Install the NIC Agents rpm -ivh cmanic-7.7.0-5.rhel3.linux.rpm
To reconfigure run: /etc/init.d/hpasm configure or /etc/init.d/hpasm reconfigure
Do you wish to continue? <y/n> (blank is y) y Do you want to load the hp modules even though they may "taint" your kernel? <y/n> (Blank is y)n
Do you wish to use an existing snmpd.conf (y/n) (Blank is n): n
Do you require SNMP agents (y/n) ? (Blank is y): y
Do you require Storage Agent support (y/n) ? (Blank is y): y Do you require performance agent support (y/n) ? (Blank is y): y
Enter the localhost SNMP Read/Write community string
(one word, required, no default): ******** Re-enter the same input to confirm:********
Enter localhost SNMP Read Only community string
(one word, Blank to skip): ********
Re-enter the same input to confirm: ********
Enter Read/Write Authorized Management Station IP or DNS name
(Blank to skip): [Blank]
Enter Read Only Authorized Management Station IP or DNS name
(Blank to skip): [Blank]
Enter default SNMP trap community string
(One word; Blank to skip): [Blank]
Enter SNMP trap destination IP or DNS name
(One word; Blank to skip): [Blank]
Enter system contact information
(Name, phone, room, etc; Blank to skip): [Blank]
Enter system location information
Building, room, etc; Blank to skip): [Blank]
Do you wish to disable hpsmh support (y/n) (Blank is n):n
Do you wish to keep CCISS device handle open (y/n): y