Linux tipps

Cron jobs Creating a script file in the daily run folder for Ubuntu. cd /etc/cron.daily sudo touch my-daily-job sudo chmod 755 my-daily-job Now add commands to the created script file and you’re done. #!/bin/sh do some job here You can verify that the script will run using this command. sudo […]

Apache + Linux Mint

Install Ubuntu Apache: sudo apt-get install apache2 Ubuntu PHP: sudo apt-get install php5 Ubuntu phpMyAdmin: sudo apt-get install mysql-server phpmyadmin php5-gd Change user and group recursive: # Add user to a group usermod -a -G groupName userName # Change owner chown -R www-data:www-data /media/root/ # Change rights chmod 750 /home/paul/oc […]