Ubuntu Tips: Difference between revisions
From JoeHacker
No edit summary |
|||
Line 1: | Line 1: | ||
== Server Documentation == | |||
Ubuntu has put up really nice documentation for configuring servers. https://help.ubuntu.com/9.04/serverguide/C/index.html | |||
== General Changes == | == General Changes == | ||
dash is the default shell linked to /bin/sh. This can cause a number of problems with some scripts. To change /bin/sh back to bash use the following command. | dash is the default shell linked to /bin/sh. This can cause a number of problems with some scripts. To change /bin/sh back to bash use the following command. |
Revision as of 09:24, 15 August 2009
Server Documentation
Ubuntu has put up really nice documentation for configuring servers. https://help.ubuntu.com/9.04/serverguide/C/index.html
General Changes
dash is the default shell linked to /bin/sh. This can cause a number of problems with some scripts. To change /bin/sh back to bash use the following command.
dpkg-reconfigure dash
Admin Commands
allow a user to sudo
sudo adduser <username> sudo adduser <username> admin
Apache
remake ssl snakeoil cert
sudo make-ssl-cert generate-default-snakeoil --force-overwrite
Disable default site
a2dissite default
Enable ldap
a2enmod authnz_ldap
LDAP TLS
The following line needs to be defined in /etc/ldap/ldap.conf
TLS_CACERT /etc/ssl/certs/[CA_CERT.pem]
Where CA_CERT.pem is your Root CA.
Helpful page to configure ldap server https://help.ubuntu.com/8.10/serverguide/C/openldap-server.html
Wireless Keys
It remove a saved passphase for a wireless connection that NetworkManager uses, the following command will let you update the keys. The are on the Password tab.
seahorse
Links
Here are some useful links
- http://www.howtoforge.com/perfect-server-ubuntu-9.04-ispconfig-2 - Nice tips for configuring an Ubuntu server