Two Small Desk Organizers for Screen Sides (October 12, 2026)
English Français
Antre du Tryphon
Search

Unix

34 posts · Show all posts

Make an Apache2 SSL server more secure

Make an Apache2 SSL server more secure

June 3, 2015 · claude Unix Ubuntu Linux +2
These easy steps will improve significantly the security of your Apache2 SSL server. Edit your /etc/apache2/mods-enabled/ssl.conf file and replace the SSLProtocol, SSLCipherSuite and SSLHonorCipherOrder parameters with the following values....

Installing memcached to use it with php

Installing memcached to use it with php

February 13, 2015 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +6
Installing Memcached with php support in Ubuntu is a matter of a few steps: sudo apt-get install memcached php5-memcached sudo service apache2 restart You can test if memcached is active by running this command: echo "stats settings" | nc localhost...

Issues after upgrading to Ubuntu 14.04.1

Issues after upgrading to Ubuntu 14.04.1

September 7, 2014 · claude Unix Ubuntu Ubuntu 14.04
After upgrading to Ubuntu 14.04.01, I ran into two issues: One with Apache2 and one with Samba 4. Apache has been upgraded from 2.2.22 to 2.4.7. The content was no longer accessible. The site configuration directives Order, Allow and Deny such as...

How to rename a user in Linux

How to rename a user in Linux

May 20, 2014 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +4
Simply issue this command: usermod -m -d /home/new-account-name -l new-account-name old-account-name It creates the home directory if it does not exists. It also copy the stuff of the old user into the new user account.

How to use the command line to make the internal speaker beep

How to use the command line to make the internal speaker beep

March 1, 2014 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +2
Two simple steps: Install the beep utility. Executing beep on the command line will make the internal speaker beep. apt-get install beep Add pcspkr to /etc/modules to load it at boot time. You can load it manually by executing modprobe pcspkr

How to prevent SSHD to listen on an address family

How to prevent SSHD to listen on an address family

March 1, 2014 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +3
It is possible to control on which address family sshd will listen to. In /etc/ssh/sshd\_config, simply add AddressFamily any to listen to IPv4 and IPv6 addresses. This is the default. Alternatively, add one of these to listen only to IPv4 (inet) or...

How to assign a static IP address in Ubuntu

How to assign a static IP address in Ubuntu

February 22, 2014 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +3
Setting a static IP address in Ubuntu involves editing /etc/network/interfaces. If the interface is currently using DHCP, you will find these lines in the file. auto lan iface lan inet dhcp You will have to replace the above lines with a section that...

How to change the network interface name in Ubuntu 12/13

How to change the network interface name in Ubuntu 12/13

February 22, 2014 · claude Unix Ubuntu Linux +1
Two files need to be modified to change the name of a network interface in Ubuntu. For example, if you want to change eth0 for lan, simply change the NAME attribute from eth0 to lan in these files and reboot. Do not modify the KERNEL attribute. /etc/...

How to find duplicate files on Linux?

How to find duplicate files on Linux?

August 18, 2013 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +3
It is pretty straight forward in Linux, install fdupes. sudo apt-get install fdupes Type the following command to display the documentation man fdupes

Useful WiFi related commands

Useful WiFi related commands

July 29, 2013 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +4
iwconfig wlan0 up iwconfig wlan0 channel 1 iw reg get iw reg set JP ifconfig wlan0 hw ether de:ad:be:ef:c0:fe macchanger -r wlan0