| 107 | }}} |
| 108 | |
| 109 | === Common problems === |
| 110 | |
| 111 | After adding a new user you have to check if the home-folder was created. Sometimes it won’t, so you have to manually create it. |
| 112 | {{{ |
| 113 | $ mkdir /home/{username} |
| 114 | $ chown {username}:{username} /home/{username} |
| 115 | }}} |
| 116 | The link /usr/bin/gcc that points to the currently used compiler could be missing. This could lead to errors when running the make command. So you have to create the symbolic links, depending on your gcc and g++ version, first. |
| 117 | {{{ |
| 118 | $ ln -s /usr/bin/gcc-4.11 /usr/bin/gcc |
| 119 | $ ln -s /usr/bin/g++-4.11 /usr/bin/g++ |
| 120 | }}} |
| 121 | At newer linux distributions you can’t login as user root. Instead there is a user notroot with whom you can login, but you won’t have root privileges. If an application or script needs root privileges, you are forced to enter the password you entered during the installation. In the console window you can get root privileges with the su (Debian) or sudo (Ubuntu, Fedora) command also. Note the inverted commas around the command when using su -c ! |
| 122 | {{{ |
| 123 | $ su -c {'command'} |
| 124 | $ sudo {command} |
| 125 | }}} |
| 126 | If you have problems executing the sudo command, you have to add the user to the /etc/sudoers file. To edit this file just use this command: |
| 127 | {{{ |
| 128 | $ sudo visudo |
| 129 | }}} |
| 130 | In this file you have to add another line after the line for notroot. You can use this: |
| 131 | {username} ALL=(ALL) ALL |
| 132 | The Ubuntu and FedoraCore6 libcurl3-dev package is not recent enough for BOINC. So you have to install the latest version manually. The best way is to get the latest debian packages from the website and install with the dpkg command after downloading to your homefolder. |
| 133 | {{{ |
| 134 | $ sudo dpkg -i libcurl3_7.15.5-1_i386.deb |
| 135 | $ sudo dpkg -i libcurl3-openssl-dev_7.15.5-1_i386.deb |