You're eligible for a big discount on our blogging software! Only $3.95 a month!
[Continue] Cancel... where the "Continue" button adds the add-on to your account and "Cancel" is what you need to go on with your order. I think this is borderline fraud, but as far as I know nobody's been shut down or fined for it. For contrast, there are a lot of really good community-oriented and Open Source-friendly hosting services out there, like Montreal's Koumbit. They'll usually be able to devote more time and energy to individuals' technical needs. Often, though, small companies and community groups can't get the same economy of scale and thus price level to compete with the big guys. Of course, what you usually trade away for that $0.75 a month is any customer service or friendliness or control of your own site. The big guys are organized around selling hard to inexperienced people on price, then ignoring their requests for help and treating them like idiots for asking until they go away. Getting help with real problems like server downtime or misbehaviour can be as humiliating as having someone explain what "Cut", "Copy", and "Paste" mean, and probably get you as many over-the-phone eye roll pauses. "My Web site is down!" <eye roll> "Did your AOL Chat window get in front of your browser window, sir?" I think the best option for people is to look around, find a group or company that has a price you can live with and business practices that don't turn your stomach, and give them a try. Make frequent local backups of your site, and be ready to leave if you need to. tags: web hosting community comparison customer service
add,
todist and tostats, which are somewhat special purpose and which turn
out to already be mostly implemented in the numutils package. And I'm
also fairly comfortable with Lars's and my decision to not include mime,
which is similar to File::MimeInfo's mimetype program, if only because
implementing that requires a lot of code or a long dependency chain.
The decision is harder for things like shuffle/unsort, which both fill
in the gap of a file randomisation tool. There already are packages in
Debian (bogosort and randomise-lines) that provide this functionality.
Another example is srename, which is similar to the rename program hidden
in perl, which is insanely useful and rather underused.
It's also tricky since I could well be missing existing tools that overlap
with moreutils. For example I just learned of the renameutils package,
which contains a qmv. That is close to the same thing as vidir, although
limited to filename removals (no deletions), and rather more complex, with an
interactive command line mode. I've decided that it's worth keeping vidir
despite this, if only for the delation support and the possible broader
scope later, but it does point to a more general issue.
I've already concluded earlier that:
Maybe the problem isn't that no-one is writing them, or that the unix toolspace is covered except for specialised tools, but that the most basic tools fall through the cracks and are never noticed by people who could benefit from them.One way that tools fall between the cracks, after all, is by being spread amoung lots of little obscure packages like File::MimeInfo, bogosort, randomise-lines, odd corners of perl, mmv, renameutils, etc. You might know about some of these packages, but you probably didn't know about all of them -- I know I didn't. I suspect that the authors of some of them didn't know about others and duplicated work. A single package that collected good generic, consistent, and simple implementations of tools, even if some of them were not unique to it, could benefit from getting more attention than lots of small packages like those, and both help users find out about these tools as well as focus development energy on them to make them better. So which is more important, focusing on collecting and writing unique tools or promoting slightly less unique tools?
Today, Spain remembers the beginning of the end.
During the evening of the 17th of July and morning of the 18th, a group of
generals of the Spanish regular army raised against the democratically elected
left-wing government of the Republic. History says that the murdering of
Calvo-Sotelo, a right-wing leader, was what finally provoked the conflict.
It was no secret that the same right-wing and some elements in the army had
been conspiring for weeks about an uprise. The only question was when,
but the government was fooled by general Mola and didn't take really effective
measures to prevent it.

Warning from sanitary authorities against venereal diseases
Mola and Sanjurjo planned to start taking over official buildings and army
quarters and quickly seize control of the major cities. During the first hours
of their rebelion, they managed to take over most of the southern regions in
Andalusia, Extremadura and parts of the Northwest, plus most of the islands
and the Moroccan protectorate area. Meanwhile, the Republic did not manage to
react quickly due to the weakness of the government, and in the first days
of the crisis, the government changed a few times. Finally, the Republican
parties decided that to defend the state they should give arms to the unions,
and soon after many militia groups were getting organised in the cities, and
columns sent off to liberate other towns.

Solidarity of Catalunya to the Basque front
The insurrection was suffocated in Barcelona after some heavy fighting
against the military in the Montju c castle; the Anarchists of the
CNT grew strong
in Catalunya and Arag n, and offered good resistance in those fronts.
After the first days of the coupe d'etat, it was clear neither the
legitimate government or the rebels calculated how things would go after the
first days. The government was confident in being able to end the rebelion
as they did four years before; the fascists thought they would have quickly
brought down the government with a successful coup. But after the first week,
the country was divided in two halves, and both sides of the conflict were
keen on fighting, due to the big social fracture during the last months of the
government.
The Republic asked for help to the League of Nations, but the
United Kingdom and France decided not to intervene, scared about the conflict
trespassing the Spanish borders and becoming another bloody war in European
fields. The only official external aid came from the USSR and the
International Brigades,
formed by volunteers of more than 50 nations. Some well-known personalities
like Ernest Hemingway or George Orwell came to aid as well. Orwell wrote about
his life-changing experience in a Barcelona immerse in the social revolution,
where he joined the anti-stalinist socialist party POUM. Badly wounded in the
neck, he left the front and went back to Barcelona, and witnessed the assault
of the Telef nica by the communists against the anarchists, during
the fets de maig, after which the POUM was declared illegal. Orwell
captured his experiences in the frontline and Barcelona in his book
Homage to Catalonia.

To defend Madrid is to defend Catalunya
Franco and Mola, aided by the Northafrican troops and soon after by their
fascist allies of Italy and Germany, didn't have big problems seizing
the Basque Country and Asturies in the North, but not before making the town of
Gernika disappear
below the nazi
Condor Legion bombing,
in what would be a test for the massive aereal bombings of Word War II.
The battle for Madrid was fierce, and the city wasn't occupied until the
very last days of the war. The long defence of the capital made was
immortalised in the famous phrase No pasar n.

Madrid's No pasar n
During the war, anarchist groups controlling fields and towns in Arag n and
Catalunya managed to bring a Social Revolution to the area. The people
collectivised the land and industries, administered by local assemblies. This
experience is regarded as the time when Libertarian Communism has been
successful. The experience ended dramatically when the anarchists were
treasoned and blocked by the communists, and eventually defeated by Franco at
the front.

Each bullet for a target
After the first and a half years, the fronts had stabilised in Madrid and
the East of Andalusia, until early in 1939, Barcelona fell in Franco's hands,
after the bloody Batalla de l'Ebre, being followed by Girona and the
rest of Catalunya. The fate of the democratic state was clear. Two months
later, Madrid fell and Val ncia and the small area still under Republican
control surrended.

Robert Capa's Muerte de un miliciano
Franco declared a totalitarian regime to, according to the fascists,
reconcile the two Spains. In the first five years of the regime, up to
100.000 were executed in the franquist repression, including the Catalan
president, Llu s Companys and many intellectuals. The dictatorship continued
executing people until two months before Franco's death, 36 years later.
Hundreds of thousands also had to exile in M xico, France and other
destinations, leaving Spain in ashes, road gutters full of scattered bodies
and the population facing famine. The cultural elite left the country, making
the state's clock go back at least a decade. Their reconciliation really
meant humiliation and repression. Many people were also murdered during the
war behind republican and rebel lines, but the genocide of the aftermath had
was unmatchable.

The Republic promoted education among the troups
It is a bit late to restore the dignity of the victims, but not
too late. Some associations have been fighting since the end of
Franco's regime to get some kind of public recognition for their suffering,
for their priceless fight for the legal and democratically elected Republic,
for the people who didn't make it.

Excellent anarchist poster rejecting the politisation
of children by any of the three loyal groups
Other people reject these efforts banning them of "revisionism". Not too
surprisingly, these are the sons or grandsons of the people who won the war.
The current government is about to pass a Historic Memory law which aims to
give recognition to all these people who gave their lives for an ideal and
freedom. Unfortunately, due to pressures from the right, it is probable that
the text will be ammended to make it more acceptable by them. I fear it will
end up not pleasing the victims at all.
I have a passion for Spanish Civil War related matters, and in the last
years I tried to use any opportunity to listen to my Catalan grandmother talk
about war affairs in Barcelona, and my grandfather, from a town in the middle
of the Republican side of the Teruel front, but born in a very catholic family,
about how the war went on in Vall and the nearby mountains.

From the defensive No pasar n to the encouraging Pasaremos!
I know my grandfather only told me the less compromising stories, like how
he was sent to dig refuges until he was 16 and apt to fight in the Front, or
how he was put in charge of hiding the church's valuable relics in a few
barns. He never told me about how life was after the war in the small town.
It is dramatic to see that all the people who were old enough to have a sense
of what was going on at the time are so old that these unvaluable memories and
stories will be mostly gone in ten years.
(Most of the pictures are taken from the
Sociedad Ben fica de Historiadores Aficionados y Creadores'
website, which has a huge documented catalog)
drwxr-xr-x 2 root root 38 2006-07-14
+- Is a directory
drwxr-xr-x 2 root root 38 2006-07-14
---
+- User permissions (u)
drwxr-xr-x 2 root root 38 2006-07-14
---
+- Group permissions (g)
drwxr-xr-x 2 root root 38 2006-07-14
---
+- Permissions for others (o)
drwxr-xr-x 2 root root 38 2006-07-14
----
+- Owner user
drwxr-xr-x 2 root root 38 2006-07-14
----
Owner group -+
Other bits:
The executable bit for directories means "can access the files in the directory". If a directory is readable but not executable, then I can see the list of files (with ls) but I cannot access the files. To access a file, all the directories of its path up to / need to be executable. Commands to manipulate permissions:
- 4000 Set user ID:
- For executable files: run as the user who owns the file, instead of the user who runs the file
- For directories: I think it's not used
- 2000 Set group ID:
- For executable files: run as the group who owns the file, instead of the group of the user who runs the file
- For directories: when a file is created inside the directory, it belongs to the group of the directory instead of the default group of the user who created the file
- 1000 Sticky bit:
- For files: I think it's not used anymore
- For directories: only the owner of a file can delete or rename the file
Example setup for a website for students:
- chown - change file owner and group
- chgrp - change group ownership
- chmod - change file access permissions
- sudo adduser enrico www-data adds the user enrico to the group www-data.
# Create the group 'students' mkdir /var/www/students chgrp students /var/www/students chmod 2775 /var/www/students # If you don't want other users to read the files of the students: chmod 2770 /var/www/students adduser www-data students (this way the web server can read the pages) # when you add a user to a group, it does not affect running processes: - users need to log out and in again - servers need to be restartedApache:
Apache troubleshooting:
To install apache2 without a graphical interface:
apt-cache search apache2 less sudo apt-get install apache2By default, /var/www is where is the static website.
By default, ~/public_html is the personal webspace for every user, accessible as: http://localhost/~user
By default, /usr/lib/cgi-bin contains scripts that are executed when someone browses http://website/cgi-bin/script
By default, apache reads the server name from the DNS. If we don't have a name in the DNS and we want to use the IP, we need to set:
ServerName 10.4.15.158in /etc/apache/apache2.conf (set it to your IP address)To access the Apache manual: http://localhost/doc/apache2-doc/manual/
http://localhost/doc/apache2-doc/manual/mod/mod_access.html The access control module
http://localhost/doc/apache2-doc/manual/mod/mod_auth.html The user authentication module
To edit a user password file, use:
htpasswd - Manage user files for basic authenticationExample .htaccess file to password protect a directory:
AuthUserFile /etc/apache2/students AuthType Basic AuthName "Students" Require valid-userInformation about .htaccess is in http://localhost/doc/apache2-doc/manual/howto/htaccess.html
If you need to tell apache to listen on different ports, add a Listen directive to /etc/apache2/ports.conf. Then you can use:
<VirtualHost www.training.aau.edu.et:9000> [...] </VirtualHost>To setup an HTTPS website:
Documentation is in http://localhost/doc/apache2-doc/manual/ssl/
How to create a certificate: http://www.tc.umn.edu/~brams006/selfsign.html
Create a certificate:
/usr/sbin/apache2-ssl-certificate -days 365Create a virtual host on port 443:
<VirtualHost www.training.aau.edu.et:443> [...] </VirtualHost>Enable SSL in the VirtualHost:
SSLEngine On SSLCertificateFile /etc/apache2/ssl/apache.pemEnable listening on the HTTPS port (/etc/apache2/ports.conf):
Listen 443
To install PHP
check that there are no errors in the configuration file:
apache2ctl configtestThis it is always a good thing to do before restarting or reloading apache.read logs in /var/log/apache2/
if you made a change but you don't see it on the web, it can be that you have the old page in the cache of the browser: try reloading a few times.
To install MySQL
apt-get install libapache2-module-php5
then by default, every file .php is executed as php code
Small but useful test php file:
<? phpinfo() ?>
To use MySQL from PHP:
apt-get install mysql-client mysql-server
for administration run mysql as root:
Create a database with:
create database studentsGive a user access to the database:
# Without password grant all on students.* to enrico; # With password grant all on students.* to enrico identified by "SECRET";More information can be found at http://www-css.fnal.gov/dsg/external/freeware/mysqlAdmin.html
apt-get install php5-mysqli php5-mysqlProblems found today:
- the apache2 manual in /usr/share/doc/manual can only be viewed using apache because it uses MultiView. So you need to have a working apache to read how to have a working apache.
- chmod does not have examples in the manpage.
Useful tip:
ifconfig - configure a network interface
dnsmasq - Simple DNS and DHCP server
host - DNS lookup utility
route - show / manipulate the IP routing table
arping - send ARP REQUEST to a neighbour host
mii-tool - view, manipulate media-independent interface status (IOW, see if the cable works)
nmap - Network exploration tool and security / port scanner Examples:
# Look at what machines are active in the local network: nmap -sP 10.5.15.0/24 # Look at what ports are open in a machine: nmap 10.5.15.26tcpdump - dump traffic on a network It can be used to see if there is traffic, and to detect traffic that shouldn't be there.
# Convert a unix timestamp to a readable date date -d @1152841341What happens when you browse a web page:
Troubleshooting network problems:
- type the address www.google.com in the browser
- the browser needs the IP address of the web server:
- look for the DNS address in /etc/resolv.conf (/etc/resolv.conf is created automatically by the DHCP client)
- try all the DNS servers in /etc/resolv.conf until one gives you the IP address of www.google.com
- take the first address that comes from the DNS (in our case was 64.233.167.104)
- figure out how to connect to 64.233.167.104:
- consult the routing table to see if it's in the local network:
- if it's in the local network, then look for the MAC address (using ARP - Address Resolution Protocol)
- if it'd not in the local network, then send through the gateway (again using ARP to find the MAC address of the gateway)
- Send out the HTTP request to the local web server or through the gateway, using the Ethernet physical protocol, and the MAC address to refer to the other machine.
When you try to setup a service and it doesn't work:
- See if the network driver works:
- With ifconfig, see if you see the HWaddr:. If you do not see it, then the linux driver for the network card is not working. Unfortunately there's no exact way to say that it works perfectly
See if you have an IP address with ifconfig. If you find out that you need to rerun DHCP (for example, if the network cable was disconnected when the system started), then you can do it either by deactivating/reactivating the Ethernet interface using System/Administration/Networking or, on a terminal, running:
# ifdown eth0 # ifup eth0If you don't get an IP, try to see if the DHCP server is reachable by running:$ arping -D [address of DHCP server]See if the local physical network works:
- With sudo mii-tool, see if the cable link is ok. If it's not, then it's a problem in the cable or the plugs, or simply the device at the other end of the cable is turned off.
- Try arping or ping -n on a machine in the local network (like the gateway) to see if the local network works.
- See if the DNS works:
Find out the DNS address:
cat /etc/resolv.confIf it's local, arping it
If it's not local, ping -n it
Try to resolve a famous name using that DNS:
$ host [name] [IP address of the DNS]Try to resolve the name of the machine you're trying to connect. If you can resolve a famous name but not the name you need, then it's likely a problem with their DNS.
If you use a proxy, see if the proxy is reachable: check if the proxy name resolves to an IP, if you can ping it, if you can telnet to the proxy address and port:
$ telnet [proxy address] [proxy port]you quit telnet with ^]quit.If you can connect directly to the web server, try to see if it answers:
$ telnet [address] 80If you are connected, you can confirm that it's a web server:GET / HTTP/1.0 (then Enter twice)If it's a web server, it should give you something like a webpage or an HTTP redirect.
dnsmasq:
check that it's running:
$ ps aux grep dnsmasqcheck that it's listening on the right port:
$ sudo netstat -lpcheck that it's listening from the outside:
$ nmap [hostname]check for messages in /var/log/daemon.log or /var/log/syslog
check that the configuration is correct and reload or restart the server to make sure it's running with the right configuration:
# /etc/init.d/dnsmasq restart
By default: works as a DNS server that serves the data in /etc/hosts. By default: uses /etc/resolv.conf to find addresses of other DNS to use when a name is not found in /etc/hosts. To enable the DHCP server, uncomment:Problems found today:dhcp-range=192.168.0.50,192.168.0.150,12hin /etc/dnsmasq.conf and set it to the range of addresses you want to serve. Pay attention to never put two DHCP servers on the same local network, or they will interfere with each others. To test if the DHCP server is working, use dhcping (not installed by default on Ubuntu). To communicate other information like DNS, gateway and netmask to the clients, use this piece of dnsmasq.conf:# For reference, the common options are: # subnet mask - 1 # default router - 3 # DNS server - 6 # broadcast address - 28 dhcp-option=1,255.255.255.0 dhcp-option=3,192.168.0.1 dhcp-option=6,192.168.0.1 dhcp-option=28,192.168.0.255
Quick start examples with tar:
- changing the name of the local machine in /etc/hosts breaks sudo, and without sudo it's impossible to edit the file. The only way to fix this is a reboot in recovery mode.
- dhclient -n -w is different than dhclient -nw
# Create an archive tar zcvf nmap.tar.gz *.deb # Extract an archive tar zxvf nmap.tar.gz # Look at the contents of an archive tar ztvf nmap.tar.gzQuick & dirty way to send a file between two computers without web server, e-mail, shared disk space or any other infrastructure:
# To send nc -l -p 12345 -q 1 < nmap.tar.gz # To receive nc 10.5.15.123 12345 > nmap.tar.gz # To repeat the send command 20 times for i in seq 1 20 ; do nc -l -p 12345 -q 1 < nmap.tar.gz ; done
Washington's Bavarian village, and seems to be part of the complete Seattle experience -- everyone around here has visited it at least once. The short description is that while the Bavarian theme is a bit of a gimmick, there's good hiking in the area and some good food (if you don't mind the touristy atmosphere).
Another craggy mountain with snow-spotted alpine meadows, thousand-foot waterfalls, and blankets of pine forest? You woke me up for THAT?But even by the standards of the Pacific Northwest, this is a scenic drive.
I can only please one person per day. Today is not your day. Tomorrow doesn't look good either., kitschy statues (women holding beer tables on their breasts), etc. However, while I see very little that's recognizably Bavarian in town, there are some stores with nice selections of work by local craftsmen and artists.
When I invented the Web, I didn’t have to ask anyone’s permission. Now, hundreds of millions of people are using it freely. I am worried that that is going end in the USA. … Yes, regulation to keep the Internet open is regulation. And mostly, the Internet thrives on lack of regulation. But some basic values have to be preserved. For example, the market system depends on the rule that you can’t photocopy money. Democracy depends on freedom of speech. Freedom of connection, with any application, to any party, is the fundamental social basis of the Internet, and, now, the society based on it.
Next.