Install minimum only base system. (you can use the server/alternate cd)
sudo apt-get update
sudo apt-get upgrade
sudo aptitude -y install xserver-xorg-core xinit menu menu-xdg jwm fluxbox alsa-utils mrxvt-m
# sudo aptitude install jwm
# sudo aptitude install fluxbox
# sudo aptitude install fvwm-crystal
# sudo aptitude install icewm icemc wmctrl
# sudo aptitude install --without-recommends lxde
# sudo aptitude install xfce4
# sudo aptitude install gnome-core
# sudo aptitude install kde-core
# sudo aptitude install kde4-core
first, put the lxde repo into /etc/apt/sources.list :
# sudo nano -w /etc/apt/sources.list
# then paste this line into it:
deb http://ppa.launchpad.net/lxde/ubuntu hardy main
# then:
# sudo aptitude update
# sudo aptitude install --without-recommends lxde
Browsers
sudo apt-get install firefox
Plugins
sudo aptitude install flashplugin-nonfree sun-java5-plugin
sudo aptitude install ubufox adblock-plus firebug firefox-greasemonkey firefox-webdeveloper
# to make plugins works for firefox 1.5 or swiftweasel
cd /opt/firefox/plugins
sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so
sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.15/jre/plugin/i386/ns7/libjavaplugin_oji.so
Other:
# other stuffs
sudo aptitude install openjdk-6-jdk pidgin gkrellm wine qemu gxine xarchiver evince
# tools for desktop
# sudo aptitude install conky
# sudo aptitude install gkrellm
#
# stuffs i like, tools i use
# sudo aptitude install zim
Great url http://knol.google.com/k/ubuntu-minimal-desktop-installation-guide#
Friday, 29 October 2010
Wednesday, 27 October 2010
Tuesday, 26 October 2010
Ubuntu 10.10 - Sound freeze on Toshiba Satellite Pro A10
Remove the package "python-gi" it fixes them all, I did it and got exaile 3.2 working. This fixes the problem with it crashing when you try to play a song.
Monday, 25 October 2010
Ubuntu 10.10 - Sakis3g
Tips on getting Modem-Manager to work?
Choose "More Options"
Choose "Use 3G"
To avoid modem-manager error messages
Remove Modem Manager
sudo apt-get purge modemmanager
Choose "More Options"
Choose "Use 3G"
To avoid modem-manager error messages
Remove Modem Manager
sudo apt-get purge modemmanager
Friday, 22 October 2010
Windows 2008 R2 - RemoteApp Certificate Error
MS Window 2008 R2 - Remote Desktop Services
Friday, 15 October 2010
WatchGuard - FireCluster layout
Friday, 8 October 2010
Exchange 2007 - exporting mailboxes - "mapi error"
Thursday, 7 October 2010
Nagios - monitor sql server
define service{
use generic-service
host_name BHLHRSQL2
service_description SQL Database - Boxtop
check_command check_nt!SERVICESTATE!-d SHOWALL -l MSSQL"$$"BOXTOP
}
use generic-service
host_name BHLHRSQL2
service_description SQL Database - Boxtop
check_command check_nt!SERVICESTATE!-d SHOWALL -l MSSQL"$$"BOXTOP
}
Wednesday, 6 October 2010
Nagios: check_nt (my examples)
Monitoring IIS
define service{
use generic-service
host_name BHLHRDC
service_description World Wide Web Publishing Service
check_command check_nt!SERVICESTATE!-d SHOWALL -l "W3SVC"
}
Monitoring DNS
define service{
use generic-service
host_name BHLHRDC
service_description DNS Server
check_command check_nt!SERVICESTATE!-d SHOWALL -l "DNS"
}
Make sure the "check_command" specifies your
Monitoring Backup Exec Services
define service{
use generic-service
host_name BHLHRDC,BHLHRSQL2,BHLHRTS,BHLHRGP
service_description Backup Exec Remote Agent for Windows Servers
check_command check_nt!SERVICESTATE!-d SHOWALL -l "BackupExecAgentAccelerator"
}
Monitoring SQL Service
define service{
use generic-service
host_name BHLHRDC
service_description World Wide Web Publishing Service
check_command check_nt!SERVICESTATE!-d SHOWALL -l "W3SVC"
}
Monitoring DNS
define service{
use generic-service
host_name BHLHRDC
service_description DNS Server
check_command check_nt!SERVICESTATE!-d SHOWALL -l "DNS"
}
Make sure the "check_command" specifies your
Monitoring Backup Exec Services
define service{
use generic-service
host_name BHLHRDC,BHLHRSQL2,BHLHRTS,BHLHRGP
service_description Backup Exec Remote Agent for Windows Servers
check_command check_nt!SERVICESTATE!-d SHOWALL -l "BackupExecAgentAccelerator"
}
Monitoring SQL Service
MS Dynamics GP 2010 & Win 2008 R2 Terminal Server
Setting up a new Instance on TS
Pre-req's
1. Setup new Company
2. Setup new Instance
Current TS RemoteApp Settings
Open Service Manager on Windows 2008
- Click on Add RemoteApp Program (this will launch the RemoteApp Wizard)
- Click on Browse
- Select the right instance and choose dynamics.exe
- Click on Properties - Change the name to the correct name you want
- Click on the "Command Line Arguments" select "Always use the following command-line arguments" then add dynamics.set and click OK
Pre-req's
1. Setup new Company
2. Setup new Instance
Current TS RemoteApp Settings
Open Service Manager on Windows 2008
- Click on Add RemoteApp Program (this will launch the RemoteApp Wizard)
- Click on Browse
- Select the right instance and choose dynamics.exe
- Click on Properties - Change the name to the correct name you want
- Click on the "Command Line Arguments" select "Always use the following command-line arguments" then add dynamics.set and click OK
Microsoft Dynamics GP 2010 - Setting up new Instance on Terminal Server (2008 R2)
Make sure you've setup a new company using GP utilities.
Run GP 2010 installation
Choose "Create New instance"
- Name the new instance
To install a new GP Instance on Terminal Server (2008 R2)
Follow onscreen prompts
Connect to correct SQL Server
Error if you've specified an incorrect SQL Server path
To Remove a GP Instance from Terminal Server
Open Control Panel
- Choose Remove Programs
- Choose the Instance you want to remove
- Choose "Change"
- Choose "Remove"
Run GP 2010 installation
Choose "Create New instance"
- Name the new instance
To install a new GP Instance on Terminal Server (2008 R2)
Follow onscreen prompts
Connect to correct SQL Server
Error if you've specified an incorrect SQL Server path
To Remove a GP Instance from Terminal Server
Open Control Panel
- Choose Remove Programs
- Choose the Instance you want to remove
- Choose "Change"
- Choose "Remove"
Microsoft Exchange 2007 - exporting mailboxes
1. Install Microsoft Exchange Admin Pack 32bit on 32bit PC
2. Open PowerShell - Run command
export-mailbox -Identity username -PSTFolder "c:\folderpath\username.domain.com.pst"
2. Open PowerShell - Run command
export-mailbox -Identity username -PSTFolder "c:\folderpath\username.domain.com.pst"
Tuesday, 5 October 2010
Sophos Management Console Error "CoInitializeSecurity failed. ..."
Sophos Management Service
"CoInitializeSecurity failed..."
When trying to run the service
Steps to fix
1. Check if AD have a "Sophos Console Administrators" Group
2. If not create one - and add user that need to run Sophos Console to this new group
3. Start Sophos Database
4. Logoff
5. Log back on & open Services & Start Sophos Managerment Service
6. Still cannot start Management Service
Monday, 4 October 2010
Microsoft Dynamics GP 2010 - Terminal Server (2008) upgrade error
Backuped up my Dynamics folder, Upgraded Terminal Server to SP1, did a restart.
Launched Utilities were presented with the following error message:
Possible fixes:
** Try rerun the Service Pack
** in Microsoft Dynamics\Instance Name\ rename "Addins"
** Drag dynamics onto dynamics.set
Unable to get the version number of the Database
Version number kept in table called "DU00000030"
Upgrade
dbo.DB_Upgrade - keeps all version information
Check Log file - products listed in DYNUTILS.txt
DYNUTILS.txt - all products listed
- remove the problematic items out of the dynutils
- rerun the Utilities
Microsoft Dynamics GP 2010 - error message
A get change first operation on table '******' is for an invalid
key'
This is incorrect ODBC settings.
Check user/database permissions.
key'
This is incorrect ODBC settings.
Check user/database permissions.
Microsoft Dynamics GP 2010 - upgrade to SP1 *issues*
Backed up Companies
Ran SP1
Did a restart
Error when trying to open GP "Dictionary c:\program files\Microsoft Dynamics\GP2010\Data\FORMS.DIC needs to be upgraded. Use Dynamics Utilities to update your modified forms and reports.
Error when trying to open GP "Dictionary c:\program files\Microsoft Dynamics\GP2010\Data\REPORTS.DIC needs to be upgraded. Use Dynamics Utilities to update your modified forms and reports.
When running Utilities - GP comes up with an error message "Microsoft Dynamics GP has encountered a problem and neeeds to close."
---------------------------------------------------------------------------
1. Rerun service pack
2. Run Utilities
- validating company information
When you load any new version - ALWAYS ALWAYS run Utilities first - otherwise if you run GP first, it will corrupt data.
2 tables and 1 file that hold the working version - if these become out of sync you cannot fix it.
Updating Client GP Installations with SP1
* Run SP1 update on all clients.
* Run Utilities
*
Ran SP1
Did a restart
Error when trying to open GP "Dictionary c:\program files\Microsoft Dynamics\GP2010\Data\FORMS.DIC needs to be upgraded. Use Dynamics Utilities to update your modified forms and reports.
Error when trying to open GP "Dictionary c:\program files\Microsoft Dynamics\GP2010\Data\REPORTS.DIC needs to be upgraded. Use Dynamics Utilities to update your modified forms and reports.
When running Utilities - GP comes up with an error message "Microsoft Dynamics GP has encountered a problem and neeeds to close."
---------------------------------------------------------------------------
1. Rerun service pack
2. Run Utilities
- validating company information
When you load any new version - ALWAYS ALWAYS run Utilities first - otherwise if you run GP first, it will corrupt data.
2 tables and 1 file that hold the working version - if these become out of sync you cannot fix it.
Updating Client GP Installations with SP1
* Run SP1 update on all clients.
* Run Utilities
*
Microsoft Dynamics GP 2010 - Peak inside...
Backups
To Backup a company
Click on Maintenance - Backup
Select company
Select
Renaming a company
Microsoft GP - Tools - Setup Company - Company
To Backup a company
Click on Maintenance - Backup
Select company
Select
Renaming a company
Microsoft GP - Tools - Setup Company - Company
Friday, 1 October 2010
Nagios: Getting SNMP MIB Information
From Nagios run Smtpwalk (this will output a list of the MIB's)
MIB = management information bases
snmpwalk -c public -v 1 200.200.200.120
-c Community string
-v version
MIB = management information bases
snmpwalk -c public -v 1 200.200.200.120
-c Community string
-v version
MS SQL 2008 Server - Activity Monitor
To open Activity Monitor in SQL Server Management Studio
1.
On the SQL Server Management Studio standard toolbar, click Activity Monitor.
2.
In the Connect to Server dialog box, select the server name and authentication mode, and then click Connect.
You can also open Activity Monitor at any time by pressing CTRL+ALT A.
To open Activity Monitor in Object Explorer
*
In Object Explorer, right-click the instance name, and then select Activity Monitor.
To open Activity Monitor when opening SQL Server Management Studio
1.
On the Tools menu, click Options.
2.
In the Options dialog box, expand Environment, and then select General.
3.
In the At startup box, select Open Object Explorer and Activity Monitor.
4.
To activate the changes, close and reopen SQL Server Management Studio.
1.
On the SQL Server Management Studio standard toolbar, click Activity Monitor.
2.
In the Connect to Server dialog box, select the server name and authentication mode, and then click Connect.
You can also open Activity Monitor at any time by pressing CTRL+ALT A.
To open Activity Monitor in Object Explorer
*
In Object Explorer, right-click the instance name, and then select Activity Monitor.
To open Activity Monitor when opening SQL Server Management Studio
1.
On the Tools menu, click Options.
2.
In the Options dialog box, expand Environment, and then select General.
3.
In the At startup box, select Open Object Explorer and Activity Monitor.
4.
To activate the changes, close and reopen SQL Server Management Studio.
Nagios - setting up a new service (Check_Printer)
(When testing a plugin - use the full path to the plugin)
1. Download & unTar
Download and copy the extracted new plugin to /usr/local/nagios/libexec/
2. Setup new service in commands.cfg
#Monitor Printer via SNMP
define command{
command_name check_printer
command_line check_printer.sh
}
3. Verify Nagios Configuration
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
4. Setup Service
vi /usr/local/nagios/etc/objects/
define service{
use generic-service ; Inherit values from a template
host_name BHLHROPSCOLOUR,BHMANOPS,BHLHRACC,BHLHROPSCOLOUR,BHLHROPS,ScannerFaxCopier
service_description Printer Status ; The service description
check_command check_printer ; The command used to monitor the service
normal_check_interval 10 ; Check the service every 10 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
5. Restart Nagios
/etc/init.d/nagios restart
try accessing using snmpwalk to see if you can access the device
snmpwalk -c public -v 1 200.200.200.123
1. Download & unTar
Download and copy the extracted new plugin to /usr/local/nagios/libexec/
2. Setup new service in commands.cfg
#Monitor Printer via SNMP
define command{
command_name check_printer
command_line check_printer.sh
}
3. Verify Nagios Configuration
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
4. Setup Service
vi /usr/local/nagios/etc/objects/
define service{
use generic-service ; Inherit values from a template
host_name BHLHROPSCOLOUR,BHMANOPS,BHLHRACC,BHLHROPSCOLOUR,BHLHROPS,ScannerFaxCopier
service_description Printer Status ; The service description
check_command check_printer ; The command used to monitor the service
normal_check_interval 10 ; Check the service every 10 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
5. Restart Nagios
/etc/init.d/nagios restart
try accessing using snmpwalk to see if you can access the device
snmpwalk -c public -v 1 200.200.200.123
Nagios - Frequently used commands
Verify Configuration
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios - changing main screen after upgrade
After an upgrade Nagios changes the main screen - to change it back to your tactical view:
Edit Index.php
vi /usr/local/nagios/share/index.php
Restart Apache2
/etc/init.d/apache2 restart
Restart Nagios
/etc/init.d/nagios restart
Edit Index.php
vi /usr/local/nagios/share/index.php
Restart Apache2
/etc/init.d/apache2 restart
Restart Nagios
/etc/init.d/nagios restart
Nagios - check setup
check config.log
root@bhlhrnagi:~# vi /nagios-3.2.2/config.log
configure:9208: result: *** Configuration summary for nagios 3.2.2 09-01-2010 ***:
configure:9215: result: Nagios executable: nagios
configure:9217: result: Nagios user/group: nagios,nagios
configure:9219: result: Command user/group: nagios,nagcmd
configure:9230: result: Embedded Perl: no
configure:9234: result: Event Broker: yes
configure:9240: result: Install ${prefix}: /usr/local/nagios
configure:9242: result: Lock file: ${prefix}/var/nagios.lock
configure:9244: result: Check result directory: ${prefix}/var/spool/checkresults
configure:9246: result: Init directory: /etc/init.d
configure:9248: result: Apache conf.d directory: /etc/apache2/conf.d
configure:9250: result: Mail program: /usr/bin/mail
configure:9252: result: Host OS: linux-gnu
configure:9259: result: HTML URL: http://localhost/nagios/
configure:9261: result: CGI URL: http://localhost/nagios/cgi-bin/
configure:9263: result: Traceroute (used by WAP):
root@bhlhrnagi:~# vi /nagios-3.2.2/config.log
configure:9208: result: *** Configuration summary for nagios 3.2.2 09-01-2010 ***:
configure:9215: result: Nagios executable: nagios
configure:9217: result: Nagios user/group: nagios,nagios
configure:9219: result: Command user/group: nagios,nagcmd
configure:9230: result: Embedded Perl: no
configure:9234: result: Event Broker: yes
configure:9240: result: Install ${prefix}: /usr/local/nagios
configure:9242: result: Lock file: ${prefix}/var/nagios.lock
configure:9244: result: Check result directory: ${prefix}/var/spool/checkresults
configure:9246: result: Init directory: /etc/init.d
configure:9248: result: Apache conf.d directory: /etc/apache2/conf.d
configure:9250: result: Mail program: /usr/bin/mail
configure:9252: result: Host OS: linux-gnu
configure:9259: result: HTML URL: http://localhost/nagios/
configure:9261: result: CGI URL: http://localhost/nagios/cgi-bin/
configure:9263: result: Traceroute (used by WAP):
GP Dynamics 2010 - RPC Server unavailable
When trying to Run Integration manager a box pops-up with the following message:
"RPC Server unavailable"
"RPC Server unavailable"
Subscribe to:
Posts (Atom)
Blog Archive
-
▼
2010
(114)
-
▼
October
(29)
- Old laptop + Ubuntu
- Ubuntu update
- Ubuntu 10.10 - Sound freeze on Toshiba Satellite P...
- Ubuntu 10.10 - Sakis3g
- Windows 2008 R2 - RemoteApp Certificate Error
- MS Window 2008 R2 - Remote Desktop Services
- Microsoft Dynamics GP 2010 Error "FP: Bad componen...
- WatchGuard - FireCluster layout
- Exchange 2007 - exporting mailboxes - "mapi error"
- Nagios - monitor sql server
- Nagios: check_nt (my examples)
- MS Dynamics GP 2010 & Win 2008 R2 Terminal Server
- Microsoft Dynamics GP 2010 - Company Databases & N...
- Microsoft Dynamics GP 2010 - Setting up new Instan...
- Microsoft Exchange 2007 - exporting mailboxes
- Sophos Enterprise Management
- Sophos Management Console Error "CoInitializeSecur...
- Microsoft Dynamics GP 2010 - Terminal Server (2008...
- Microsoft Dynamics GP 2010 - error message
- Microsoft Dynamics GP 2010 - upgrade to SP1 *issues*
- Microsoft Dynamics GP 2010 - Peak inside...
- Nagios: Getting SNMP MIB Information
- GP
- MS SQL 2008 Server - Activity Monitor
- Nagios - setting up a new service (Check_Printer)
- Nagios - Frequently used commands
- Nagios - changing main screen after upgrade
- Nagios - check setup
- GP Dynamics 2010 - RPC Server unavailable
-
▼
October
(29)