Browsing the archives for the Ubuntu Server tag.


If you are getting “could not reliably determine the servername”

F.A.Q.'s, How To's, LAMP, Ubuntu, Ubuntu Server

If you are getting any of the following errors please see this page!

apache2: could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername
apache2: could not reliably determine the server's fully qualified domain name
apache2: could not reliably determine the server
apache2: could not reliably determine the server's fully qualified domain name, using
could not reliably determine apache2
could not reliably determine the server's fully qualified domain name
ubuntu 8.10 apache2: could not reliably determine the server's fully qualified domain name
could not reliably determine the server’s fully qualified domain name""
could not reliably determine the""
could not reliably"" apache2
could not reliably"" servername
could not determine fully qualified hostname ubuntu server 8.10
could not reliably determine
could not reliably determine the server
could not reliably determine the server fully qualified domain name ubuntu
could not reliably determine the server's apache2
could not reliably determine the server's fully qualified domain name windows
could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername
could not reliably determine the server's fully qualified domain, using
could not reliably determine the server\\\'s fully qualified domain name
apache ""could not reliably determine the server""
apache 2 could not determinate
apache could not reliably determine servername
apache couldn reliably determine the
apache2 + could not reliably determine the server's fully qualified domain name+virtual machine
apache2 apache2 could not reliably determine the
apache2 could not reliably determin
apache2 could not reliably determine domain name
apache2 could not reliably determine the server fully qualified domain name
apache2 could not reliably determine the server's
apache2 could not reliably determine the server's fully qualified domain name
apache2 could not reliably fully qualified ubuntu
apache2 error could not reliably determin servers fully qualified
apache2 reliably determine ubuntu 8.10 server
apache2 servername ""could not reliably determine"" ""fully qualified domain name""
apache2: could not reliably
apache2: could not reliably determine the server's fully qualified
apache2: could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for servername in ubuntu
No Comments

Ubuntu Terminal – Basic Commands and Usage

F.A.Q.'s, How To's, LAMP, Open Source, P.C. Linux, Ubuntu, Ubuntu Server

To start a terminal form the GUI(Graphical User Interface)

In Gnome (Ubuntu)
The terminal can be found at Applications menu -> Accessories -> Terminal.

In Xfce (Xubuntu)
The terminal can be found at Applications menu -> System -> Terminal.

In KDE (Kubuntu)
The terminal can be found at KMenu -> System -> Terminal Program (Konsole).

Commands

sudo: Executing Commands with Elevated Privileges

  • Most of the following commands will need to be prefaced with the sudo command if you will be working with directories or files not owned by your account. This is a special command which temporarily gives you access to change computer settings. The terminal will ask you for your password.

File & Directory Commands

  • pwd: The pwd command will allow you to know in which directory you’re located (pwd stands for “print working directory”). Example: “pwd” in the Desktop directory will show “~/Desktop”. Note that the Gnome Terminal also displays this information in the title bar of its window – see the example screenshot at the top of this page.

  • ls: The ls command will show you the files in your current directory. Used with certain options, you can see sizes of files, when files were made, and permissions of files. Example: “ls ~” will show you the files that are in your home directory.

  • cd: The cd command will allow you to change directories. When you open a terminal you will be in your home directory. To move around the file system you will use cd. Examples:

    • To navigate into the root directory, use “cd /”

    • To navigate to your home directory, use “cd” or “cd ~”

    • To navigate up one directory level, use “cd ..”

    • To navigate to the previous directory (or back), use “cd -”

    • To navigate through multiple levels of directory at once, specify the full directory path that you want to go to. For example, use, “cd /var/www” to go directly to the /www subdirectory of /var/. As another example, “cd ~/Desktop” will move you to the Desktop subdirectory inside your home directory.

  • cp: The cp command will make a copy of a file for you. Example: “cp file foo” will make a exact copy of “file” and name it “foo”, but the file “file” will still be there. If you are copying a directory, you must use “cp -r directory foo” (copy recursively).

  • mv: The mv command will move a file to a different location or will rename a file. Examples are as follows: “mv file foo” will rename the file “file” to “foo”. “mv foo ~/Desktop” will move the file “foo” to your Desktop directory but will not rename it. You must specify a new file name to rename a file.

    • To save on typing, you can substitute ‘~’ in place of the home directory.
    • Note that if you are using mv with sudo you can use the ~ shortcut, because the terminal expands the ~ to your home directory. However, when you open a root shell with sudo -i or sudo -s, ~ will refer to the root account’s home directory, not your own.

  • rm: Use this command to remove or delete a file in your directory.

  • rmdir: The rmdir command will delete an empty directory. To delete a directory and all of its contents recursively, use rm -r instead.

  • mkdir: The mkdir command will allow you to create directories. Example: “mkdir music” will create a directory called “music”.

  • man: The man command is used to show you the manual of other commands. Try “man man” to get the man page for man itself. See the “Man & Getting Help” section down the page for more information.

No Comments

How to share files and folders in Ubuntu Desktop

Configuring Ubuntu, F.A.Q.'s, How To's, P.C. Linux, Tech Industry News, Ubuntu, Ubuntu Server

This will teach you how to enable file sharing in ubuntu desktop, hopefully.

  1. Sharing files and folders across your network from your Ubuntu PC is every bit as easy as sharing files in Windows (arguably, it’s easier). Start by right-clicking the folder you want to share, and select Share Folder. If the services required to share files/folders aren’t installed, you’ll be prompted to install them.
  2. After clicking Install services they will automatically start to download and install.
  3. Once that has completed you’ll be presented with an options window. From here you can select the type of sharing (SMB or NFS), give the shared folder a name and decide if you want read-only access to the folder. Click OK when you’re done.
  4. If you right-click on your newly shared folder and select Properties and then the Emblems tab, you can give the folder a unique icon so you’ll know it’s shared.
  5. You can further modify the permissions of your shared folder by selecting the Permissions tab after right clicking.

To add a user to use the share:

  1. Now open a terminal in Ubuntu and enter the command:
    sudo smbpasswd -a username

This will add a user/pass for you to use.

YAY! we’re done!

No Comments

Using phpMyAdmin to import and export databases.

Configuring Ubuntu, F.A.Q.'s, How To's, Open Source, P.C. Linux, Ubuntu, Ubuntu Server

Exporting the database.

Step One:

Select your database from the menu on the left.

Selecting your database

Selecting your database

Step Two:

Select the export tab in the tab menu at the top.

Open the export tab

Open the export tab

Step Three:

Select the tables you want to export, if you want to do the whole database just click select all.

Select your tables

Select your tables

Step Four:

Select the “zipped” bullet option towards the bottom. This will allow you to download a copy to your computer.

Zip it up

Zip it up

Importing the database:

Step one:

Select the database you want to import into:

select import database

select import database

Step Two:

Select the import tab.

Import Tab Sir

Import Tab Sir

Step Three:

Browse for your file:

browse my thangs

browse my thangs

Step Four:

Select ok or import depending on your version!

DONE!

No Comments

What the crap is sudoers?

Configuring Ubuntu, F.A.Q.'s, How To's, Open Source, P.C. Linux, Ubuntu, Ubuntu Server

The file /etc/sudoers, has the rules that users have to follow when using sudo command it is typically debian based.

If you want someone to be able to use sudo you would need to add them here.

No Comments
« Older Posts
Newer Posts »