Archive for the ‘Linux and Unix OS’ Category

How to accept a self-signed certificates?

For those that are annoy by the security message whenever you browse into a self-signed certificate site,  the only way to do this is to import the certificate into your computer so that next time when you browse to the same site it won’t prompt you with the security question. Browser Error Certificate Error:  There [...]

Leave a Comment

How to change files owner and group in Linux?

To change a file’s owner or a group, you will need to use the ‘chown‘ command. Here are some examples: To change a single file owner, type in ‘chown newowner yourfile‘ To change a single file and group name, type in ‘chown newowner:newgroup yourfile‘ To change a directory, type in ‘chown -R newowner yourdirectory‘ * [...]

Leave a Comment

phpMyAdmin Ubuntu installation

Today, I was messing around with the installation of phpMyAdmin.  I used the normal ‘apt-get’ command for the installation.  To my surprise, it didn’t work.  The installation installed fine, but when I opened up my browser and try to access the phpMyAdmin page, it gave me a ‘page not found’ error.  I searched online and [...]

Leave a Comment

Linux: How to search and print command output?

Well today, I was trying to do a simple test with Ubuntu. .. that is trying to print the output of the ‘ps -aux‘ command.  It wasn’t that bad.  The way to do this is to pipe it into the ‘LPR’ that is your printer. e.g. ps -aux | lpr This will send the output [...]

Leave a Comment

How to add Alias commands to Startup in Linux?

1. Edit the ‘.profile’ file inside your home directory (e.g. /home/yourname ).  You can use vi or pico to edit the file.  My personal favorite is pico. Easiler to navigate. e.g. pico /home/yourname/.profile 2. Add your alias commands to the end of the file e.g.  alias dir=”ls -al | more” 3. Save the file 4. [...]

Leave a Comment

How to enable SSH in Ubuntu?

So, you want to be able to remotely connect into your ubuntu server? you can. One way to do this is to enable the SSH service on the server. The most common ssh out there is OpenSSH.  So the following instruction is for enabling the OpenSSH in Ubuntu. 1. Login to your server 2. Type [...]

Leave a Comment

How to install VMWare tools in Ubuntu?

First, you would need to click on the ‘Install VMWare Tools’ in VMware.  Now, go to the Ubuntu machine and extra the VMwareTools-*.tar.gz file to a temp directory. Open up the terminal windows in Ubuntu (Application->Accessories->Terminal) and change to the directory where you extracted the vmware tools files. Type in the following command: sudo ./vmware-install.pl [...]

Leave a Comment

Solaris Commands Quicksheet

Here’s a nice find I found on the web which have list out most of the useful Solaris commands. Click link to download pdf

Leave a Comment

How to Find a file by name in UNIX/Solaris/Linux?

To find a file in UNIX, Solaris, or Linux,  you can use the ‘Find‘ command. Exampel: find / -name apache.* -print This will search the whole system for any filename with apache and print the output to the screen. Other arguments for the Find command: -user username   <– this will search files owned by an [...]

Leave a Comment

Blackberry Sync Showing the Same Confirm Calendar Edit Items

Okay, today I ran into this problem with a client’s Blackberry device.  Whenever he sync his Blackberry to Desktop Manager he will see the same confirm calendar edit items.  I spent two hours trying to figure out why this is happening and it turns out that on those calendar items, one of the attendee’s email [...]

Leave a Comment