/etc/apt/sources.listGreat, thanks.
My suggestion would be to direct all repository changes into separate files within /etc/apt/sources.list.d/ though and not to edit the /etc/apt/sources.list file.
useradd YOUR-Desired-User-Name
useradd alice
man adduser
passwd USER-NAME
passwd alice
mkdir Directory-Name-and-path
mkdir directory1
mkdir /path1/path2/path3/directory1
location /location.of.your.phpmyadmin.directory {
auth_basic "Staff Only";
auth_basic_user_file /usr/share/nginx/.htpasswd;
location ~^/location.of.your.phpmyadmin.directory/(.+\.php)$ {
fastcgi_index index.php;
include fastcgi_params;
fastcgi_pass balance;
try_files $uri /index.php;
}
}
nano /etc/apt/sources.list
# Debain Main Update
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb-src http://ftp.de.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
# Debain Main Update
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb-src http://ftp.de.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-backports main
deb http://backports.debian.org/debian-backports squeeze-backports main
apt-get update
apt-get upgrade
apt-get dist-upgrade
Since someone mentioned nginx, let me share my phpmyadmin - nginx configuration.
Put this on your server { ... } block.
Just for 1 files?Anyone have a working nginx config for securing /admin.php behind auth password (aka htpasswd)?
Just for 1 files?
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all
# Debain Main Update
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb-src http://ftp.de.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# Debian Backport
deb http://ftp.debian.org/debian/ wheezy-backports main
# Dotdeb.org
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
READ in FULL
The guide has been updated to support Debian 7, code named Wheezy. I've also included a small guide to help people upgrade to Wheezy (Debian 7).
For those of you who are going to upgrade, please keep the following in mind.
You're going to be doing a full OS upgrade. While this process is usually easy, there is always that small possibility that something...
- 1st BACKUP EVERYTHING. ! Important !
what are the files to be backed up to a dedicated server?1st BACKUP EVERYTHING.! Important !
Generally the files you want to backup are your sites files (and database).what are the files to be backed up to a dedicated server?
And how to restore the state from a backup?
Thanks for sharing that update (for those who use MariaDB).Just updraded. No major problems. Just one issue with MariaDB where apt-get dist-upgrade would want to remove MariaDB packages.
Not a big deal since we could reinstall it after. Then, once all upgraded, MariaDB could not be installed because of some dependencies.
After some research, I've found it seems there is some issue : https://mariadb.atlassian.net/browse/MDEV-3882 ; and the work-around (to install specific version of a lib) provided in the link has worked for me.
Except that, seems ok.
And finally
PHP:apt-get dist-upgrade
Reboot.
Done. Wasn't that easy?
apt-get autoremove && apt-get autoclean
I wouldn't.I would also suggestprior to reboot.PHP:apt-get autoremove && apt-get autoclean
Generally speaking, no.Do I need a DNS server?
We use essential cookies to make this site work, and optional cookies to enhance your experience.