Archive for the 'Ubuntu' Category
Posted by: admin (Jun 17) Reinstall all the packages that we used in our previous Ubuntu linux box (it also applies to Debian, etc.) can be a long, then maybe it is not said that we remember everything we used to, especially if they are full of facilities development of libraries or servers installations. To reinstall all the packages on the new boxes, but we can do everything with a few simple commands.
To generate the list of installed packages in your ubuntu linux box:
dpkg - get-selections> installed-software
To check and re-install all packages on your list, ubuntu linux box on the target:
dpkg - set-selections <installed-software
Finally, type the command
Published in: linux , tips , ubuntu Posted by: admin (Tue 21) To operate the engine antispam / antivirus on Ubuntu distro + Webmin + Virtualmin is necessary first of all install the wrapper for procmail, this serves is not in the Ubuntu distro, but you can easily find online at the site of VirtualMin:
http://software.virtualmin.com/gpl/debian/dists/virtualmin-etch/main/binary-i386/
install the package with a simple: sudo dpkg-i-wrapper_1.0 procmail-2_i386.deb
Then you should check the permissions of the resi procmail-wrapper that you can find in / usr / bin:
rwsr-xr-x 1 root root 2.9K 11/28/2006 10:08 procmail-wrapper
actually it should already be ok after installation. In particular, if s does not appear in the user permissions you will have problems.
Finally we verify that postfix uses procmail our wrapper and not in a direct manner:
sudo nano / etc / postfix / main.cf
ensure that there is the following directive:
mailbox_command = / usr / bin / procmail-wrapper-o-a $ DOMAIN-d $ LOGNAME
Posted by: admin (Tue 14) To enable support PCNTL in php5 (tested on Ubuntu 10.10) in the first place you need to install php5-cli php5-dev, and, of course you must satisfy all the dependencies required by the system:
# Sudo apt-get install php5-dev php5-cli
After we have to put in the path where you can find the source of the module you intend to compile:
# Cd / etc/php5/cli/php5-5.3.3/ext/pcntl
The path may be different, depending on the distro and version of php (/ etc/php5/cli/php5-xxxxx/ext/pcntl). But after we go to the final steps:
# Phpsize
#. / Configure
# Make
# Make install
Alternatively you can also make install to copy by hand the module you just compiled:
# Cp modules / pcntl.so / usr/lib/php5/shared_location_modules
Finally add the. Php ini to load our form to:
# Echo "extension = pcntl.so"> / etc/php5/conf.d/pcntl.ini
Do not forget to restart apache then to apply our changes:
# / Etc/init.d/apache2 restart
If Ubuntu Server after you install and configure webmin + VirtualMIn there appears the error:
The procmail procmail command has 0 permissions, When It Should Be setuid and setgid to root. Email delivered or not may be properly checked for spam.
You can fix by following these steps:
- Make sure that the postfix configuration file / etc / postfix / main.cf contains the following line:
mailbox_command = / usr / bin / procmail-a "$ EXTENSION"
if it appears: mailbox_command = procmail-a "$ EXTENSION" should be amended with the absolute path as above. - Change the group membership of / usr / bin / procmal from "mail" to "root." Chgrp root / usr / bin / procmail
- Finally, set the following permissions procmail executable: chmod 6755 / usr / bin / procmail
Here are some links from which to get ideas for a better series, but in my case these three steps have solved the problem, tested on Ubuntu Server 10.04 and 10.10.
https://www.virtualmin.com/node/9426
http://www.virtualmin.com/node/8790
Published in: linux , tips , ubuntu , www Posted by: admin (Tue 15) As with the older windows, even in Linux distributions, in our case we take Ubuntu for example you can add fonts (fonts) so easy.
from the terminal just type the command:
sudo nautilus / usr / share / fonts / truetype /
Remember that for any distribution must replace Nautilis your file manager like Dolphin for Kubuntu. After you copy the true type fonts in this location, you can also put the sub directories to better organize your fonts you need to start refreshing cache fonts with the command:
fc-cache-f-v
You're done, simply re-open the application you want to use the fonts in our interest.
Published in: linux , shell , tips , ubuntu Posted by: admin (May 16) Needless to say, many have already made the leap to version 8.04 of Ubuntu, so this little tips will be useful for users of VMWare and in particular users through the VMWare Server Console. Who tried to install the Console has encountered problems in all probability not find libraries at launch the application:
$ Vmware-server-console
/ Usr / lib / vmware-server-console / bin / vmware-server-console:
/ Usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0:
No version information available (required by / usr/lib/libcairo.so.2)
/ Usr / lib / vmware-server-console / bin / vmware-server-console:
/ Usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1:
GCC_4.2.0 version `'not found (required by / usr / lib / libstdc + +. so.6)
/ Usr / lib / vmware-server-console / bin / vmware-server-console:
/ Usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0:
No version information available (required by / usr/lib/libcairo.so.2)
/ Usr / lib / vmware-server-console / bin / vmware-server-console:
/ Usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1:
GCC_4.2.0 version `'not found (required by / usr / lib / libstdc + +. so.6)
/ Usr / lib / vmware-server-console / bin / vmware-server-console:
/ Usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0:
No version information available (required by / usr/lib/libcairo.so.2)
/ Usr / lib / vmware-server-console / bin / vmware-server-console:
/ Usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1:
GCC_4.2.0 version `'not found (required by / usr / lib / libstdc + +. so.6)
Can be solved easily with the following commands:
$ Sudo ln-sf / usr/lib/libpng12.so.0
/ Usr/lib/vmware-server-console/lib/libpng12.so.0/libpng12.so.0
$ Sudo ln-sf / usr/lib/libgcc_s.so.1
/ Usr/lib/vmware-server-console/lib/libgcc_s.so.1/libgcc_s.so.1
Link to original source
Posted by: admin (Nov 16) The system not yet officially released is in direct competition with Microsoft Windows Home Server which we discussed some time ago and will allow users to share multimedia files (photos, music, movies, etc..) Easily and quickly, making the station accessible from both the home network and the Internet. The idea originated from the Ubuntu community, and although not yet officially supported by Canonical idea we find it apt. Read piùfai click here . Published in: linux , ubuntu , www Posted by: admin (set 27) On Ubuntu, Debian, but there is also a handy Python script youtube-dl. After making sure that you have installed the package just type the following link to the movie itself. The video is saved in. Flv, already viewable, but for those who want to just call with the appropriate parameters for ffmpeg to convert the video into a format DivX or XviD.
In summary:
# Sudo apt-get install youtube-dl
# Youtube-dl http://www.youtube.com/watch?v=TsNBs-iF590
# Ffmpeg-vcodec xvid-i video.flv-acodec mp3 video.avi
Optional but useful options for the conversion of the video:
-B video bitrate (default = 200)
-Ab audio bitrate (default = 64)
-Ar sample rate (default = 44100)
-S frame size (default = 160 × 120)
Published in: linux , tips , ubuntu In this post we found an interesting article that helps us understand how to customize the image. ISO of Ubuntu. Every need is good, the sysadmin who wants their picture to streamline the work of everyday people who want to add or remove paccketti and functions of the Linux box.
Published in: linux , tips , ubuntu A richeista a player where we present here the link to download the package del'editor NVU web pages. NVU is a visual editor that allows beginners and those who want to set up a web page quickly to prevent the acquisition of detailed html language. The code generated by NVU is not quite as clean as they would like professionals, but it is not bad as some commercial visual editors.
The link to download the package for Ubuntu Edgy is here . For a screenshot of the program, click here . Published in: development , ubuntu It 'came the alpha release of Ubuntu 7.10 (code name Gutsy Gibbon). Those of Ubuntu are working hard to introduce enhancements and new features. Among the main changes:
- Gnome 2.19.2
- Graphical tool to configure the X server.
- Filesystem NTFS write support enabled by default.
- 2.6.22-6.13 kernel (2.6.22-rc3-based) dynticks enabled by default to reduce energy consumption on laptops and notebooks.
- New wireless stack that will allow improved performance and management of drivers easier.
- Friendly recovery, Deputy spartan spartan interface of the recovery mode.
- Improvements in the search for audio / video codecs.
- New drivers supported by the kernel.
- Improved debugging and error messages.
To learn more click here . Published in: linux , ubuntu