My status

My backup memory
Hiển thị các bài đăng có nhãn IT. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn IT. Hiển thị tất cả bài đăng

Thứ Bảy, 23 tháng 8, 2014

Fix error " /dev/sda1 was not cleanly unmounted, check forced " on Ubuntu Server

/dev/sda1 was not cleanly unmounted, check forced
10.2% non-contiguous
mountall: fsck /boot [286] terminated with status 1
---
Boot Ubuntu on recovery mode
---
#umount /dev/sda1
#if errors: -y auto answers yes for fixes needing response see man e2fsck
sudo e2fsck -f -y -v /dev/sda1

Thứ Bảy, 21 tháng 6, 2014

Battery wear level info.

+ Use AIDA or HWiNFO32 to check wear level of your battery

+ Dell laptop battery FAQ

http://www.dell.com/content/topics/global.aspx/batteries_sitelet/en/batteries_faq?c=us&l=en&cs=19#faq15&ACD=11708984-3640576-skim525X832Xbdf779f137d5b00b319a00e402eaf5b2&AID=3640576

+ Related link
http://forum.notebookreview.com/alienware-m15x/578920-battery-s-wear-level.html



Thứ Ba, 3 tháng 6, 2014

Cross Browser Testing

Cross Browser Testing

Testing web sites in all makes & versions of web browsers can seem a little daunting. Fortunately, there are some good tools to help you.
BrowserShots - (on-line, screenshots)
DebugBar Multiple IE checker - (Windows download)
Adobe Browser Lab - (on-line)
SEO Browser - (on-line)
This is less a browser and more of an SEO tool, but a good one to know about.
Cross Browser Testing (on-line)

Mobile Device Testing

iPhone simulator - (on-line)
Opera Mini Mobile Simulator - (on-line)
Google Android Emulator (download)
Palm OS Emulator (download)
Mobile Phone Emulator (on-line) Emulators for WAP, i-mode™, PDA and J2ME
Blackberry Smartphone Simulators (download)

Source: http://alt-web.com/Articles/Cross-browser-testing.shtml

HTML E-Mail & Newsletter Blasts

HTML E-Mail & Newsletter Blasts

What you need to know

Everything you've learned so far about web standards, CSS and HTML best practices just flew out the window. Building web pages that perform well in various browsers is a piece of cake compared to building HTML e-mails.
The first thing you must understand is that e-mail clients vary widely. This is also true among different versions of the same software.
The second thing you must know is that most e-mail clients do NOT behave as browsers do. Some e-mail clients support HTML and CSS very well. Some do so with mixed results and others not at all.
Guide to CSS Support in Various E-mail Clients
http://www.campaignmonitor.com/css/

A few Dos and Don'ts

  • Do use inline CSS styles for fonts and colors.
  • Do use basic tables to hold your page elements.
  • Do set page width to under 600px.
  • Do use absolute URLs to images hosted on your server.
  • Do use meaningful "alt" attributes on images in case image display is turned-off.
  • Do include a plain text link to the web page on your server for people who can't see HTML e-mails.
  • Do include an Opt-Out link for people who wish to be removed from your list. In most parts of the world, this is a legal requirement.
  • Don't attach files.
  • Don't use Flash or other media in e-mails.
  • Don't use JavaScript.
  • Don't use Frames or Framesets.
  • Don't use spammy words or phrases in the subject or content of your e-mails.
  • Don't overuse CAPS, percentage or exclamation marks as this can attract attention from Spam Filters.

E-mail Templates

It is very helpful to begin your project with a pre-built HTML E-mail Template. The link below offers several template kits that perform well in most major e-mail clients or you can build one of your own.
Campaign Monitor Free Templates & Template Builder
http://www.campaignmonitor.com/templates/

About Microsoft Outlook 2007

When Microsoft switched it's e-mail rendering engine from Internet Explorer to Microsoft Word 2007, Outlook went from being one the best HTML supported e-mail clients to one of the worst. Word/Outlook 2007 does not support animated GIFS, HTML Forms, CSS positioning, backgrounds, min-max widths, text-transform, word-spacing or line-breaks. See the link below for a complete list of what isn't supported:
http://msdn.microsoft.com/en-us/library/aa338201.aspx
Another HTML E-mail problem child is Lotus Notes. See link below for details.
http://www.templatekit.com/lotusnotes1.php

Test Before you Blast

Open some e-mail accounts at MSN Hotmail, Yahoo, G-mail, etc... Send a few test e-mails to yourself and view them in the various web mails. Also test your e-mails on popular email clients and mobile devices. An effective e-mail campaign must convey its message immediately without need for clicking on attachments or images. If it doesn't, you're missing an opportunity to reach your customers.

Bad E-mail Examples

DISCLAIMER: I have no bias towards the companies in these examples. I'm simply showing you what their e-mails look like at my end.
Viewed from web mail, this company's e-mail tells me nothing so far except what's in the subject line. Sadly, there's not even a text link to the HTML page on their server which is a wasted opportunity.
no-images, no text
Clicking on the attached file isn't much better, I'm afraid, because my web mail blocks images for security reasons. So far, not so good. no-images
Clicking on the web page link brings up a long page of advertising that renders in Quirks Mode (no document type declaration is specified in the HTML).
To make matters worse, the creator used a non-standard font-face called Modern which looks terrible because I don't happen to have that font installed on my system. For best cross platform results, stick with Windows/Mac Web-Safe Fonts.
HTML page

Good E-mail Examples

I don't need to look further to find out what this company is offering because the plain text version displays immediately.
lots of text
Image based version of the same message. Short, sweet and to the point.
images-on
In summary, keep your designs simple and uncluttered. Place important content at the top of your page and use plain text and links to convey your message to people who won't see it otherwise.

Sending Limits

Now that your HTML E-mail is finally created, don't be too quick to hit that SEND button. Most server hosts, ISPs and web e-mail providers like G-mail put limits on how many messages you can send per minute/per hour/per day. If unsure, check with your provider before you send a blast. You wouldn't want to violate your Terms of Service Agreement .
At a minimum, you'll probably need a dedicated bulk e-mail sending software like PIMEX MailExpress (for Win only) or R10BatchMail (Win & Mac) that sends mail in short blasts spread out over time. If your list is larger than 20,000 names or you can't wait to send out all your e-mails, the use of an e-mail service such as Campaign Monitor, iContact, MailChimp or Constant Contact is highly recommended.

Related Links:
Creating Cross Client HTML E-Mails in Dreamweaver -
http://www.adobe.com/devnet/dreamweaver/articles/html_emails.html

Coding HTML E-mails and Newsletters -
http://articles.sitepoint.com/article/code-html-e-mail-newsletters


Revised August 2013 Tags: HTML E-mail, HTML Newsletters

Thứ Hai, 19 tháng 5, 2014

Xử lý lỗi vCenter không truy cập datastore của host


Tình huống: sau khi mất điện, vCenter hiển thị một số VM của cùng 1 host ở trạng thái "orphaned". Truy xuất datastore của host thì báo lỗi

Call "HostStorageSystem.RetrieveDiskPartitionInfo" for object "storageSystem-412" on vCenter Server "xxx.xxx.xxx" failed.

Tuy nhiên truy xuất trực tiếp vào host đó vẫn thấy VM hoạt động bình thường. Xem trong Task & Events của host thấy báo lỗi
vpxuser logon failed

Xử lý:
+ Logon vào host lỗi, shutdown các VM
+ disconect host -> reconnect. Nhập lại username/host -> OK

Thứ Sáu, 25 tháng 4, 2014

Xử lý lỗi CRM 2011 email router service không khởi động được

If you are not on Update Rollup 13, to resolve this problem, follow these steps:
  1. Delete the Microsoft.Crm.Tools.EmailAgent.SystemState.xml file.

    Notes
    • By default, the Microsoft.Crm.Tools.EmailAgent.SystemState.xml file is in the following folder:
      C:\Program Files\Microsoft CRM Email\Service
    • By default, the Service folder is a hidden folder. To see this folder, you must change the Windows Explorer settings to display hidden files and hidden folders.
  2. Restart the Microsoft Dynamics CRM E-mail Router Service.

    The Microsoft.Crm.Tools.EmailAgent.SystemState.xml file is re-created.


Nguồn: 
http://support.microsoft.com/kb/954522

hoặc
http://nerdsknowbest.blogspot.com/2013/01/configuring-crm-email-router-to-run.html

Thứ Năm, 27 tháng 2, 2014

Lý do không nên triển khai MultiHome trên DC

Steps to avoid registering unwanted NIC(s) in DNS on a Mulithomed Domain Controller
http://support.microsoft.com/kb/2023004

Active Directory communication fails on multihomed domain controllers
http://support.microsoft.com/kb/272294

Lưu ý:
For multihomed servers, the DHCP service binds to the first IP address statically configured for each network connection in use.
By default, the service bindings depend on whether the first network connection is configured dynamically or statically for TCP/IP. Based on the method of configuration it uses, reflected by its current settings in Internet Protocol (TCP/IP) properties, the DHCP Server service performs default service bindings as follows:
  • If the first network connection uses a manually specified IP address, the connection is enabled in server bindings. For this to occur, a value for IP address must be configured and the Use the following IP address option selected in Internet Protocol (TCP/IP) properties. In this mode, the DHCP server listens for and provides service to DHCP clients.
  • If the first network connection uses an IP address configured dynamically, the connection is disabled in server bindings. This occurs when the Obtain an IP address automatically option is selected in Internet Protocol (TCP/IP) properties. For computers running Windows Server 2008 operating systems, this is the default setting. In this mode, the DHCP server does not listen for and provide service to DHCP clients until a static IP address is configured.
  • The DHCP server will bind to the first static IP address configured on each adapter.
  • By design, DHCP server bindings are enabled and disabled on a per-connection, not per-address basis. All bindings are based on the first configured IP address for each connection appearing in the Network Connections folder. If additional static IP addresses (for example, as set in Advanced TCP/IP properties) are configured for the applicable connection, these addresses are never used by DHCP servers running Windows Server 2008 and are inconsequential for server bindings. -> giải thích tại sai khi có 1 DHCP server khác (tích hợp trên router) kết nối chung với switch. Khi resart DHCP server -> DHCP kia sẽ take place
  • DHCP servers running Windows Server 2008 never bind to any of the NDISWAN or DHCP-enabled interfaces used on the server. These interfaces are not displayed in the DHCP console under the current server bindings list because they are never used for DHCP service. Only additional network connections that have a primary static IP address configured can appear in the server bindings list (or be selectively enabled or disabled there).
http://technet.microsoft.com/en-us/library/cc770650.aspx



Multihomed DCs with DNS, RRAS, and/or PPPoE adapters

http://blogs.dirteam.com/blogs/acefekay/archive/2009/08/03/multihomed-dcs-with-dns-rras-and-or-pppoe-adapters.aspx

Thao luan
http://social.technet.microsoft.com/Forums/en-US/bbfdb2a2-38f7-4c4a-876d-f4922bf3013c/domain-controller-witch-2-nics-in-diferent-subnets?forum=winserverDS

----
Khi IP hết, cân nhắc Resubnetting hoặc sử dụng Superscope

Resubnetting

This method requires you to change all subnet hosts and gateways. If you have an address range that has run out of available host addresses, you may be able to change the subnet mask to include a larger share of host addresses. However, simply changing the subnet mask requires that all routers and other statically assigned computers be reconfigured and all DHCP clients have renewed their lease obtaining the new parameters.

http://support.microsoft.com/kb/255999

Understand DHCP superscope 

http://bacutin.blogspot.com/2009/07/understand-dhcp-superscope.html

Using superscopes
http://technet.microsoft.com/en-us/library/cc757614(WS.10).aspx

Configuring a DHCP Superscope
http://technet.microsoft.com/en-us/library/dd759168.aspx

Step-by-step guide
http://www.techrepublic.com/article/create-a-superscope-to-solve-the-problem-of-dwindling-ip-addresses/#.

Recommended tasks for the DHCP server role
http://technet.microsoft.com/en-us/library/cc731392.aspx

Thứ Tư, 22 tháng 1, 2014

Creat postmater account for use delisting from Chile DNSBL

1. Description
http://technet.microsoft.com/en-US/library/bb123794%28v=exchg.80%29.aspx

2. Registration
http://www.dnsblchile.org/cgi-bin/registrar.en.pl

3. Wait 24h to get ID from Chile DNSBL

4. Delisting
http://www.dnsblchile.org/eliminar.en.html

Thứ Bảy, 4 tháng 1, 2014

BlackBerry Desktop 7 Sync error

Description:
+ BlackBerry Desktop Software ver 7.1
+ Outlook 2010

Sync task & memo error:

"ERROR: COLTransbase::MoveFirstSummaryRecord: Unable to move to first or next row."

How to fix it:
+ Make sure you have at least 1 contact in Outlook
+Set Sync off for Categories (Cofigure -> Advanced -> Fields). If it didn't solve your problem, try turn off sync for other fields.

To avoid sync tasks that have been completed, use Filter as below:

Note: If sync error continue occur even you have configured following this guide, try to sync again, it works!
Source: Myself, BB forum

Thứ Sáu, 3 tháng 1, 2014

Lỗi khi gửi email bằng tên user khác trong CRM 2011

Thông báo lỗi: User does not have send-as privilege
Chi tiết lỗi:

---
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: User does not have send-as privilege.Detail:

  -2147203059
 
  User does not have send-as privilege.
  2014-01-03T03:54:06.7821079Z 
---

Microsoft Dynamics CRM allows you to set personal options to modify the user interface. You can access your personal options by clicking the File tab in the ribbon and then clicking Options to open the Set Personal Options dialog box. Although we won’t review all of the personal options available, we do want to review a few common configuration options.

Read more at http://tech.sportstoday.us/windows_server/microsoft-dynamics-crm-2011---setting-personal-options.aspx#eCwJbkkLfDmXifTe.99
Fix lỗi như sau:
Login bằng account của User muốn cho phép User khác sử dụng tính năng Send As
Từ menu File -> Options để mở ra cửa sổ Set Personal Options
Chọn tab Email

Chọn Allow other MS CRM users to send e-mail on your behalf
Microsoft Dynamics CRM allows you to set personal options to modify the user interface. You can access your personal options by clicking the File tab in the ribbon and then clicking Options to open the Set Personal Options dialog box. Although we won’t review all of the personal options available, we do want to review a few common configuration options.
Read more at http://tech.sportstoday.us/windows_server/microsoft-dynamics-crm-2011---setting-personal-options.aspx#eCwJbkkLfDmXifTe.99
Microsoft Dynamics CRM allows you to set personal options to modify the user interface. You can access your personal options by clicking the File tab in the ribbon and then clicking Options to open the Set Personal Options dialog box. Although we won’t review all of the personal options available, we do want to review a few common configuration options.


Read more at http://tech.sportstoday.us/windows_server/microsoft-dynamics-crm-2011---setting-personal-options.aspx#eCwJbkkLfDmXifTe.99
Microsoft Dynamics CRM allows you to set personal options to modify the user interface. You can access your personal options by clicking the File tab in the ribbon and then clicking Options to open the Set Personal Options dialog box. Although we won’t review all of the personal options available, we do want to review a few common configuration options.


Read more at http://tech.sportstoday.us/windows_server/microsoft-dynamics-crm-2011---setting-personal-options.aspx#eCwJbkkLfDmXifTe.99

Thứ Sáu, 8 tháng 11, 2013

Open SSH cho Buffalo LS-VL WL QVL

Mặc dù hướng dẫn đã có tại http://buffalo.nas-central.org/wiki/Open_Stock_Firmware_LS-VL
nhưng để thực hiện thành công cần lưu ý:
+ Java 
cd \
cd C:\Program Files (x86)\Java\jre7\bin
+ Thực hiện acp_commander. Gia thiet IP la 192.168.1.14. Chu y lenh sau tuy chon -c phai nam trong "..." chu khong phai '...'
Kiem tra output co thay 2 file
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "ls -l /mnt/disk1/share/"

Thuc hien script

java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "sh -x /mnt/disk1/share/open-ls.txt"



Vi ly do nao do script khong thuc hien dc => copy sshd_config sang share => chmod 666 de kiem tra, chinh sua ==> copy back to /etc => chmod 600

java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "cp /etc/sshd_config /mnt/disk1/share/"

java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "chmod 666 /mnt/disk1/share/sshd_config"
Chinh sua  PermitRootLogin to "yes" va PermitEmptyPasswords yes

java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "chmod 600 /mnt/disk1/share/sshd_config"
test OK

java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "cp /mnt/disk1/share/sshd_config /etc/"

verify ok
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "grep PermitRootLogin /etc/sshd_config"

java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "chmod 600 /etc/sshd_config"

Restart sshd
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "/etc/init.d/sshd.sh restart"

Neu ko dc, thuc hien script thu cong
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "ls -l /root"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "ls -l /root/.ssh"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "cp /mnt/disk1/share/authorized_keys /root/.ssh/"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "mkdir /root/.ssh"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "chmod 700 /root/.ssh"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "cp /mnt/disk1/share/authorized_keys /root/.ssh/"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "chmod 600 /root/.ssh/authorized_keys"
java -jar acp_commander.jar -t 192.168.1.14 -ip 192.168.1.14 -pw password -c "dos2unix /root/.ssh/authorized_keys"

Note: doi voi LS-VL neu dung fw 1.65mod1/1a/1b thi khong mo san ssh ma chi mo san telnet

Thứ Năm, 31 tháng 10, 2013

Convert Account or Contact record back to Lead?

For the accounts, if you really want them back as leads, I would use the Export to Excel feature. Then save, the file in csv import and then use the CRM import tool to birng the records in as leads.


To change a lead to an account, user the qualify action on a lead record. You can the create an account and opportunity.
 

Thứ Tư, 30 tháng 10, 2013

Date Fields on Activities in Microsoft Dynamics CRM

Activity Type
Name on the Form/Behavior
Name in the Activity Pointer
Start Date
Due Date
Actual Start
Actual End
Last Updated
Date Created
Regarding
Appointment
Start Time
End Time
Actual Start
(Fills in with Created On and then can be changed)
Actual End

(Fills automatically on unless filled in)
Modified On
Created On
Regarding
Campaign Response
Scheduled Start
Follow-up By
Modified On
Created On
Customer
Email
Start Date
(Fills in with Due Date if available, but is typically not filled in)
Due Date
Modified On
Created On
Regarding
Fax
Start Date
(Fills in with Due Date and then can be changed)
Due
Modified On
Created On
Regarding
Letter
Due
Modified On
Created On
Regarding
Phone Call
Due
Modified On
Created On
Regarding
Task
Due
Modified On
Created On
Regarding
Nguồn: http://www.powerobjects.com/blog/2010/10/05/date-fields-on-activities-in-microsoft-dynamics-crm-2/

Thứ Hai, 28 tháng 10, 2013

Enabling XPS in Windows Server 2008

http://blogs.msdn.com/b/adrianford/archive/2008/02/12/enabling-xps-in-windows-server-2008.aspx

Thứ Năm, 24 tháng 10, 2013

Veeam 6.5 gặp lỗi 1920 khi reinstall hoặc new install

Nguyên nhân:
+ Sai username/password đăng nhập vào database cũ (đối với trường hợp reinstall)

Khắc phục:
Xem http://www.veeam.com/kb1059 và http://www.veeam.com/kb_articles.html/KB1443
Tạo 1 file txt có nội dung rồi save với extension là .sql
---
delete [dbo].[Repl.Topology.BackupServerCreds]
delete [dbo].[Catalog.SearchServerCreds]

---
thực hiện dòng lệnh (nếu PC đã  cài MS SQL 2008 trước đó)
sqlcmd -S PC\DATABASE_NAME -d VeeamBackup -i d:\script.sql -o d:\resetresult.txt

Nếu đã cài SQL Management Studio (thường không đi cùng MS SQL 2008/2008 R2 Express) thì thực hiện việc xoá bớt thông tin đăng nhập dư thừa (do quá trình uninstall trước đó không xoá hết) theo hướng dẫn tại http://virtuallyuncovered.wordpress.com/2012/10/30/veeam-backup-6-and-6-5-cannot-complete-login-due-to-an-incorrect-user-name-or-password/
---
1. Backup your Veeam DB
2. Open SQL Server Management Studio (I did this from a different server that already had it installed)
3.Connect to the SQL Express instance, in my case: SERVERNAME\VEEAMSQL2008R2
4. Expand Databases, VeeamBackup, Tables and locate the dbo.Hosts table
5. Right click and choose ‘edit top 200 rows’
6. Search out any duplicates (in my case there was one entry for each ESX host, one for the vCenter server and one for ‘This Server’ so no duplicates)
7. You may see a duplicate entry that relates to a previous version of VMware, if so right click the row and delete it.
8. Restart the Veeam Backup Services.
 ---
 Nếu không cài được MS SQL Management Studio -> có thể thực hiện xoá hẳn DB cũ bằng sqlcmd theo hướng dẫn bên dưới

Deleting a database with sqlcmd

sqlcmd -s -q "DROP DATABASE "
OR
sqlcmd -s ./ -q "DROP DATABASE "

Examples:

sqlcmd -s dbserver -u username -p password -q "DROP DATABASE products"
sqlcmd -s localhost -q "DROP DATABASE products" 
sqlcmd -s ./MSSQLSERVER -q "DROP DATABASE products"  ----
Bổ sung sau khi cài Veeam 6.5 thì cần cài patch 1 và patch 3 (không có p2) theo thông tin tại
http://forums.veeam.com/viewtopic.php?f=2&t=15008


Thứ Bảy, 27 tháng 7, 2013

Increase disk space Ubuntu VM + remove old kernel in /boot

1. Remove all snapshots
2. Increase provisioned size of ubuntu VM
3. Restart VM 
4. Folow instructions below. Remember to increase EXT partition first then increase LVM volume later
http://www.joomlaworks.net/blog/item/168-resizing-the-disk-space-on-ubuntu-server-vms

Remove old kernel in /boot
Your boot partition is full. Since this is a kernel update, these files will be copied to the boot partition so you need to clean in out. Here is a blog post that will show you how to clear the old kernel images with one command. I'll give a basic synopsis of the method. Use this command to print out the current version of your kernel:
 
uname -r
Then use this command to print out all the kernels you have installed that aren't your newest kernel
 
dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9]
Make sure your current kernel isn't on that list. Notice how this is the majority of the final command (down below). To uninstall and delete these old kernels you will want to pipe these arguments to:
 
sudo apt-get -y purge
Now we can do everything we want by combining these last two commands into this unholy mess:
 
dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | xargs sudo apt-get -y purge

And that one command will take care of everything for you. I will confirm that this does work perfectly but never trust anybody on the internet. :) For more info, the blog post gives a very good explanation of what each part of the command does so read through it so you are satisfied that it does what you want it to do.

http://askubuntu.com/questions/89710/how-do-i-free-up-more-space-in-boot

Thứ Hai, 3 tháng 6, 2013

How to change date format in Joomla?

Are you referring to the date format appearing as Thursday, 06 December 2012 and want it to appear as Thursday, December 6, 2012 ???

If so, log in to your sites backend and go to Extensions > Language Manager and click on the Overrides Tab. Click on the New button in the upper right. On the right hand side you have the option to do a search. Tick the Constant option and search for:

Code:
DATE_FORMAT_LC

You should now see the following results:

Code:
DATE_FORMAT_LC
l, d F Y
DATE_FORMAT_LC1
l, d F Y
DATE_FORMAT_LC2
l, d F Y H:i
DATE_FORMAT_LC3
d F Y
DATE_FORMAT_LC4
Y-m-d

Clicking on the first result "DATE_FORMAT_LC" in the list will give you an option on the left hand side where you will see:

Code:
l, d F Y

Change that value to l, F j Y and click Save in the upper right.

Now repeat the process for:

DATE_FORMAT_LC1
DATE_FORMAT_LC2

Note that DATE_FORMAT_LC2 (the one that changes how dates are displayed in your articles such as "Published on" will have the the following:

Code:
l, d F Y H:i

Make sure you leave the H:i at the end of the line if you like to display the time an article was published.

For DATE_FORMAT_LC3 change it from:

Code:
d F Y

to become:
Code:
F d Y


For DATE_FORMAT_LC4 change it from:
Code:
Y-m-d

to:
Code:
m-d-Y


Note that you can change the above settings for both the frontend and backend at the same time as each have different language files. To accomplish this, when you go to make a new override before you click the New button make sure you have selected English - Administrator in the dropdown menu then click the New button in the upper right. You will have an option on the left called "For both locations".

More info on the standard PHP date formats can be found here:

http://php.net/manual/en/function.date.php

Source: http://forum.joomla.org/viewtopic.php?f=615&t=775861&hilit=+date#p2952166

Thứ Năm, 17 tháng 1, 2013

Upgrade Ubuntu 11 to 12

Upgrade Ubuntu From 11.04 to 11.10
Upgrade Ubuntu From 11.10 to 12.04
To upgrade from Ubuntu 11.10 on a server system, follow the steps listed below:
Install the update-manager-core package (if it is not already installed).
Run sudo do-release-upgrade to launch the upgrade tool. Follow the on-screen instructions. Note that the server upgrade is now more robust and will utilize GNU screen and automatically re-attach in case of dropped connection problems, for example.
So, type the following commands:
sudo apt-get install update-manager-core

sudo do-release-upgrade

sudo apt-get update && sudo apt-get upgrade
 
Check version after upgrade
cat /etc/issue
or
cat /etc/issue.net
 
Upgrade from Ubuntu 12.04 LTS to 12.10

First of all we have to check if the new version is available. Open a terminal Ctrl+Alt+T and give this command.
do-release-upgrade -c
This command will check if the new version is available from the servers and will return the result.
If the version is available we can proceed.
If the version is not available then check one thing. Open this file
gksudo gedit /etc/update-manager/release-upgrades and see if Prompt is equal to normal Prompt=normal , If its not , then change it and after you save the file run in terminal
sudo apt-get update do-release-upgrade -c

Thứ Bảy, 1 tháng 12, 2012

Create bootable ESXi 5 memory Stick by using Free Unetbootin

nstall ESXi 5 on USB memory stick by using Unetbootin Freeware.

It’s been some time since I pointed out an easy way of Installing VMware Free Hypervizor ESXi 5 on to memory stick. It’s an easy to way to do by using VMware Workstation or Free VMware Player. You can read my post about it here - How-to create bootable ESXi 5 USB stick by using Vmware Player.
But you can do so by using free software called Unetbootin. This free application can create the bootable ESXi 5 hypervizor from any system – Linux, Windows or Mac OS X…
Here are the steps to create a bootable ESXi 5 USB stick:
01. Download Free Unebootin software (use the version you need for you system… Linux, Windows, MAC OS X, etc…)
02. Format the USB stick with FAT32 and make sure it takes a drive letter (E: for example)
03. Use Unetbootin to select your VMware ESXi 5 iso file –  VMware-VMvisor-Installer-5.0.0.update01-623860.x86_64.iso  and with the dropdown arrow choose the correct USB drive from your system.
04.  Now, that’s all. You are done. Click OK to start the installation process.  After, don’t forget to change the boot sequence in your BIOS to boot from USB.
Use Unetbootin to create bootable ESXi 5 memory stick


Note that your hardware CPU must support the Intel® VT-x/AMD-V™ for instruction set virtualization, but all modern CPU does.
Enjoy… -:)

Link: http://www.vladan.fr/use-unetbootin-in-any-os-to-create-bootable-esxi-5-memory-stick/

Thứ Năm, 29 tháng 11, 2012

Remove your IP from hormail black list

+ Error code list:
http://mail.live.com/mail/troubleshooting.aspx#errors
If you get error 550 SC-001 like example below, your IP probably in hotmail black list
----------------

SNT0-MC3-F20.Snt0.hotmail.com gave this error:
SC-001 (SNT0-MC3-F20) Unfortunately, messages from xxx.xxx.xxx.xxx weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors.
 

---------------- 
+ Remove procedure
Submit your request to https://support.msn.com/eform.aspx?productKey=edfsmsbl&ct=eformts
See http://www.mydigitallife.info/how-to-remove-server-ip-address-from-msn-hotmail-block-blacklist/