Monthly Archives: November 2012

cp command – copy all files under one folder to another folder

cp -r /home/hope/files/* /home/hope/backup Copies all the files, directories, and subdirectories in the files directory into the backup directory. Advertisements

Posted in Linux Command | Tagged | Leave a comment

Samba Server – can’t login by using Ubuntu user name and password

I remember that Samba Server worked very well. but this time I can’t login by using my Linux user name and password after I installed everything. Finally I found out that I didn’t added the user names to Samba by … Continue reading

Posted in Samba, Ubuntu | Tagged , | Leave a comment

Ubuntu:Get UUID of Hard Disks

The Universally Unique Identifier can be used to identify a device independent form its mount point or device name. This is more and more important as many devices today support hot-plugging or are external anyway. Therefore it makes sometimes sense to access … Continue reading

Posted in Ubuntu, UUID | Tagged , | Leave a comment

Identifying the version of Ubuntu you are using

lsb_release -a and press Enter.

Posted in Ubuntu, version | Tagged , | Leave a comment

How to install gnome (GUI) desktop on ubuntu server!

1. sudo apt-get update To update your repository. 2. sudo apt-get install ubuntu-desktop Install Ubuntu Desktop. 3. sudo reboot Done!

Posted in Gnome, Ubuntu | Tagged , | Leave a comment

Determine available free space on Ubuntu?

df -h (Disk Free) It shows the free space on each of the mounted file systems. output: Filesystem      Size      Used      Avail       Use%      Mounted on   So cd to the filesystem that’s … Continue reading

Posted in harddisk | Tagged | Leave a comment

Apache – Mac: getting a 403 Forbidden error: You don’t have permission to access / on this server.

At first, I changed only this line: Original: # DocumentRoot “/Library/WebServer/Documents” DocumentRoot   Modified: “/Users/yulin/Documents/2012/work/putiSite/putiVan20121115” I got “You don’t have permission… …” After I changed this line: Original: # <Directory “/Library/WebServer/Documents”> Modified: <Directory “/Users/yulin/Documents/2012/work/putiSite/putiVan20121115”> And restart apache by  typing: sudo … Continue reading

Posted in Apache, Mac | Tagged , | Leave a comment