Wednesday 19 December 2012

Install SVN Server on CentOS


Install SVN


Install mod_dav_svn right away which is required to make SVN work with Apache.
$ yum install mod_dav_svn subversion

Create a repository
$ svnadmin create /path/to/

Permissions to access the repository
$ chown -R apache:apache /path/to/


Setup SVN Users

Config file for the repository to allow users access to it
$ vi /path/to//conf/svnserve.conf

Uncomment the lines like so:
auth-access = write
password-db = passwd

Create a htpasswd file which will hold users and passwords for accessing to this repository
$ htpasswd -c /path/to//conf/passwd


Configure Apache

Edit the following file:
$ vi /etc/httpd/conf.d/subversion.conf

LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
DAV svn
SVNPath /path/to/
Authtype Basic
AuthName "My Repository"
AuthUserFile /path/to//conf/passwd
Require valid-user
 

The path /svn is where the repository will be served out of.
Finally, restart apache for new configuration to take affect:
$ service httpd restart

Wednesday 18 April 2012

4 Things Young Entrrepreneurs Need (A Fancy College Degree Isn’t One of Them)

“What’s the most important thing I need to know?”
Whether I’m working with one of the businesses I mentor, speaking at events, perusing my inbox or answering questions on a panel, this is the question that arises more than any other. While there is no magic formula to success, there are some key factors that every young entrepreneur should know.
1. Remember the “you.” Don’t lose yourself by trying to act how you think a CEO or business owner should act. Instead, be authentic to who you are and what you believe in, and enjoy being the leader. True leaders not only have a vision – they also possess the guts to pursue it. You must grow as your business and organizations grow, but never forget the core values you possess right now.
2. Trust your gut. Your instincts got you to where you are now, and while you certainly want and cherish occasional input from those you trust, don’t be afraid to make decisions based on what you feel is right.
3. Find “elephants” (big customers). I always wondered why someone would focus on getting a hundred small customers when for the same effort (if they know how to do it correctly), they could get a few really big customers that could each buy 10 to 100 times as much as the hundred small ones. This thinking applies to every single industry, from retail stores to online businesses, from applications to pizza parlors – even B2Bs. Focus your business on the big customers. Here are a few tips to start your sales force down the big customer path:
  • Position your company for the big customer. Ask yourself what it is about your product or service that appeals to the big customer. Most likely you will have to reposition or shape your offering to directly meet those needs. For example, if you sell retail, ask how big companies can use your product. Maybe corporate or executive gifts. If you have a specialty baking shop, can a big company send out a huge volume as holiday gifts? If you sell B2B, how can your product be shaped to meet global needs of a huge customer?
  • Learn the language. Every large company has its own language. Learn what they call the different buildings and the name of the local sandwich shop. What do they call their contracts? How about their cafeteria and conference rooms, not to mention initiatives that are applicable to you? Learn and use everything you can so that you assimilate into their culture. This information is all around you. Just ask, look around and listen.
  • Embrace bureaucracy. Bureaucracy is a reality of larger companies. Once you accept it, get in there with a small sale at first and then work from the inside out, helping your buyer by helping them within his or her own company. Ask how you can help, then meet with as many different departments as possible.
  • Find your champion. You need someone to represent you in the room when you aren’t there. Whenever you sell the big customer, make sure to leave them with five simple bullet points highlighting the things you want them to know about your product. This way they will remember the key aspects without having to dig through the pile of materials – which, by the way, they won’t do.
4. Think BIG. It amazes me how often I have to push young entrepreneurs to think really big. Many that are starting out are happy just to get some traction. Don’t be. Once you have that traction, it’s time to build big. Look at your business in two ways: 1) How can I sell new stuff to the same people and 2) How can I sell the same stuff to new people?
Focus in on which option or options will lead to huge growth and build your strategy around that. The rest will pick up from there.

Giveaway – 1 Hour Phone Call

Steve Kaplan grew a target marketing company from startup to $250 million in sales with offices in 14 countries before selling it as part of a public company for $2.1 billion. He has owned over 30 businesses – 26 of which have been sold – and is now offering a free one-hour consultation to one of our Under30CEO blog readers!
To enter, leave a comment below explaining why you’d like a personal consultation with him. One winner will be chosen at random on April 23rd.

Monday 5 March 2012

[SLOVED] reset MySQL Password

Sometime you face a problem look like:
ERROR 1045: Access denied for user: 'root@localhost' (Using 
password: NO)
or 
ERROR 1045: Access denied for user: 'root@localhost' (Using 
password: YES) 
 Hence, you should reset your mysqld password just follow these instructions :
stop mysql demon: sudo /etc/init.d/mysql stop
Start the mysqld demon process:
sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
After that, type these commands:
mysql -u root
FLUSH PRIVILEGES;
UPDATE mysql.user SET Password=PASSWORD('newpwd') WHERE User='root';
FLUSH PRIVILEGES;
Anyway, stop mysqld and relaunch mysql by;
sudo /etc/init.d/mysql stop
sudo /etc/init.d/mysql start

[SOLVED] Ibus doesn't work on Skype

I found the method to fix the problem: "unable Ibus working on Skype" as following as:
  1. Make sure installed ibus-qt4, if not try: sudo apt-get install ibus-qt4
  2. Editing /etc/X11/xinit/xinput.d/default, by copying arguments respectively from file /etc/X11/xinit/xinput.d/ibus and then reboot to enjoy it
I guarantee that it's working properly.

Thursday 1 March 2012

Crack permanently IDM

My IDM had been expired a long time, and I didn't know which version of IDM installed on my laptop to google the correct serial number. However, I have got a method to solve this problem regardless which version of IDM using. Here it is:
- copy the following code below to C:\Windows\System32\drivers\etc\hosts
127.0.0.1 tonec.com
127.0.0.1 www.tonec.com
127.0.0.1 registeridm.com
127.0.0.1 www.registeridm.com
127.0.0.1 secure.registeridm.com
127.0.0.1 internetdownloadmanager.com
127.0.0.1 www.internetdownloadmanager.com
127.0.0.1 secure.internetdownloadmanager.com
127.0.0.1 mirror.internetdownloadmanager.com
127.0.0.1 mirror2.internetdownloadmanager.com
127.0.0.1 mirror3.internetdownloadmanager.com
 - after that, open IDM and fill one of the key below:
QIBWH-F5SRH-9XAM2-DVHDR
or
L59BR-8CKUC-W9RIM-YSOT6
or
MWNDP-HO0R0-0U710-I63WG
 Hope you get thing done.