Tag: linux

I have created a Fedora 23 image for Hummingboard/Cubox-i. I will also create a Fedora 24 image as soon as it is released. wget https://googledrive.com/host/0B1Z2aFriRL5PUGpzMHRVbDBNYU0 -O Fedora-Minimal-armhfp-cubox-i_hb-23-10-sda.raw.xz The MD5 hash of this file is aa854909d5e3c9f76a964635b9c4f790

If you want to make a backup of your database or just want to create a dump to migrate your db to another provider, you need to do these steps: 1. Connect to your running application trough SSH. To do that you need to click this link on OpenShift and run the displayed command. 2. Create the dump using this command: mysqldump -u $OPENSHIFT_MYSQL_DB_USERNAME -h $OPENSHIFT_MYSQL_DB_HOST –password=$OPENSHIFT_MYSQL_DB_PASSWORD $OPENSHIFT_GEAR_NAME > dump.sql gzip dump.sql 3. After that you can scp the dump to any location you want.

If you are trying to upload a WordPress site to OpenShift you will have to make the following adjustments to your wp-config.php file: // ** MySQL settings – You can get this info from your web host ** // /** The name of the database for WordPress */ define(‘DB_NAME’,$_ENV[‘OPENSHIFT_GEAR_NAME’]); /** MySQL database username */ define(‘DB_USER’, $_ENV[‘OPENSHIFT_MYSQL_DB_USERNAME’]); /** MySQL database password */ define(‘DB_PASSWORD’, $_ENV[‘OPENSHIFT_MYSQL_DB_PASSWORD’]); /** MySQL hostname */ define(‘DB_HOST’, $_ENV[‘OPENSHIFT_MYSQL_DB_HOST’] . ‘:’ . $_ENV[‘OPENSHIFT_MYSQL_DB_PORT’]); This will help WordPress to use the environment variables that OpenShift setup to connect to MySQL.

Today is the first day of Netflix in Argentina, the subscription is easy, you have to give them your credit card information (ouch!) and you will get a free subscription for one month. At the second month they will charge it directly to your credit card without asking. As a first look, some things are missing, like Linux support (-5 points in my personal scale). And subtitles, you only can watch a movie in spanish, portuguese or english but with no subtitles (-2). But a good point is that there is a lot of movies or series to watch. (+2). That is what I could look so far… Maybe watching a movie I could find more things to complain. 😛 Edit: While using full[…]

In order to allow a user to run a single command as root using sudo run the following as root: echo “user ALL= NOPASSWD : /bin/file” >> /etc/sudoers Where user is the specified username and /bin/file if the path to the binary that we are allowing this user to run. If you want to do further changes to the sudoers file it’s recommended to use the command ‘visudo’ to do so.Para poder hacer esta tarea solo tenemos que ejecutar el siguiente comando como root: echo “user ALL= NOPASSWD : /bin/file” >> /etc/sudoers Donde user es el usuario al que le queremos dar permisos y /bin/file es la dirección o path es el archivo binario que le vamos a permitir ejecutar.[…]