How to change the domain name of your linux box.
Archives
All posts by Paul
Summary of Roles
- Super Admin – somebody with access to the site network administration features and all other features. See the Create a Network article.
- Administrator – somebody who has access to all the administration features within a single site.
- Editor – somebody who can publish and manage posts including the posts of other users.
- Author – somebody who can publish and manage their own posts.
- Contributor – somebody who can write and manage their own posts but cannot publish them.
- Subscriber – somebody who can only manage their profile.
GNU Screen is an often overlooked application which allows you to run programs in a console section, detach from them and then later resume them. They even keep running when you logout.
SELECT * FROM tablename
WHERE columname BETWEEN '2012-12-25 00:00:00' AND '2012-12-25 23:59:59'
Example of etching data with a between statement
Type the following ps command to display all running process:
# ps aux | less
Where,
- -A: select all processes
- a: select all processes on a terminal, including those of other users
- x: select processes without controlling ttys
When creating new folder/directories in the /var/www folder you will need to make sure the Apache2 service has read access.
In my limited experience this the user/group is www-data
You can change the owner of a folder using the “chown” command
Chmod is used to change the permission for the current owner, group and other
Chown is used to change the owner, group and other
Permissions
u – User who owns the file.
g – Group that owns the file.
o – Other.
a – All.
r – Read the file.
w – Write or edit the file.
x – Execute or run the file as a program.