Ubuntu.sh

Aus informatikvs
Wechseln zu: Navigation, Suche
#!/bin/sh

# Mac4Lin Installation Script
# Author: infra_red_dude
# Send feedback to infra_red_dude@users.sourceforge.net
# Homepage: http://sourceforge.net/projects/mac4lin
clear
echo "**************************************"
echo "     Welcome to Mac4Lin Installer     "
echo
echo " This installer will install most of  "
echo " Mac4Lin components and enable the UI "
echo
echo "    Note: Xfce users will need to     "
echo "      manually enable the UI          "
echo "**************************************"
echo
echo
echo "*** Run this script as a normal user (not root!) ***"
read -p "Press any key to start Installation or Ctrl+C to quit this install"
echo
sudo sh /usr/share/doc/libdvdread4/install-css.sh
sudo apt-get install python-setuptools
sudo apt-get install calibre
sudo apt-get install gdebi
sudo apt-get install nmap
sudo apt-get install apache2 php5 libapache2-mod-php5

sudo apt-get install gtweakui
echo "sudo apt-get remove gtweakui"
apt://avant-window-navigator

# http://wiki.ubuntuusers.de/screencasts :
mkdir /home/deinBenutzername/Cankiri
mv /home/deinBenutzername/cankiri-0.1.tar.gz /home/deinBenutzername/Cankiri/
cd /home/dein/Benutzername/Cankiri/
tar xzvf cankiri-0.1.tar.gz
sudo mkdir /opt/cankiri
sudo cp /home/raphael/cankiri-0.1.tar.gz /opt/cankiri/
sudo tar xzvf /opt/cankiri/*.tar.gz

#java plugin:
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jre java-common
sudo apt-get install sun-java6-plugin
java -version

# install webcam-server
sudo apt-get install webcam-server
sudo cp /home/horst/"Ubuntu One"/webcam-server /etc/init.d/webcam-server
sudo cp /usr/share/doc/webcam-server/applet/* /var/www/
sudo chmod +x /etc/init.d/webcam-server
sudo update-rc.d webcam-server defaults
sudo /etc/init.d/webcam-server start


virtual box
Ein CDROM-Abbild mit den VirtualBox-Gasterweiterungen konnte weder unter
/usr/share/virtualbox/VBoxGuestAdditions.iso
noch unter
/usr/lib/virtualbox/additions/VBoxGuestAdditions.iso
gefunden werden.
Möchten Sie diese Datei nun aus dem Internet herunterladen?

#drupal
#von: http://drupal.org/documentation/install
wget http://ftp.drupal.org/files/projects/drupal-x.x.tar.gz
tar -xzvf drupal-x.x.tar.gz
mv drupal-x.x/* drupal-x.x/.htaccess ./
rmdir drupal-x.x
1. Create a new database for your site.
mysqladmin -u username -p create databasename

MySQL prompts for the 'username' database password, and creates the initial database files.

2. Log in and set the access database rights:
mysql -u username -p

MySQL prompts for the 'username' database password.

3. At the MySQL prompt, set the permissions using the following command:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES, CREATE TEMPORARY TABLES ON `databasename`.* TO 'username'@'localhost' IDENTIFIED BY 'password';

In this case:

    * 'databasename' is the name of your database
    * 'username@localhost' is the username of your MySQL account
    * 'password' is the password required for that username
You will need the ` around the database name if you have used a MySQL escape character in your schema name.

Eg: drupal_test_account.* should be drupal\_test\_account.* for security (underscore is a wildcard). This requires the ` wrapper. `drupal\_test\_account`.*

Note: unless your database user has all of the privileges listed above, you will not be able to run Drupal.

4. If successful, MySQL will reply with:
Query OK, 0 rows affected

5. To activate the new permissions, enter the following command:
FLUSH PRIVILEGES;

6. Now exit the MYSQL prompt by typing:
exit
The server will answer by saying
Bye