By default in mysql database server max_connections is set to 100. This value indicates how many maximum concurrent connections mysql server can handle. If mysql reaches to it maximum (max) limit then you can see errors like "too many connections". I assume that you have enough hardware resources (Mainly RAM )to handle more connections, here with this article I will share a TIP to increase max_connections in mysql.
As we know my.cnf is default configuration file for mysqld service and by default it is located in /etc directory unless and until you have changed it.
To find out how many max_connections are allowed currently on your mysql server use following command from mysql prompt.
mysql> select @@max_connections;
+-------------------+
| @@max_connections |
+-------------------+
| 100 |
+-------------------+
1 row in set (0.00 sec)
max_connections is a GLOBAL variable. we can increase it on the fly without restarting mysqld service.
To do so use following command.
mysql> set global max_connections = 200;
Query OK, 0 rows affected (0.00 sec)
Now, If you check again you will see that limit of max_connections is increased.
mysql> select @@max_connections;
+-------------------+
| @@max_connections |
+-------------------+
| 200 |
+-------------------+
1 row in set (0.00 sec)
Note:
It is important that you edit your /etc/my.cnf to add max_connections = 200 otherwise when you restart mysqld service in future, It will complain again after it hits the old max_connections limit.
Saturday, May 22, 2010
Setup and Running Glassfish as a service on CentOS
1/ Setup Glassfish (GUI Cai dat o che do Graphics)
Download: http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1-unix.sh
Phải đăng nhập vào mode Graphics mới setup Glassfish duoc.
init 5
- Làm theo hướng dẫn step by step
http://docs.sun.com/app/docs/doc/820-7690
2/ Setup Glassfish (Zip)
Huong dan setup
http://docs.sun.com/app/docs/doc/821-1756
- Tao Folder :
mkdir /usr/GF_OSSO_AS
cd /usr/GF_OSSO_AS
wget http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1.zip
unzip glassfish-3.0.1.zip
cd glassfish
chmod 777 chmod 777 /usr/GF_OSSO_AS/glassfishv3/glassfish/bin/asadmin
cd /usr/GF_OSSO_AS/glassfishv3/glassfish/bin
./asadmin start-database --dbhome ../javadb/
Database already started on host 0.0.0.0, port 1527.
Command start-database executed successfully.
[root@webhosting bin]# ./asadmin start-domain
Waiting for DAS to start ...........
Started domain: domain1
Domain location: /usr/GF_OSSO_AS/glassfishv3/glassfish/domains/domain1
Log file: /usr/GF_OSSO_AS/glassfishv3/glassfish/domains/domain1/logs/server.log
Admin port for the domain: 4848
Command start-domain executed successfully.
Test: http://localhost:4848 & http://localhost:8080
3/ Tạo file Script service
cd etc/init.d/
nano glassfish
copy đoạn script o dưới vào
#!/bin/bash
#
# glassfish: Startup script for Glassfish Application Server.
#
# chkconfig: 3 80 05
# description: Startup script for domain1 of Glassfish Application Server.
GLASSFISH_HOME=/root/glassfishv3/glassfish;
export GLASSFISH_HOME
GLASSFISH_OWNER=root;
export GLASSFISH_OWNER
start() {
echo -n "Starting Glassfish: "
echo "Starting Glassfish at `date`" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
su $GLASSFISH_OWNER -c "$GLASSFISH_HOME/bin/asadmin start-domain domain1" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
sleep 2
echo "done"
}
stop() {
echo -n "Stopping Glassfish: "
echo "Stopping Glassfish at `date`" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
su $GLASSFISH_OWNER -c "$GLASSFISH_HOME/bin/asadmin stop-domain domain1" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
echo "done"
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: glassfish {start|stop|restart}"
exit
esac
3/ Install the service
#chmod +x /etc/init.d/glassfish
#chkconfig --add glassfish
#chkconfig --level 3 glassfish on
4/ # Start glassfish.
#/etc/init.d/glassfish start
Download: http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1-unix.sh
Phải đăng nhập vào mode Graphics mới setup Glassfish duoc.
init 5
- Làm theo hướng dẫn step by step
http://docs.sun.com/app/docs/doc/820-7690
2/ Setup Glassfish (Zip)
Huong dan setup
http://docs.sun.com/app/docs/doc/821-1756
- Tao Folder :
mkdir /usr/GF_OSSO_AS
cd /usr/GF_OSSO_AS
wget http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1.zip
unzip glassfish-3.0.1.zip
cd glassfish
chmod 777 chmod 777 /usr/GF_OSSO_AS/glassfishv3/glassfish/bin/asadmin
cd /usr/GF_OSSO_AS/glassfishv3/glassfish/bin
./asadmin start-database --dbhome ../javadb/
Database already started on host 0.0.0.0, port 1527.
Command start-database executed successfully.
[root@webhosting bin]# ./asadmin start-domain
Waiting for DAS to start ...........
Started domain: domain1
Domain location: /usr/GF_OSSO_AS/glassfishv3/glassfish/domains/domain1
Log file: /usr/GF_OSSO_AS/glassfishv3/glassfish/domains/domain1/logs/server.log
Admin port for the domain: 4848
Command start-domain executed successfully.
Test: http://localhost:4848 & http://localhost:8080
3/ Tạo file Script service
cd etc/init.d/
nano glassfish
copy đoạn script o dưới vào
#!/bin/bash
#
# glassfish: Startup script for Glassfish Application Server.
#
# chkconfig: 3 80 05
# description: Startup script for domain1 of Glassfish Application Server.
GLASSFISH_HOME=/root/glassfishv3/glassfish;
export GLASSFISH_HOME
GLASSFISH_OWNER=root;
export GLASSFISH_OWNER
start() {
echo -n "Starting Glassfish: "
echo "Starting Glassfish at `date`" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
su $GLASSFISH_OWNER -c "$GLASSFISH_HOME/bin/asadmin start-domain domain1" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
sleep 2
echo "done"
}
stop() {
echo -n "Stopping Glassfish: "
echo "Stopping Glassfish at `date`" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
su $GLASSFISH_OWNER -c "$GLASSFISH_HOME/bin/asadmin stop-domain domain1" >> $GLASSFISH_HOME/domains/domain1/logs/startup.log
echo "done"
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: glassfish {start|stop|restart}"
exit
esac
3/ Install the service
#chmod +x /etc/init.d/glassfish
#chkconfig --add glassfish
#chkconfig --level 3 glassfish on
4/ # Start glassfish.
#/etc/init.d/glassfish start
Labels:
LINUX-UNIX
Setup and Running Glassfish as a service on CentOS
1/ Setup Glassfish
Phải đăng nhập vào mode Graphics mới setup Glassfish duoc.
init 5
- Làm theo hướng dẫn step by step
http://docs.sun.com/app/docs/doc/820-7690
Phải đăng nhập vào mode Graphics mới setup Glassfish duoc.
init 5
- Làm theo hướng dẫn step by step
http://docs.sun.com/app/docs/doc/820-7690
Labels:
LINUX-UNIX
Friday, April 16, 2010
Remove Reported Attack Site !
Hiện tại có một số website bị google block dẫn đến việc khi truy cập vào tên miền đó bằng firefox bị chặn và hiện lên thông báo như sau:
Reported Attack Site!
This web site at domain.com has been reported as an attack site and has been blocked based on your security preferences........
nguyên nhân chính dẫn đến việc một số website bị block access như sau:
1: Website bị chèn mã độc
2: Website chứa nội dung ko lành mạnh.
Về vấn đề website bị chèn mã độc, VDS đã cảnh báo rất nhiều lần về 1 loại virus và các biến thể của nó có chức năng như 1 keylogger khi nhiễm vào máy tính của các webmaster, loại virus này có chức năng lưu lại hoạt động của bàn phím nhằm ăn cắp mật khẩu, đặc biệt là các account FTP, cpanel, email... Chúng tự động tìm tất cả các file có tên index.php, index.html, default.aspx, default.asp... trên máy tính của nạn nhân và trên host bằng account FTP đã thu thập được sau đó tự động chèn thêm code load iframe tới đường link có chứa virus. Những trường hợp này đều bị bot của google phát hiện ra và liệt vào danh sách domain blacklist.
Cách xử lý khi phát hiện website bị nhiễm mã độc:
1: Cài đặt chương trình diệt virus và upgrade lên phiên bản mới nhất, và quét lại toàn bộ máy tính.
2: Kiểm tra các file có name index.* , Default.* trên host và tìm ra code chứa nội dung iframe loại bỏ nếu cảm thấy nghi ngờ. Lên google search các đường link chứa trong iframe đó, để biết thông tin chi tiết và cách xử lý.
3: Sau khi chắc chắn máy tính không còn nhiễm virus nữa, quý khách bắt đầu đổi toàn bộ info hosting, email, ftp account... ( hoặc có thể dùng một máy tính khác ko có virus để đổi mật khẩu )
Cách gỡ block của google:
Sau khi đã diệt virus và tháo mã độc ra khỏi website hoàn toàn. Quý khách làm tiếp các bước sau:
1: truy cập vào địa chỉ www.google.com/webmasters/tools
2: đăng nhập bằng 1 tài khoản google nào đó ( ví dụ gmail)
3: tiến hành add domain của bạn vào webmaster tools
4: Làm theo hướng dẫn của google để xác thực domain đó là của bạn.
- Meta tag: Bạn chèn thêm 1 đoạn mã do google tạo random vào file index của website bạn sau đó nhấn verify
-HTML file: Google sẽ yêu cầu bạn tạo 1 file có tên random do google đưa ra trên website của bạn. bạn chỉ cần tạo đúng tên rồi upload lên host và nhấn verify.
5: Trên phần Dashboard, chọn site bạn yêu cầu kiểm tra.
6: Trên trang Overview, click vào "Request a review".
7: Yêu cầu của bạn đang được xem xét, bạn phải chờ đội ngũ nhân viên của google xác thực lại và website của bạn đc mở khóa.( thời gian 1-2 ngày)
Reported Attack Site!
This web site at domain.com has been reported as an attack site and has been blocked based on your security preferences........
nguyên nhân chính dẫn đến việc một số website bị block access như sau:
1: Website bị chèn mã độc
2: Website chứa nội dung ko lành mạnh.
Về vấn đề website bị chèn mã độc, VDS đã cảnh báo rất nhiều lần về 1 loại virus và các biến thể của nó có chức năng như 1 keylogger khi nhiễm vào máy tính của các webmaster, loại virus này có chức năng lưu lại hoạt động của bàn phím nhằm ăn cắp mật khẩu, đặc biệt là các account FTP, cpanel, email... Chúng tự động tìm tất cả các file có tên index.php, index.html, default.aspx, default.asp... trên máy tính của nạn nhân và trên host bằng account FTP đã thu thập được sau đó tự động chèn thêm code load iframe tới đường link có chứa virus. Những trường hợp này đều bị bot của google phát hiện ra và liệt vào danh sách domain blacklist.
Cách xử lý khi phát hiện website bị nhiễm mã độc:
1: Cài đặt chương trình diệt virus và upgrade lên phiên bản mới nhất, và quét lại toàn bộ máy tính.
2: Kiểm tra các file có name index.* , Default.* trên host và tìm ra code chứa nội dung iframe loại bỏ nếu cảm thấy nghi ngờ. Lên google search các đường link chứa trong iframe đó, để biết thông tin chi tiết và cách xử lý.
3: Sau khi chắc chắn máy tính không còn nhiễm virus nữa, quý khách bắt đầu đổi toàn bộ info hosting, email, ftp account... ( hoặc có thể dùng một máy tính khác ko có virus để đổi mật khẩu )
Cách gỡ block của google:
Sau khi đã diệt virus và tháo mã độc ra khỏi website hoàn toàn. Quý khách làm tiếp các bước sau:
1: truy cập vào địa chỉ www.google.com/webmasters/tools
2: đăng nhập bằng 1 tài khoản google nào đó ( ví dụ gmail)
3: tiến hành add domain của bạn vào webmaster tools
4: Làm theo hướng dẫn của google để xác thực domain đó là của bạn.
- Meta tag: Bạn chèn thêm 1 đoạn mã do google tạo random vào file index của website bạn sau đó nhấn verify
-HTML file: Google sẽ yêu cầu bạn tạo 1 file có tên random do google đưa ra trên website của bạn. bạn chỉ cần tạo đúng tên rồi upload lên host và nhấn verify.
5: Trên phần Dashboard, chọn site bạn yêu cầu kiểm tra.
6: Trên trang Overview, click vào "Request a review".
7: Yêu cầu của bạn đang được xem xét, bạn phải chờ đội ngũ nhân viên của google xác thực lại và website của bạn đc mở khóa.( thời gian 1-2 ngày)
Labels:
Mails,
ThuThuatPC,
WindowsServer
Saturday, March 20, 2010
Downgrade MDaemon 10.x to a previous version of MDaemon
How can I downgrade MDaemon 10.x to a previous version of MDaemon?
Unlike previous versions, you cannot install the old version of MDaemon over the top of a 10.0 installation, due to the numerous changes. The installer for 10.0 automatically backs up the old \App and \SpamAssassin folder, which you can use to downgrade to the previous version by following the steps below.
1. Download your previous version's installer from
2. Shut down MDaemon by going to the Windows Start Menu | Programs | MDaemon | Stop MDaemon
3. Open the Task Manager's Processes tab (Windows Start Menu | Run | type 'taskmgr.exe' | Select Processes tab) and verify the following MDaemon processes have stopped (note that if you have multiple processors, you may have multiple instances of some of these processes):
* MDaemon.exe
* CFEngine.exe
* MDSpamD.exe
* WorldClient.exe
* WebAdmin.exe
* ScanningProcess.exe (if SecurityPlus is installed)
4. Go to the MDaemon folder on the server. Note: The C drive is the default location, but it may be in a different location depending on the previous installation.
5. Rename (i.e. App_old) the following folders:
* App
* SpamAssassin
* WorldClient
* WebAdmin
6. Copy your previous version's MDaemon\backup\(version)\App to MDaemon\App\
7. Copy your previous version's MDaemon\backup\(version)\SpamAssassin to MDaemon\SpamAssassin
8. Run the installer you downloaded and ensure you install into the same location MDaemon is already installed. Also, make sure to Disable (uncheck) Start MDaemon option at the end of the installation.
9. Copy the WorldClient.ini file from the renamed MDaemon\WorldClient_old to MDaemon\WorldClient
10. Start MDaemon by going to the Windows Start Menu | Programs | MDaemon | Start MDaemon
Unlike previous versions, you cannot install the old version of MDaemon over the top of a 10.0 installation, due to the numerous changes. The installer for 10.0 automatically backs up the old \App and \SpamAssassin folder, which you can use to downgrade to the previous version by following the steps below.
1. Download your previous version's installer from
2. Shut down MDaemon by going to the Windows Start Menu | Programs | MDaemon | Stop MDaemon
3. Open the Task Manager's Processes tab (Windows Start Menu | Run | type 'taskmgr.exe' | Select Processes tab) and verify the following MDaemon processes have stopped (note that if you have multiple processors, you may have multiple instances of some of these processes):
* MDaemon.exe
* CFEngine.exe
* MDSpamD.exe
* WorldClient.exe
* WebAdmin.exe
* ScanningProcess.exe (if SecurityPlus is installed)
4. Go to the MDaemon folder on the server. Note: The C drive is the default location, but it may be in a different location depending on the previous installation.
5. Rename (i.e. App_old) the following folders:
* App
* SpamAssassin
* WorldClient
* WebAdmin
6. Copy your previous version's MDaemon\backup\(version)\App to MDaemon\App\
7. Copy your previous version's MDaemon\backup\(version)\SpamAssassin to MDaemon\SpamAssassin
8. Run the installer you downloaded and ensure you install into the same location MDaemon is already installed. Also, make sure to Disable (uncheck) Start MDaemon option at the end of the installation.
9. Copy the WorldClient.ini file from the renamed MDaemon\WorldClient_old to MDaemon\WorldClient
10. Start MDaemon by going to the Windows Start Menu | Programs | MDaemon | Start MDaemon
Labels:
Mails,
ThuThuatPC
Thursday, March 18, 2010
Hosted Exchange POP, IMAP and SMTP Settings
These settings should only be used by an advanced user for very specific purposes.
NOTE: You will not get the full functionality out of your Hosted Exchange service if you setup your email client on mobile device for POP or IMAP access. Please choose the appropriate client setup page from HERE for the recommended configuration.
POP
NOTE: POP access must be enabled on a per account basis in the Hosted Exchange Control Panel.
Incoming POP Server: exch1.myoutlookonline.com
Incoming Server Port: 110
Incoming Server uses SSL: Optional– Port 995
POP Username: Hosted Exchange email address
Outgoing SMTP Server: smtp.exchange.easystreet.com
Outgoing Server Port: 25 or 587
Outgoing Server uses SSL: Optional – Port 465
Outgoing Server requires authentication: Yes, “Use same settings as incoming mail server” option
IMAP
NOTE: IMAP access must be enabled on a per account basis in the Hosted Exchange Control Panel.
Incoming IMAP Server: exchange.easystreet.com
Incoming Server Port: 143
Incoming Server uses SSL: Optional– Port 993
IMAP Username: Hosted Exchange email address
Outgoing SMTP Server: smtp.exchange.easystreet.com
Outgoing Server Port: 25 or 587
Outgoing Server uses SSL: Optional – Port 465
Outgoing Server requires authentication: Yes, “Use same settings as incoming mail server” option
NOTE: You will not get the full functionality out of your Hosted Exchange service if you setup your email client on mobile device for POP or IMAP access. Please choose the appropriate client setup page from HERE for the recommended configuration.
POP
NOTE: POP access must be enabled on a per account basis in the Hosted Exchange Control Panel.
Incoming POP Server: exch1.myoutlookonline.com
Incoming Server Port: 110
Incoming Server uses SSL: Optional– Port 995
POP Username: Hosted Exchange email address
Outgoing SMTP Server: smtp.exchange.easystreet.com
Outgoing Server Port: 25 or 587
Outgoing Server uses SSL: Optional – Port 465
Outgoing Server requires authentication: Yes, “Use same settings as incoming mail server” option
IMAP
NOTE: IMAP access must be enabled on a per account basis in the Hosted Exchange Control Panel.
Incoming IMAP Server: exchange.easystreet.com
Incoming Server Port: 143
Incoming Server uses SSL: Optional– Port 993
IMAP Username: Hosted Exchange email address
Outgoing SMTP Server: smtp.exchange.easystreet.com
Outgoing Server Port: 25 or 587
Outgoing Server uses SSL: Optional – Port 465
Outgoing Server requires authentication: Yes, “Use same settings as incoming mail server” option
Labels:
Mails,
ThuThuatPC
Hosted Exchange Create and Manage Public Folders
Follow the steps below to create a Public Folder in Outlook containing Contacts, Calendar, Journal, Notes or Tasks that are viewable to everyone in your organization:
1. Go to File > New > Folder.
2. Enter a name for the folder.
3. Select the appropriate item for the folder under "Folder Contains".
4. Place the folder anywhere in the Public Folder hierarchy under All Public Folders > yourdomain.com and click OK.
5. To assign permission to other users right-click on the folder and select "Properties".
6. Select the Permissions tab and add any users that need access to the folder. You can Shift+Select or Control+Select more than one name at a time.
7. Click OK.
If you are creating a Contacts list, all users who wish to access the list must complete the following steps to enable the Public Contacts for Outlook Address Book:
1. Right-click on Public Contacts and select "Properties".
2. Select the "Outlook Address Book" tab.
3. Check "Show this folder as an e-mail address book".
4. Enter a name for the address book.
5. Click OK.
Each user must also add the Outlook Address Book, if they haven't already:
1. Click Tools and select Address Book.
2. Click Tools and select Options.
3. In "When sending mail, check names using these address lists in the following order:" look for the list you created above. If it is not listed, click on Add & browse for the list created and click Add.
1. Go to File > New > Folder.
2. Enter a name for the folder.
3. Select the appropriate item for the folder under "Folder Contains".
4. Place the folder anywhere in the Public Folder hierarchy under All Public Folders > yourdomain.com and click OK.
5. To assign permission to other users right-click on the folder and select "Properties".
6. Select the Permissions tab and add any users that need access to the folder. You can Shift+Select or Control+Select more than one name at a time.
7. Click OK.
If you are creating a Contacts list, all users who wish to access the list must complete the following steps to enable the Public Contacts for Outlook Address Book:
1. Right-click on Public Contacts and select "Properties".
2. Select the "Outlook Address Book" tab.
3. Check "Show this folder as an e-mail address book".
4. Enter a name for the address book.
5. Click OK.
Each user must also add the Outlook Address Book, if they haven't already:
1. Click Tools and select Address Book.
2. Click Tools and select Options.
3. In "When sending mail, check names using these address lists in the following order:" look for the list you created above. If it is not listed, click on Add & browse for the list created and click Add.
Labels:
Mails,
ThuThuatPC
Hosted Exchange Recovering Deleted Items
NOTE: Deleted items are only available for two days after you've done a hard delete.
Problem: You "hard deleted" items (e-mails, contacts, etc.) from a folder either via Outlook or WebMail. A "hard delete" is when you either 1) delete items from any folder, which moves them to the Deleted Items folder, and then you subsequently
delete them from your deleted items folder, or 2) you pressed Shift + Delete when deleting these items, in which case they bypass the Deleted Items folder.
Solution: To recover these items, you can do so one of two ways:
1. Via WebMail (Outlook Web Access): log in to WebMail normally, then right-click on the folder that you want to recover items from, click on Open in New, and a new browser window will launch. The URL in this new browser will have a "/?Cmd=contents" at the end; change this to "?Cmd=showdeleted". The URL should look something like: http://exchange.easystreet.com/exchange/company.username/deleted items/?Cmd=showdeleted
2. Via Outlook: if the items that you want to recover were emptied or deleted from the Deleted Items folder, then click on Outlook -> Tools -> Recover Deleted Items. This will give you a list of all the items that are recoverable from that particular folder. Highlight the items that you need back, and click on Recover Deleted Items. However, if you did a Shift + Delete from another folder, then you need to add the following registry entry to enable the Recover Deleted Items option inside any of the other folders:
1. Start Registry Editor (Regedt32.exe).
2. Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Options
3. On the Edit menu, click Add Value, and then add the following registry value:
Value name: DumpsterAlwaysOn
Data type: DWORD
Value data: 1
4. Quit Registry Editor.
5. Restart your computer.
Problem: You "hard deleted" items (e-mails, contacts, etc.) from a folder either via Outlook or WebMail. A "hard delete" is when you either 1) delete items from any folder, which moves them to the Deleted Items folder, and then you subsequently
delete them from your deleted items folder, or 2) you pressed Shift + Delete when deleting these items, in which case they bypass the Deleted Items folder.
Solution: To recover these items, you can do so one of two ways:
1. Via WebMail (Outlook Web Access): log in to WebMail normally, then right-click on the folder that you want to recover items from, click on Open in New, and a new browser window will launch. The URL in this new browser will have a "/?Cmd=contents" at the end; change this to "?Cmd=showdeleted". The URL should look something like: http://exchange.easystreet.com/exchange/company.username/deleted items/?Cmd=showdeleted
2. Via Outlook: if the items that you want to recover were emptied or deleted from the Deleted Items folder, then click on Outlook -> Tools -> Recover Deleted Items. This will give you a list of all the items that are recoverable from that particular folder. Highlight the items that you need back, and click on Recover Deleted Items. However, if you did a Shift + Delete from another folder, then you need to add the following registry entry to enable the Recover Deleted Items option inside any of the other folders:
1. Start Registry Editor (Regedt32.exe).
2. Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Options
3. On the Edit menu, click Add Value, and then add the following registry value:
Value name: DumpsterAlwaysOn
Data type: DWORD
Value data: 1
4. Quit Registry Editor.
5. Restart your computer.
Labels:
Mails,
ThuThuatPC
Hosted Exchange Recovering Deleted Items
NOTE: Deleted items are only available for two days after you've done a hard delete.
Problem: You "hard deleted" items (e-mails, contacts, etc.) from a folder either via Outlook or WebMail. A "hard delete" is when you either 1) delete items from any folder, which moves them to the Deleted Items folder, and then you subsequently
delete them from your deleted items folder, or 2) you pressed Shift + Delete when deleting these items, in which case they bypass the Deleted Items folder.
Solution: To recover these items, you can do so one of two ways:
1. Via WebMail (Outlook Web Access): log in to WebMail normally, then right-click on the folder that you want to recover items from, click on Open in New, and a new browser window will launch. The URL in this new browser will have a "/?Cmd=contents" at the end; change this to "?Cmd=showdeleted". The URL should look something like: http://exchange.easystreet.com/exchange/company.username/deleted items/?Cmd=showdeleted
2. Via Outlook: if the items that you want to recover were emptied or deleted from the Deleted Items folder, then click on Outlook -> Tools -> Recover Deleted Items. This will give you a list of all the items that are recoverable from that particular folder. Highlight the items that you need back, and click on Recover Deleted Items. However, if you did a Shift + Delete from another folder, then you need to add the following registry entry to enable the Recover Deleted Items option inside any of the other folders:
1. Start Registry Editor (Regedt32.exe).
2. Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Options
3. On the Edit menu, click Add Value, and then add the following registry value:
Value name: DumpsterAlwaysOn
Data type: DWORD
Value data: 1
4. Quit Registry Editor.
5. Restart your computer.
Problem: You "hard deleted" items (e-mails, contacts, etc.) from a folder either via Outlook or WebMail. A "hard delete" is when you either 1) delete items from any folder, which moves them to the Deleted Items folder, and then you subsequently
delete them from your deleted items folder, or 2) you pressed Shift + Delete when deleting these items, in which case they bypass the Deleted Items folder.
Solution: To recover these items, you can do so one of two ways:
1. Via WebMail (Outlook Web Access): log in to WebMail normally, then right-click on the folder that you want to recover items from, click on Open in New, and a new browser window will launch. The URL in this new browser will have a "/?Cmd=contents" at the end; change this to "?Cmd=showdeleted". The URL should look something like: http://exchange.easystreet.com/exchange/company.username/deleted items/?Cmd=showdeleted
2. Via Outlook: if the items that you want to recover were emptied or deleted from the Deleted Items folder, then click on Outlook -> Tools -> Recover Deleted Items. This will give you a list of all the items that are recoverable from that particular folder. Highlight the items that you need back, and click on Recover Deleted Items. However, if you did a Shift + Delete from another folder, then you need to add the following registry entry to enable the Recover Deleted Items option inside any of the other folders:
1. Start Registry Editor (Regedt32.exe).
2. Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client\Options
3. On the Edit menu, click Add Value, and then add the following registry value:
Value name: DumpsterAlwaysOn
Data type: DWORD
Value data: 1
4. Quit Registry Editor.
5. Restart your computer.
Labels:
Mails,
ThuThuatPC
Sunday, March 7, 2010
10 điểm đặc biệt của con người (theo Bwportal)
1. Chúng ta tiếp nhận quyết định thường là theo cảm tính
Các quyết định được chúng ta đưa ra thường được dựa trên cảm giác, nhu cầu hoặc tình cảm chứ không hẳn là tính lô-gíc. Chính vì nguyên nhân này, các lợi ích phi vật chất mà chúng ta nhận được chính là
một trong những yếu tố thuyết phục hành động mua hàng. Đừng quên nút ấn mà với nó, bạn có thể tác động đến tình cảm của con người.
2. Chúng ta cần cơ sở lập luận
Ví dụ: một người nhìn thấy quảng cáo với bức ảnh về chiếc xe hơi thể thao và anh ta thấy thích nó. Anh ta sẽ không mua chiếc xe này khi chưa thấy thích nó, và anh ta muốn có được các thông tin cụ thể về đặc điểm kỹ thuật như công suất động cơ, độ an toàn, giá cả và dịch vụ chăm sóc. Anh ta muốn có chiếc xe này vì nó cho phép anh ta có được cảm giác thoải mái. Nhưng anh ta chỉ mua nó khi có thể biện minh cho hành vi mua bán của mình và chứng minh được tính lý trí của hành động đó.
3. Chúng ta là trung tâm tâm tự kỷ
Chúng ta nhìn nhận thế giới với quan điểm của cách mà nó có quan hệ với chúng ta Khi có ai đó yêu cầu chúng ta thực hiện điều gì đó, chúng ta lập tức bắt đầu nghĩ rằng, liệu điều này mang lại cho chúng ta những gì? Con người thường cố gắng nghĩ về bản thân trước hết. Thậm chí anh ta là người rất tốt. Đó là bản chất của con người.
4. Chúng ta coi trọng giá trị
Khi lựa chọn sản phẩm này hay sản phẩm kia, chúng ta thường quan tâm tới giá trị của nó trước hết. Sau đó, chúng ta so sánh giá trị đó với giá hàng hóa.Giá trị hàng hóa càng lớn so với giá hàng hóa thì xác suất mà sản phẩm sẽ được bán cho người này càng cao hơn. Dĩ nhiên, đối với mỗi người thì giá trị hàng hóa là giá của bản thân.
5. Tính xã hội
Não người không phải là máy tính.Các nhà bác học đã chứng minh rằng chức năng chính của não được thể hiện ở việc giải quyết các vấn đề tác động xã hội, mối quan hệ lẫn nhau giữa con người. Chúng ta hãy thử nhớ lại các bài giảng toán thời phổ thông. Bản chất của bài toán luôn dễ hiểu, nếu như nó có liên quan đến cuộc sống thực chứ không phải với các dữ liệu trừu tượng. Vì thế mà trong việc quảng bá sản phẩm, nhiều công ty tích cực sử dụng lời nhận xét của các khách hàng khác, các câu chuyện thành công, ảnh, hình minh họa…
6. Bạn không thể buộc mọi người làm bất cứ điều gì
Khi mọi người mua bán, điều này diễn ra không phải bởi bạn có được quyền lực với họ. Bạn có thể kêu gọi, chỉ huy, nhưng cối cùng, con người cũng sẽ làm điều mà họ muốn chứ không phải điều mà bạn muốn. Điều này có nghĩa là công việc của bạn được thực hiện nhằm chỉ ra cách thức mà bạn đề nghị, thỏa mãn các nhu cầu hiện tại và trong tương lai của khách hàng.
7. Mọi người thích mua sắm
Con người thực sự rất thích mua sắm. Đơn giản là hãy lưu ý đến ngành công nghiệp phần mềm. Gần như mỗi một phần mềm nhỏ có bản quyền đều có tỷ biến miễn phí.Nhưng mọi người tiếp tục sử dụng chương trình phần mềm tính phí. Đừng vội vàng thúc đẩy quá trình mua hàng – bản thân con người sẽ muốn kết thúc quá trình đó. Bạn chỉ cần đưa ra đề xuất hấp dẫn khiến khách hàng quan tâm.
8. Chúng ta thường hay nghi ngờ
Phần lớn mọi người ngần ngừ lưỡng lự với một món hàng nào đó. Họ không muốn rủi ro. Bạn không bao giờ không thể nói trước được về sự thiếu tin tưởng của khách hàng đối với sản phẩm. Vì thế mà cần tính đến các yếu tố: kết quả thử nghiệm, nghiên cứu, xác nhận từ các nguồn thông tin, các dữ liệu khoa học.
9. Mọi người luôn tìm kiếm một thứ gì đó
Tình yêu. Sự giàu có. Vinh quang. Tiện ích. An toàn. Họ luôn tìm kiếm một thứ gì đó. Nhiệm vụ của bạn rất đơn giản – hãy đưa ra những gì mà họ tìm kiếm. Và không cần gì hơn. Thế là đủ.
10. Mọi người hành động thường là theo tâm lý bầy đàn
Nếu được những người khác đánh giá thì sản phẩm được coi là tốt. Những cuốn sách bán chạy nhất, những bộ phim bom tấn thu hút nhiều lượt độc giả và khán giả chỉ bởi vì đã có nhiều người đã đọc cuốn sách hoặc xem bộ phim.
Các quyết định được chúng ta đưa ra thường được dựa trên cảm giác, nhu cầu hoặc tình cảm chứ không hẳn là tính lô-gíc. Chính vì nguyên nhân này, các lợi ích phi vật chất mà chúng ta nhận được chính là
một trong những yếu tố thuyết phục hành động mua hàng. Đừng quên nút ấn mà với nó, bạn có thể tác động đến tình cảm của con người.
2. Chúng ta cần cơ sở lập luận
Ví dụ: một người nhìn thấy quảng cáo với bức ảnh về chiếc xe hơi thể thao và anh ta thấy thích nó. Anh ta sẽ không mua chiếc xe này khi chưa thấy thích nó, và anh ta muốn có được các thông tin cụ thể về đặc điểm kỹ thuật như công suất động cơ, độ an toàn, giá cả và dịch vụ chăm sóc. Anh ta muốn có chiếc xe này vì nó cho phép anh ta có được cảm giác thoải mái. Nhưng anh ta chỉ mua nó khi có thể biện minh cho hành vi mua bán của mình và chứng minh được tính lý trí của hành động đó.
3. Chúng ta là trung tâm tâm tự kỷ
Chúng ta nhìn nhận thế giới với quan điểm của cách mà nó có quan hệ với chúng ta Khi có ai đó yêu cầu chúng ta thực hiện điều gì đó, chúng ta lập tức bắt đầu nghĩ rằng, liệu điều này mang lại cho chúng ta những gì? Con người thường cố gắng nghĩ về bản thân trước hết. Thậm chí anh ta là người rất tốt. Đó là bản chất của con người.
4. Chúng ta coi trọng giá trị
Khi lựa chọn sản phẩm này hay sản phẩm kia, chúng ta thường quan tâm tới giá trị của nó trước hết. Sau đó, chúng ta so sánh giá trị đó với giá hàng hóa.Giá trị hàng hóa càng lớn so với giá hàng hóa thì xác suất mà sản phẩm sẽ được bán cho người này càng cao hơn. Dĩ nhiên, đối với mỗi người thì giá trị hàng hóa là giá của bản thân.
5. Tính xã hội
Não người không phải là máy tính.Các nhà bác học đã chứng minh rằng chức năng chính của não được thể hiện ở việc giải quyết các vấn đề tác động xã hội, mối quan hệ lẫn nhau giữa con người. Chúng ta hãy thử nhớ lại các bài giảng toán thời phổ thông. Bản chất của bài toán luôn dễ hiểu, nếu như nó có liên quan đến cuộc sống thực chứ không phải với các dữ liệu trừu tượng. Vì thế mà trong việc quảng bá sản phẩm, nhiều công ty tích cực sử dụng lời nhận xét của các khách hàng khác, các câu chuyện thành công, ảnh, hình minh họa…
6. Bạn không thể buộc mọi người làm bất cứ điều gì
Khi mọi người mua bán, điều này diễn ra không phải bởi bạn có được quyền lực với họ. Bạn có thể kêu gọi, chỉ huy, nhưng cối cùng, con người cũng sẽ làm điều mà họ muốn chứ không phải điều mà bạn muốn. Điều này có nghĩa là công việc của bạn được thực hiện nhằm chỉ ra cách thức mà bạn đề nghị, thỏa mãn các nhu cầu hiện tại và trong tương lai của khách hàng.
7. Mọi người thích mua sắm
Con người thực sự rất thích mua sắm. Đơn giản là hãy lưu ý đến ngành công nghiệp phần mềm. Gần như mỗi một phần mềm nhỏ có bản quyền đều có tỷ biến miễn phí.Nhưng mọi người tiếp tục sử dụng chương trình phần mềm tính phí. Đừng vội vàng thúc đẩy quá trình mua hàng – bản thân con người sẽ muốn kết thúc quá trình đó. Bạn chỉ cần đưa ra đề xuất hấp dẫn khiến khách hàng quan tâm.
8. Chúng ta thường hay nghi ngờ
Phần lớn mọi người ngần ngừ lưỡng lự với một món hàng nào đó. Họ không muốn rủi ro. Bạn không bao giờ không thể nói trước được về sự thiếu tin tưởng của khách hàng đối với sản phẩm. Vì thế mà cần tính đến các yếu tố: kết quả thử nghiệm, nghiên cứu, xác nhận từ các nguồn thông tin, các dữ liệu khoa học.
9. Mọi người luôn tìm kiếm một thứ gì đó
Tình yêu. Sự giàu có. Vinh quang. Tiện ích. An toàn. Họ luôn tìm kiếm một thứ gì đó. Nhiệm vụ của bạn rất đơn giản – hãy đưa ra những gì mà họ tìm kiếm. Và không cần gì hơn. Thế là đủ.
10. Mọi người hành động thường là theo tâm lý bầy đàn
Nếu được những người khác đánh giá thì sản phẩm được coi là tốt. Những cuốn sách bán chạy nhất, những bộ phim bom tấn thu hút nhiều lượt độc giả và khán giả chỉ bởi vì đã có nhiều người đã đọc cuốn sách hoặc xem bộ phim.
Labels:
Đời Sống
Subscribe to:
Posts (Atom)