Hi all,
I'm currenting trying the GetSimpleCMS.
During the installation, it's required to enable "rewrite" module of apache.
Ho to do it?
From command line(as root) give this:
a2enmod rewrite
and after restart apache:
/etc/init.d/apache2 restart
All is do it...
Bye..
Wednesday, February 5, 2014
Monday, November 25, 2013
Eclipse: quick SVN plugin installation...
On Eclipse toolbar choose Help --> Install New Software
On "Work with:" text input, on the right, click on "Add" button.
Insert new site point:
alias: SVN
URL: http://download.eclipse.org/technology/subversive/1.1/update-site/
The url point to the latest available version(november 2013) of svn releases.
You can check the latest available going on:
http://www.eclipse.org/subversive/latest-releases.php
and checking the Latest Stable Build paragraph,
in the "Update Site:" point.
After you entered those values, you can proceed with the installation click forward button.
If you want you can avoid to install SVN sources by not-checking the flag in the components-to-install menu .
Next restart eclipse.
After eclipse will ask you to choose a connector from a list; choose and go forward and all is done.
Bye
On "Work with:" text input, on the right, click on "Add" button.
Insert new site point:
alias: SVN
URL: http://download.eclipse.org/technology/subversive/1.1/update-site/
The url point to the latest available version(november 2013) of svn releases.
You can check the latest available going on:
http://www.eclipse.org/subversive/latest-releases.php
and checking the Latest Stable Build paragraph,
in the "Update Site:" point.
After you entered those values, you can proceed with the installation click forward button.
If you want you can avoid to install SVN sources by not-checking the flag in the components-to-install menu .
Next restart eclipse.
After eclipse will ask you to choose a connector from a list; choose and go forward and all is done.
Bye
Saturday, November 23, 2013
Debian Wheezy: you are looking for chrome? You have Chromium!!!
Chromium is the Google's open source chromium web browser.
It's included into debian repositories...
Having these repositories into the sources.list(see here), give these commands as root...
Bye....
It's included into debian repositories...
Having these repositories into the sources.list(see here), give these commands as root...
apt-get updateapt-get install chromium
Look into internet application menu or give chromium from command line.. Bye....
Wednesday, November 6, 2013
Debian Wheezy: change desktop resolution from command line
From command line execute xrandr
command to display a list of available resolutions.
xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
1280x800 59.9*+
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
The * is the current selected.
xrandr -s 1024x768
for set a resolution(one from the availables)
Bye..
xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
1280x800 59.9*+
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
The * is the current selected.
xrandr -s 1024x768
for set a resolution(one from the availables)
Bye..
Wednesday, October 30, 2013
Debian Wheezy repositories
Example of a default-starting sources.list content
Bye..
deb http://http.debian.net/debian wheezy main deb-src http://http.debian.net/debian wheezy main deb http://http.debian.net/debian wheezy-updates main deb-src http://http.debian.net/debian wheezy-updates main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main
Bye..
Monday, October 28, 2013
Debian Wheezy: resize/scale images from command line.
First of all you need to have installed imagemagick.
If no, install it from terminal as root so:
apt-get install imagemagick
Now you are ready to convert input.jpg file into output.jpg file for a 1000 pixels of width and 500 pixels of height....
convert -scale 1000x500 input.jpg output.jpg
The scale method, in this case, depends of the height and the weight of your image.
So if your image is 2 pixels of width and 1 pixels of height the perform will gone exactly.
Differently the perform will be approximated.
If you want to force the scale performing to make a image of gived dimensions...
convert -scale 1000x500! input.jpg output.jpg
If you have multiple files to convert use this:
for i in $( ls *.JPG); do convert -resize 1300x500 $i $i; done
Bye.
If no, install it from terminal as root so:
apt-get install imagemagick
Now you are ready to convert input.jpg file into output.jpg file for a 1000 pixels of width and 500 pixels of height....
convert -scale 1000x500 input.jpg output.jpg
The scale method, in this case, depends of the height and the weight of your image.
So if your image is 2 pixels of width and 1 pixels of height the perform will gone exactly.
Differently the perform will be approximated.
If you want to force the scale performing to make a image of gived dimensions...
convert -scale 1000x500! input.jpg output.jpg
If you have multiple files to convert use this:
for i in $( ls *.JPG); do convert -resize 1300x500 $i $i; done
Bye.
Wednesday, October 23, 2013
Debian Wheezy: mounting windows shared folder
First of all install cifs-utils smbclient packets, to browse and mount net folders..
So from command line:
apt-get install smbclient cifs-utils
Then you need to create a local folder to map remote folder
mkdir /home/username/example_folder
Then you can mount the remote folder by executing this:
mount -t cifs -o username=remote_pc_username //remote_pc_ip_address/remote_folder_shared_name /home/username/example_folder
Where:
remote_pc_username is the username of remote pc
remote_pc_ip_address is the remote ip address
remote_folder_shared_name is the name that the shared folder has into the local net.
Example 2:
mount -t cifs -o username=pippo //192.168.1.2/shared /home/pluto/example_folder
Terminal will prompts to you the password request....
Give it and then you will have correctly mapped your remote folder into your local example_folder
Bye..
So from command line:
apt-get install smbclient cifs-utils
Then you need to create a local folder to map remote folder
mkdir /home/username/example_folder
Then you can mount the remote folder by executing this:
mount -t cifs -o username=remote_pc_username //remote_pc_ip_address/remote_folder_shared_name /home/username/example_folder
Where:
remote_pc_username is the username of remote pc
remote_pc_ip_address is the remote ip address
remote_folder_shared_name is the name that the shared folder has into the local net.
Example 2:
mount -t cifs -o username=pippo //192.168.1.2/shared /home/pluto/example_folder
Terminal will prompts to you the password request....
Give it and then you will have correctly mapped your remote folder into your local example_folder
Bye..
Subscribe to:
Posts (Atom)