|
133 | mysql soft link a database | # cd /var/lib/mysql
# ln -s /idisk/www/mysql/m_db
edit the file /etc/apparmor.d/usr.sbin.mysqld
restart apparmor:
# /etc/init.d/apparmor restart
add a new line contends:
/idisk/www/mysql/** rwk,
now you can use every database in /idisk/www/mysql
|
|
132 | Network dns search | edit file: /etc/NetworkManager/system-connections
in entry [ipv4]:
[ipv4]
method=manual
dns=130.92.9.53;130.92.9.52;
dns-search=unibe.ch;
addresses1=130.92.139.74;24;130.92.139.1;
ignore-auto-routes=false
ignore-auto-dns=false
dhcp-send-hostname=false
never-default=false
|
|
131 | JOOMLA error loading feeds | Para quitar el mensaje, hay que acceder al gestor de módulos - pestaña "administración".
despublicar "Joomla! Security Newsfeed" |
|
130 | Network wireless USB Adapter Edimax EW-7711UMn | For Karmic (ubuntu 9.10), add "blacklist rt2800usb" to /etc/modprobe.d/blacklist.conf and reboot system
https://help.ubuntu.com/community/HardwareSupportComponentsWirelessNetworkCardsEdimax |
|
129 | vmware-installer-6-5-3 |
Man braucht 2 Konsolen:
In der ersten führt man folgendes aus:
sudo -i
while true; do killall -9 vmware-modconfig-console; sleep 1; done
In der zweiten startet man den Installer:
sudo ./VMware-Workstation-6.5.3-185404.x86_64.bundle --ignore-errors
Nach der Installation stopt man den Befehl in der ersten Konsole mit “Strg+c” und führt folgendes aus:
vmware-modconfig --console --install-all |
|
128 | Network-manager resolv.conf | It is really simple. Edit /etc/dhcp3/dhclient.conf and add the following line in there:
prepend domain-name "unibe.ch"; |
|
127 | synology | PATHS
Datenbank mysql
----------------
/volume1/@database/mysql
web page
--------
/volume1/web
mysql comands
-------------
/usr/syno/mysql/bin
|
|
126 | mysql start daemon problem | Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
This message usually means that networking option is disabled in my.cnf file. To fix this: go to /etc/mysql/my.cnf, comment out the configuration item of skip-networking, then restart your mysql server.
/etc/mysql/my.cnf
#bind-address = 127.0.0.1
|
|
125 | aptitude Uninstalling apps | $ sudo aptitude --purge remove program_name |
|
124 | Networking Configuration Using Command Line | disable NetworkManager permenently
----------------------------------
$ sudo update-rc.d NetworkManager remove
That will take it out of the system startup. If you truly want to remove it you can
$ sudo apt-get remove NetworkManager
Configuring Static IP address for your network card
---------------------------------------------------
eth0 renamed to eth1, eth2, eth3, ... in domU
Evidently the gutsy domU, noticing that eth0 had a different MAC address than the "saved eth0 MAC address", assigns a brand new eth# and saves the MAC address with the new interface number.
Solution:
1. Edit /etc/udev/rules.d/70-persistent-net.rules in the domU.
2. Remove dynamically generated lines.
3. Add:
SUBSYSTEM=="net", DRIVERS=="vif", ATTRS{nodename}=="device/vif/0", NAME="eth0"
4. Shut down the domU and restart it.
If you want to configure Static IP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card
sudo vi /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
After entering all the details you need to restart networking services using the following command
sudo /etc/init.d/networking restart
if you don't see lo in ifconfig do:
# ifup lo
Setting up Second IP address or Virtual IP address in Ubuntu
If you are a server system administrator or normal user some time you need to assign a second ipaddress to your Ubuntu machine.For this you need to edit the /etc/network/interfaces file and you need to add the following syntax.Below one is the only example you need to chnage according to your ip address settings
sudo vi /etc/network/interfaces
auto eth0:1
iface eth0:1 inet static
address 192.168.1.60
netmask 255.255.255.0
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
You need to enter all the details like address,netmask,network,broadcast and gateways values after entering all the values save this file and you need to restart networking services in debian using the following command to take effect of our new ipaddress.
After entering all the details you need to restart networking services using the following command
sudo /etc/init.d/networking restart
Setting your ubuntu stytem hostname
Setting up your hostname upon a ubuntu installation is very straightforward. You can directly query, or set, the hostname with the hostname command.
As an user you can see your current hostname with
sudo /bin/hostname
Example
To set the hostname directly you can become root and run
sudo /bin/hostname newname
When your system boots it will automatically read the hostname from the file /etc/hostname
If you want to know more about how to setup host name check here
Setting up DNS
When it comes to DNS setup Ubuntu doesn’t differ from other distributions. You can add hostname and IP addresses to the file /etc/hosts for static lookups.
To cause your machine to consult with a particular server for name lookups you simply add their addresses to /etc/resolv.conf.
For example a machine which should perform lookups from the DNS server at IP address 192.168.3.2 would have a resolv.conf file looking like this
sudo vi /etc/resolv.conf
enter the following details
search test.com
nameserver 192.168.3.2 |
|
123 | samba | http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/index.html
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
|
|
122 | swat | http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/index.html
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/SWAT.html
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
|
|
121 | apt-get update. | # dpkg --configure -a
# apt-get update |
|
120 | SLC DNS settings | # in /etc/sysconfig/network-scripts/ifcfg-eth0 like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
DNS1=130.92.9.53
DNS2=130.92.9.52
DOMAIN=unibe.ch cern.ch
|
|
119 | screen settings | $ xset -q
$ man xset |
|
118 | Trash in /idisk for delete files | # mkdir /idisk/.Trash-1000
chown martinez:1000 /idisk/.Trash-1000/ |
|
117 | JOOMLA Install Pach | Copiar con rsync
-----------------
# cd /idisk/Joomla/Origins/
# rsync -alrv Pach_1.5.9_to_1.5.10/Joomla_1.5.9_to_1.5.10-Stable-Patch_Package/ /idisk/Joomla/joomlaCarmen |
|
116 | Adobe Flash plugin für Firefox unter Ubuntu 9.04 und 9.10 installieren | cmdln:
1.) unter http://get.adobe.com/de/flashplayer/ das paket .deb für Ubuntu 8.04+ auf Desktop speichern
2.)sudo apt-get remove --purge flashplugin-nonfree
3.) cd /home/spegu/Desktop/
4.)sudo dpkg -i install_flash_player_10_linux.deb
5.) Firefox neu starten
6.) about:plugins in Adresszeile eingeben und Installation überprüfen
7.) Unter http://www.adobe.com/de/software/flash/about/ Flash Player überprüfen.
How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04
--------------------------------------------------------
Download it from :-http://labs.adobe.com/downloads/flashplayer10.html
Unpack the archive and copy the only file (libflashplayer.so) to the Firefox plugins folder in ‘/usr/lib/firefox-addons/plugins‘ :-
Für ubuntu 10.4
# export http_proxy="http://proxy.unibe.ch:80"
# apt-get install flashplugin-installer
Si esto no va
visit:
https://help.ubuntu.com/community/AMD64/FirefoxAndPlugins
# wget http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p1_64bit_linux_091510.tar.gz
# tar xvfz flashplayer_square_p1_64bit_linux_091510.tar.gz
# sudo mv libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
# ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/mozilla-firefox/plugins/
|
|
114 | ROOT-Cern installation | get the sources of the latest ROOT
----------------------------------
http://root.cern.ch/drupal/content/downloading-root
----------------------------------
see
http://root.cern.ch/drupal/content/build-prerequisites
----------------------------------
instal gcc und c++ compilers
----------------------------
instal:
subversion
dpkg-dev
make
g++
gcc
binutils
libx11-dev
libxpm-dev
libxft-dev
libxext-dev
apt-get install subversion dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
----------------------------
sudo ln -s /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 /usr/lib/libX11.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libXft.so.2.2.0 /usr/lib/libXft.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 /usr/lib/libXext.so
----------------------------
$tar xvzf root._version.tar.gz
$cd root
./configure
Linux Mint 12 Lisa:
edit file configure
# enable_asimage \ disabled by L.Martinez
options=" \
enable_afdsmgrd \
enable_afs \
enable_alien \
enable_alloc \
enable_astiff \
enable_bonjour \
----------------------------
make
----------------------------
# mkdir /usr/local/bin/cern
# cp -r root /usr/local/bin/cern
set ROOTSYS to the `root' directory in /etc/profile:
-------------------------------------
export ROOTSYS=/usr/local/bin/cern/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
" |
|
113 | scanner Agfa e52 | Down load driver scape52.bin
-----------------------------
copy it to /usr/share/sane/snapscan/
-----------------------------------
edit /etc/sane.d/snapscan.conf
------------------------------
firmware /usr/share/sane/snapscan/snape52.bin
/dev/usb/scanner0 bus=usb
make node for scanner
---------------------
mkdir /dev/usb (if not exists)
mknod /dev/usb/scanner0 c 180 48
|